MyBB Community Forums

Full Version: botton of forum
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
sorry if u dont understand me
i have bad english
but have a look at the attachment
[attachment=2453]
Heloo there

please in the index template!
find

$whosonline

below it add

 <tr><td class="tcat" ><strong>Forum Legend</strong></td></tr>
<tr>
<td class="trow1" width="100"><span class="smalltext"> LEGNED HERE</span>
</td>
</tr>

regards
thx alot just what i wanted
Why does the border look like this? have to add something in the code?

[Image: bf5087b2cf.jpg]
You have to add colspan="3" to the td tag of the legend table:
<td colspan="3">
Quote:You have to add colspan="3" to the td tag of the legend table:


Code:
<td colspan="3">

sorry for not mentioning that, but i knew muphil already had it this way Big Grin as we worked the legend out before for his board. so i didn't have to mention it.
regards
No problem, thanx guys Smile

this code worked for me:


<tr><td class="tcat" colspan=""><strong>New Row Title</strong></td></tr>
<tr>
<td class="trow1" colspan="">New row content's.</td>
</tr>
I found the following to produce the perfect sort order for user groups:

$query = $db->query("SELECT * FROM " . TABLE_PREFIX . "usergroups WHERE gid!=1 ORDER BY isbannedgroup ASC,showforumteam DESC, issupermod DESC, usertitle ASC");
$groups = array();
while ( $group = $db->fetch_array($query) )
{
  $title = ($group['usertitle']) ? $group['usertitle'] : $group['title'];
  $groups[] = str_replace('{username}', htmlspecialchars($title),     $group['namestyle']);
}
$group_legend = join(" &nbsp;|&nbsp; ", $groups );