MyBB Community Forums

Full Version: help (Board Statistics error)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
i recently added the group key and whos online today and it has made the area go wired heres a pic [Image: untitled7pp.png]

any help is greatful Smile
You have to user the attribute colspan="2" on the table columns so that the browser knows that they overdraw two columns.
^what do you mean by that
Can you please post the contents of the templates you edited?
here it is
<tr>
<td class="tcat" colspan="2"><strong>$lang->whos_online</strong> [<a href="online.php">$lang->complete_list</a>]</td>
</tr>
<tr>
<td class="trow1" width="30px"><img src="$theme[imgdir]/online.png"></td>
<td class="trow1"><span class="smalltext">$lang->online_note<br />$onlinemembers</span></td>
</tr>
<tr>
<td class="trow2" colspan="3"><span class="smalltext">Users Online Today:<br />$onlinetoday </span></td>
</tr>
<tr> 
<td class="tcat" colspan="4">Group Legend</td>
</tr>
<tr> 
<td class="trow1">$usertitles</td>
</tr>
Try to replace it with:
<tr>
<td class="tcat" colspan="2"><strong>$lang->whos_online</strong> [<a href="online.php">$lang->complete_list</a>]</td>
</tr>
<tr>
<td class="trow1" width="30px"><img src="$theme[imgdir]/online.png"></td>
<td class="trow1"><span class="smalltext">$lang->online_note<br />$onlinemembers</span></td>
</tr>
<tr>
<td class="trow2" colspan="2"><span class="smalltext">Users Online Today:<br />$onlinetoday </span></td>
</tr>
<tr> 
<td class="tcat" colspan="2">Group Legend</td>
</tr>
<tr> 
<td class="trow1" colspan="2">$usertitles</td>
</tr>
thanks it worked but now iv got another problem. how do i get rid the pictures ringed in black and how can i change that text in red to bold
[Image: untitled6bb.png]
Replace the template with:
<tr>
<td class="tcat"><strong>$lang->whos_online</strong> [<a href="online.php">$lang->complete_list</a>]</td>
</tr>
<tr>
<td class="trow1"><span class="smalltext">$lang->online_note<br />$onlinemembers</span></td>
</tr>
<tr>
<td class="trow2"><span class="smalltext">Users Online Today:<br />$onlinetoday </span></td>
</tr>
<tr> 
<td class="tcat"><strong>Group Legend</strong></td>
</tr>
<tr> 
<td class="trow1">$usertitles</td>
</tr>
To get rid of the second image you have to remove it from the template index_stats.
thanks it sorted now