MyBB Community Forums

Full Version: Problem with Boardstats
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm having a problem with 2 plugins in my boardstats (online today and usergroup legend) They both work fine in my old skin but spacing is borked in the new skin I just added. See pic below. What could cause this? I checked both bits and they look the same...
This is more suited to plugin support so I'll move this Smile
Find the template and change the column span to 2, or add "colspan=2" if it isn't there already. Sorry, I don't know what the template is called as I don't use this plugin. Smile
(2010-08-14, 05:04 PM)AJS Wrote: [ -> ]Find the template and change the column span to 2, or add "colspan=2" if it isn't there already. Sorry, I don't know what the template is called as I don't use this plugin. Smile

I can't see anything wrong...this is the index_bordstats bit.

<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">
{$whosonline}
{$online_today}
{$grouplegend}
{$birthdays}
{$forumstats}
</tbody>
</table>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="tfoot" align="center" colspan="2"><b>{$logoutlink}<a href="misc.php?action=markread">{$lang->markread}</a> | <a href="showteam.php">{$lang->forumteam}</a> | <a href="stats.php">{$lang->forumstats}</a></b>
</td>
</tr>
</table>
<br />
The plugin template will be in Global Templates, see if there's something relating to online today in there. If you don't know what to change paste it here. Smile
OK, here is the global bit for group lengend...

Quote:<tr><td class="tcat"><strong>Group Legend</strong></td></tr>
<tr><td class="trow1"><span class="smalltext">{$usertitles}</span></td></tr>

...and the global bit for online today:

Quote:<tr>
<td class="tcat"><strong>{$lang->whos_online_today}</strong> [<a href="online.php?action=today">{$lang->complete_list}</a>]</td>
</tr>
<tr>
<td class="trow1"><span class="smalltext">{$lang->online_note_today}<br />{$onlinemembers}</span></td>
</tr>

I can't see how the global bits would be affected because it is working on the other skin??
Change:
<td class="tcat">

To:
Quote:<td class="tcat" colspan="2">

And:
<td class="trow1">
To:
<td class="trow1" colspan="2">

For both of those, that's going to break it on the other skin though if it's right atm. Undecided
That worked! The old skin still seems ok! 7173mustangs.com if you want to take a look...both skins are guest viewable.

Thanks again! Helped me twice in one day!! BlushSmile