MyBB Community Forums

Full Version: Table not wide enough
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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]
Well I'm not sure how to fix that but if you can't figure it out try this:

http://community.mybb.com/thread-43752.html
Paste the content of your index_boardstats template (not sure if that's the one that has been modified by the plugin), or any other that was changed by the plugin.
Paste the index_boarstats template of your theme here, if that plugin doesn't do template modification and direct plugin, then we gonna have a look in plugin itself, the plugin is made by which author? Am also using but having no conflict, you may try another usergroup legend plugin by other authors to see if they are working.
With or without the plugin active?
With, of course.

Which plugin are you using by the way?
Usergroup Legend by DoubleOrange 13 - v2.0

<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 />
Open this plugin file from /inc/plugins, go to 170 line and replace this code:
        //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>";