The reason is that given by Smarty's.  Specifically a screen reader will voice strong and em tags with emphasis but will completely ignore bold tags. Having said that PunBB 1.2 uses strong too much and actually uses it when all thats required is a visual effect. The only place where a bold tag would be appropriate though is for bbcode but even then we really need bbcode for strong as well as bold. To use it anywhere else suggests that text should be styled in a particular way which might not be the case with some styles. A purely visual alternative to strong and em would actually be span rather than bold or italic tags. Its not just about validity its also about semantic  markup. Keeping page weight to a minimum is fine but not if it means reducing semantic value.

827

(6 replies, posted in PunBB 1.2 discussion)

main.tpl is in the include/template folder.

828

(4 replies, posted in PunBB 1.2 show off)

Nice site particularly the banner. Best of luck with the membership drive.

Why should he use the edit button, he was replying to a new post by Elzar, using edit wouldn't have made sense. There, now you have a free bump smile

830

(68 replies, posted in PunBB 1.2 discussion)

There is not much chance of image verification being a standard feature, not if I have anything to do with it.

831

(6 replies, posted in PunBB 1.2 discussion)

If you want to remove the border from the whole of the header section using css then thats easy. Just put this in your stylesheet somewhere
#punwrap #brdheader div.box {border: none}

If you just want to remove the border around the logo then it would be simpler to alter the markup as in this case the markup you need is in the template file main.tpl so you can just alter it and then style it however you like. There is a css way of doing it without actually removing the border. You just use a 1px negative margin on the logo container so it overlaps/covers the border

Don't assume that everything you want is in the css file. The stylesheet only uses what the default styles need. You have to add your own stuff if you want to do more than just play about with colours.

NOTE: If you do what Quaker says all that will happen is that the tables will end up with black internal borders.

Actually its viewforum.php you need to alter. Just put a counter on the loop that outputs the rows and then use the modulus operator to assign a class to the alternate rows. Sticky rows already have a class on them which is "isticky".

If you want to alternate the colour of posts in viewtopic then they already have classes rowodd and roweven assigned to alternate posts which can be used to set the background colours.

tolano wrote:

Am I right?

Nope.

The variable is $page_title. Here is the relevant line from viewforum as an example

$page_title = pun_htmlspecialchars($pun_config['o_board_title'].' / '.$cur_forum['forum_name']);

You can see all you have to do is reverse the order of the variables. Trouble is you do need to do it for each php file.

First, your login form doesn't seem to have a closing </form> tag. Second, the login form uses the same names for inputs that are already being used by the registration form e.g. req_username which could be causing a problem. What I think is happening is when you submit the registration form it also acts as the submit for the login thereby triggering the error message because the login username has not been filled in. The effect of the missing </form> tag is to make it appear that the registration form and any other forms are nested inside the login form so try putting in the closing tag before anything else.

Just a thought but what would be really useful is if we could establish a pool of testers using different browsers. It would certainly be useful for PunBB beta testing but it might also be useful for other people as well.

I install all the browsers I can, currently
IE6
Firefox 1.5
Mozilla 1.7 (this also duplicates pretty much what you would see in Firefox 1.0.x)
Opera 8.5
Opera 9 Beta

I also test in IE7 last of all as that involves replacing IE6 and then reinstalling it. You used to be able to run standalone versions of IE5 and IE5.5 but that got screwed by a recent IE security patch.

For Mac testing, if you don't know anybody who can test for you then sign up for a free trial at BrowserCam.

EDIT
There is also a free Safari tester here
http://www.snugtech.com/safaritest/

Almost right. The green part is also the left border of postleft.

839

(10 replies, posted in PunBB 1.2 troubleshooting)

Don't use <center>. That something from way back in the 20th Century. Its not valid XHTML and as far as I know was actually deprecated in HTML 4.01. Just use the stylesheet like quaker said. To vertically position the board title just add some top padding to it.

Wrong forum. Moving.

Before this conversation goes any further, this has been requested/discussed before.

The short answer is no. You can only have one background image per tag. If you want multiple background images then you will have to set them as the background for different tags, position them appropriately and set them not to repeat. The one glitch is the images will overlap.

843

(10 replies, posted in Feature requests)

pogenwurst wrote:

CTRL-F?

Works for me everytime. Why duplicate whats already there.

http://punbb.org/forums/viewtopic.php?id=7181

845

(34 replies, posted in News)

Well its already lasted 1 year and 2 months since this topic was actually alive and kicking.

The tab order has been sorted out in the next version and now relies on source order i.e. no use of tabindex.

There are four columns. The icon is in the forum column. The trick with doing any styling is to hit view source on the page before you look at the stylesheets or the php files. If you do that everything should become obvious.

848

(6 replies, posted in PunBB 1.2 discussion)

TheSavior wrote:

what do you mean they aren't images, they have to be images the 12 by 12px blocks that look like a pyramid. You can't make that with css can you? That image must be stored somewhere, right?

Wrong. PunBB doesn't use any images. Take a look here to see how its done.
http://www.infimum.dk/HTML/slantinfo.html

849

(3 replies, posted in PunBB 1.2 discussion)

It makes max-width work in IE6 which is how images in posts are resized. Without it large images in IE6 would be cropped rather than shrinking.

850

(6 replies, posted in PunBB 1.2 troubleshooting)

You probably changed the name of the language file item in functions.php to $lang_common['Forum Index'].

You now have to change it back again.