2009-05-23, 09:46 PM
There's a small html validation issue with forum names. If I'm being too picky, then mark this as bogus - I know a few MyBB pages don't validate either.
Take a look at this thread. Notice the title:
But, notice the navigation (esp: Testing & Trashing):
To fix this, I would suggest this change. In ./inc/functions.php, find (around line 2888):
Replace with:
The forumdisplay is also effected: http://community.mybboard.net/forum-13.html - I'm thinking it's because the forum name isn't put through htmlspecialchars_uni like other pages (like showthread - note Bug test & Stuff).
Suggest after
adding
I think that cures this problem.
Take a look at this thread. Notice the title:
<title>Bug test & Stuff</title>
But, notice the navigation (esp: Testing & Trashing):
<div class="navigation">
<a href="http://community.mybboard.net/index.php">MyBB Community Forums</a>
/
<a href="forum-12.html">General Discussion</a>
/
<a href="forum-13.html">Testing & Trashing</a>
/
<span class="active">Bug test & Stuff</span>
</div>
To fix this, I would suggest this change. In ./inc/functions.php, find (around line 2888):
$navsize = count($navbits);
$navbits[$navsize]['name'] = $forumnav['name'];
Replace with:
$navsize = count($navbits);
$navbits[$navsize]['name'] = htmlspecialchars_uni($forumnav['name']);
The forumdisplay is also effected: http://community.mybboard.net/forum-13.html - I'm thinking it's because the forum name isn't put through htmlspecialchars_uni like other pages (like showthread - note Bug test & Stuff).
<title>MyBB Community Forums - Testing & Trashing </title>
<div>
<strong>Testing & Trashing</strong>
</div>
Suggest after
$parentlist = $foruminfo['parentlist'];
adding
$parentlist = $foruminfo['parentlist'];
$foruminfo['name'] = htmlspecialchars_uni($foruminfo['name']);
I think that cures this problem.