2011-05-18, 02:23 AM
So I installed a plugin that makes a UserGroup Legend but it's not wide enough to fit under who's online, I had this issue once but forgot how to correct it. Here is a picture.
[attachment=22780]
[attachment=22780]
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
<tr>
<td class="thead" colspan="2">
<div class="expcolimage"><img src="{$theme['imgdir']}/collapse{$collapsedimg['boardstats']}.gif" id="boardstats_img" class="expander" alt="[-]" title="[-]" /></div>
<div><strong>{$lang->boardstats}</strong></div>
</td>
</tr>
</thead>
<tbody style="{$collapsed['boardstats_e']}" id="boardstats_e">
<tr>
<td class="tcat" width="250"><span class="smalltext"><strong>{$lang->boardstats}</strong></span></td>
<td class="tcat"><span class="smalltext"><strong>{$lang->whos_online}</strong> [<a href="online.php">{$lang->complete_list}</a>]</span></td>
</tr>
<tr>
{$forumstats}<br />
<br />
{$whosonline}
{$ugl_userlegend}
</tr>
{$birthdays}
<tr>
<td class="tfoot smalltext" colspan="2">
<span style="float: right;">
{$logoutlink}
<a href="misc.php?action=markread&my_post_key={$mybb->post_code}">{$lang->markread}</a> |
<a href="showteam.php">{$lang->forumteam}</a> |
<a href="stats.php">{$lang->forumstats}</a>
</span>
</td>
</tr>
</tbody>
</table>
<br />
//Simple Mode - template
$ugl_final = "<tr>
<td class=\"trow1\">
<span class=\"smalltext\">
".$final."
</span>
</td>
</tr>";
with this code:
//Simple Mode - template
$ugl_final = "<tr>
<td class=\"trow1\" colspan=\"2\">
<span class=\"smalltext\">
".$final."
</span>
</td>
</tr>";