2011-11-08, 05:48 AM
I'm trying to get the myclean board statistics that currently looks like this:
[attachment=24623]
to looking like the default board statistics that ships with the mybb theme. when I replace everything that's in the myclean index_boardstats with the default index_boardstats, it breaks the template like this:
[attachment=24624]
here's the myclean index_boardstats code:
[attachment=24623]
to looking like the default board statistics that ships with the mybb theme. when I replace everything that's in the myclean index_boardstats with the default index_boardstats, it breaks the template like this:
[attachment=24624]
here's the myclean index_boardstats code:
<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}
{$whosonline}
</tr>
{$birthdays}
<tr>
<td class="tfoot" style="text-align: right" colspan="2">
<span class="smalltext">
{$logoutlink}
<a href="misc.php?action=markread{$post_code_string}">{$lang->markread}</a> |
<a href="showteam.php">{$lang->forumteam}</a> |
<a href="stats.php">{$lang->forumstats}</a>
</span>
</td>
</tr>
</tbody>
</table>
<br />