Try this.

Go to line 193 in viewtopic.php which should be

<td><?php echo $lang_common['Pages'].': '.$pages ?></td>

Now change it to this

<td><span class="punpages"><?php echo $lang_common['Pages'].': '.$pages ?></span></td>

Finally, create a class in the stylesheet
SPAN.punpages {color:whatever}

And yes, others have had this problem.

This is a known IE bug. What happens is that when letter spacing is set the second <br> fails to render. If you have a look in Mozilla you should find that things works normally; at least they did when I tried it. I will have a look round the usual places and see if anybody has an easy fix for this.

You are right about the <br> tag and, I believe, they will be fixed for the next major release which will validate as XHTML.

EDIT.

Didn't need to look after all, just think. This is not particularly elegant as a solution but it does work.
Go to line 312 in parser.php and change it to this

$replace = array('<span style="letter-spacing:normal"><br></span>', '    ', '  ', '  ');

All this bit of code actually does is turn letter spacing off before the <br> tags are rendered and then it is turned back on again for the next line of text. You can also solve the problem using a non-breaking space but this will result in indented text.

You may have to make other adjustments in parser.php, infact wherever you see two <br> tags used. The method is the same in all cases though, just wrap them in a span which sets letter-spacing:normal.

2,628

(180 replies, posted in PunBB 1.2 troubleshooting)

AznCFrk wrote:

I think protecting my computer would be more important than protecting my forums.

Agreed. But there are far better ways of doing it that using Norton Internet Security. In any case, hiding the referrer isn't really a security issue, just a privacy one, and not very important at that.

From what I remember NIS allows you to set up rules for specific sites so it could be set up to allow referrer information for your forum but not for any other sites. I think it's under "Web Rules" somewhere.

2,629

(3 replies, posted in General discussion)

<object> is what you would use to embed a java applet which I assume is what we are talking about.

<embed> is depracated.

2,630

(15 replies, posted in PunBB 1.2 discussion)

"give you the brush off"

2,631

(7 replies, posted in PunBB 1.2 troubleshooting)

I tried looking at it last night but couldn't see anything wrong though it is always worth trying removing the doctype which for some unknown reason can screw up javascript.

What I did notice is that the javascript rollovers were unnecessary as exactly the same effect i.e. text changing colour could have been done with CSS just like PunBB.

cezarstan wrote:

no chance!
take a look at http://www.liceulelias.dap.ro

rest o the site is fine!

Nope. That link seems dead too.
Ah!. Now its back. Only took two minutes to load on a broadband connection. Somebody has some server problems methinks.

2,633

(7 replies, posted in PunBB 1.2 troubleshooting)

Something missing from body onload maybe? There is more chance of somebody working it out if you could post a link.

2,634

(15 replies, posted in PunBB 1.2 discussion)

You can find one example at least here
http://www.wicketts.com/

2,635

(15 replies, posted in General discussion)

I've still got the original vinyl. Trying to get LP's to fit a cd player is a real pig though

2,636

(15 replies, posted in General discussion)

God I feel old. I've seen most of those bands live, including the fondly remembered Skynard.

2,637

(8 replies, posted in PunBB 1.2 discussion)

Everything OK here today.

For how to centre things in IE5 using margin auto, see here.
http://punbb.org/forums/viewtopic.php?id=3100

I still find your problem with IE5Mac somewhat curious. I tried to duplicate it on a test board and couldn't, it looked just fine in IE5(Mac).

As for testing in IE5(Win), you could try here
http://www.danvine.com/iecapture/
Just tested it, it's centered in IE5(win) now but all the text is centred as well. You need to put text-align:left in #container to finish the job.

Netfeed wrote:

and dont rederict me to the templates cause they aint saying me anything

Unfortunately, that's the only anwer you are going to get. You have to edit main.tpl to include you own css box. You can do it in reverse if you really want to. Take a copy of your sites index page, rename it main.tpl and insert the appropriate parts of PunBB from the original main.tpl.

2,640

(7 replies, posted in PunBB 1.2 discussion)

Will this impact in any way where pages are cached remotely e.g. AOL users? I thought I read somewhere that AOL users would be forced to manually reload the page after the login redirect but that could be out of date information.

If you hadn't already realised, it doesn't work in IE5 windows either because the whole thing is left aligned not centered. IE5(Win) does not understand margin:auto. There are a lot more people out there using IE5(Win) than IE5(Mac).

As for the mac problem, it's an odd one. Try using the longhand for the margin settings i.e. margin-left:auto, margin-right:auto.

They have used images, specifically the are called corner-bottom-left.gif and corner-bottom-right.gif. You can do it without graphics. See here
http://theimposter.org/cascade/curve/

He is suggesting that you replace links with form buttons like the submit button. Not a good idea. CSS buttons/rollovers may be flakey but they can be added (or removed) by editing a few lines of the stylesheet if thats what the user wants. Form buttons are embedded in the markup so require editing the php files to remove them.

2,644

(6 replies, posted in PunBB 1.2 show off)

Just add another copyright notice
"All content and submitted material Copyright etc"

Some hosts won't even allow flat file databases because they hog the server too much.

Also take a look here
http://www.pixy.cz/blogg/clanky/cssinlinebuttons/
http://www.notestips.com/80256B3A007F2692/1/NAMO5LV2NN
http://www.gtmcknight.com/buttons/
http://www.sovavsiti.cz/css/w3c_buttons.html

You could try using descendant/contextual selectors. Put PunBB in a wrapper div with the class of "pun". Then change anything in PunBB's style sheet which is is not PunBB specific to have a prefix of .pun. For example A:link would become .pun A:link.

Not to mention that Invisionfree forums have compulsory advertising banners which you have to pay to have removed

2,649

(19 replies, posted in Feature requests)

There may be a hidden benefit to have a stylesheet generator. It will enable the stylesheet to be optimised and therefore smaller because it will not have to be easy for less experienced users to follow.

2,650

(19 replies, posted in Feature requests)

The Style Sheet Maker would be easy. Just create a template like main.tpl only make it a css file rather than a web page. Something like punconright {<mergehere>} etc. Create a web form to enter appropriate values and then merge to a file which can be previewed and downloaded.

As for private messaging. I have never understood its purpose. A BBS should be either for providing an information resource or for building a community. Either way PM seems to defeat the whole object. If people realy want to communicate privately, send an email.