1

(3 replies, posted in PunBB 1.2 troubleshooting)

Soo..  does anyone know what i'm doing wrong here?

2

(3 replies, posted in PunBB 1.2 troubleshooting)

Heres what im adding to base.css:
ul.post-list, li.post-list { list-style: disc }

heres the html:
<ul class="post-list">
<li>Punkt ett<br /></li>
<li>Punkt två<br />
punkt tvås andra rad<br /></li>
</li>Punkt tre<br /></li>
<li>Punkt fyra<br /></li>
</ul>

and i get no dots in front of them...

3

(3 replies, posted in PunBB 1.2 troubleshooting)

Okay, so I have some phpcode to translate BBcode to hotml lists (<ul><li>x</li></ul>), now it seems like the stylesheets in PunBB destroys lists, but even though i try to add my own style rule for these lists it just wont work, the lists wont show.

4

(18 replies, posted in Feature requests)

I did this for 1.1.x, actually. And i doubt it is too hard to make/port for 1.2.x (I dont use 1.2.x though, so I dont know)

Here are the diff-reports for it (reports generated by 2 diffrent programs):
viewtopic.php: 1 2
post.php: 1 2

5

(5 replies, posted in PunBB 1.2 discussion)

Well, that is not needed in PHP 4.2..  plus i use it at another place without seeding and there it gives different results.

6

(5 replies, posted in PunBB 1.2 discussion)

Thanks for the tip, didnt know Mersenne Twister was implented..
It didnt help though :\

7

(5 replies, posted in PunBB 1.2 discussion)

When i do rand() or array_rand() in the parser.php it always returns the same thing (atleast in a single post)

example: if i replace [num] with rand(0, 9) this: [num][num][num][num] will return something like 6666 or 8888 or maybe 1111, never different numbers.
Is this possible to "fix" ?

Oh..  well, i dont really see a problem in just removing it for guests, maybe have every user be able to choose three things
- Never show
- Show for registered members only
- Always show

Rickard wrote:
Myran wrote:

Depends on the person, if they have much time to spend and know their stuff they probably prefer a series of smaller apps where they can choose what they want themselves. But for people with little knowledge or little time to spend on it a big one is probably much better.

You're probably right. Next question: Which of these audiences does PunBB target? big_smile

Right now the first one, but i dont think you should alienate the other one.

Or displaying them as images for guests? That would increase server-load though.. maybe a very simple scrambling thing in javascript that unscrambles it on onLoad (maybe the robots can handle that, but probably not)

Rickard wrote:

That's true, but the question is, do people want an all-encompassing product that is capable of everything or do they want a series of smaller apps that integrate with ease and efficiency?

Depends on the person, if they have much time to spend and know their stuff they probably prefer a series of smaller apps where they can choose what they want themselves. But for people with little knowledge or little time to spend on it a big one is probably much better.

Change font-size to larger and the column to the right will move to the bottom of the page.

I think its a good idea..  then i wont have to redo all the work i did for my site when 1.2 comes smile I still use 1.1.1, hehe (although with a few of the fixes)..

14

(38 replies, posted in PunBB 1.2 discussion)

http://www.dr-code.org/diffreport.htm
Its a rip-off of hdiffs layout and colors, layout-wise i am not sure what could be changed since that is pretty much how it should be..  the colors are easily changed in the css at the top of the page

15

(38 replies, posted in PunBB 1.2 discussion)

Aha, yeah..  that first program i used does have support for it.

16

(38 replies, posted in PunBB 1.2 discussion)

Hm, okay..
The GNU diff, what is that?

17

(38 replies, posted in PunBB 1.2 discussion)

Rickard wrote:

The output has to be 100% compatible with GNU diff (the industry standard). That's the good thing about hdiff (it calls diff and reformats the output).

The html output or is it some other file? That program i used first has a bunch of different formats on the output..

18

(38 replies, posted in PunBB 1.2 discussion)

Connorhd wrote:

sorry to double post but i found this http://www.arstdesign.com/articles/difftool.html only does html output but looks very nice, especially in IE and alright in FF

Pretty nice, the formating is nice, but the diff engine is kinda bad, if you have a long text and change something in the beginning and end it thinks the whole thing is edited, not just parts..

Same files, but the other program generated them:
post.php viewtopic.php

19

(38 replies, posted in PunBB 1.2 discussion)

Hm, well..  i cannot argue with that, hehe..
I'll take a look on the customization things and see if its possible to make it look better. The program itself looks great so its strange the output looks so bad.

20

(38 replies, posted in PunBB 1.2 discussion)

Rickard wrote:

Myran: But how does the HTML output look?

Like the two links in my post smile
It can be customized though..

This is for quoting multiple persons at the same time without having to go through a lot of trouble doing so, example here: http://www.dr-code.org/forums/viewtopic.php?id=202 (if there is no posting turned on in the sample you are simply too late and i turned off guest posting again)


Okay, so here are the two diff output files for the mod:
post.php viewtopic.php
Doing those changes should add the mod to your forum, and it does probably not break everything else. Maybe.

Edit-
Other diff-formatting:
post.php viewtopic.php

22

(38 replies, posted in PunBB 1.2 discussion)

Heres the mod:
post.php viewtopic.php
Is that okay, or do I need to write something?
Also, it would be great to hear if it actually works..  im not sure i uncluded everything in the diff (i removed other changes i have made, so i might have removed too much)


Rickard: I found one, its really damn good too:
http://www.grigsoft.com/wincmp3.htm
It seems you can buy it though, but i dunno if any features are locked with the unregistered version...  maybe its 30 days only or something like that.

23

(38 replies, posted in PunBB 1.2 discussion)

Pretty bad..  I cannot believe there is only a single diff program that can output decent HTML differance files, and that one is only written in pearl...
How the hell can all the diff-programs just skip adding decent html output? I am not going to write one myself just for this.

24

(38 replies, posted in PunBB 1.2 discussion)

Fredrik wrote:

I would definately use it. You're not the first to make this mod, but the dude who made it earlier didn't update it for 1.1 so I would be glad if you put this thing up as a mod. smile

Okay, I guess ill release it then. Really? I didnt find anything when i searched, i would have prefered to just download his and maybe change it a bit then to make it from scratch..  didnt really matter that much now since its a so small mod, but still.
I think my forum is mainly 1.1.1 so maybe 1.1.5 has some changes, maybe i need to install it :\

25

(38 replies, posted in PunBB 1.2 discussion)

Thanks, yeah, the whole thing is pun.

Edit-
Err.. the problem was not in my code..  i just hadnt turned on posting for guests and when in firefox i hadnt logged in..
Great, 1 1/2 hour wasted tongue

Oh, well, is there any interest at all in this mod?