MyBB Community Forums

Full Version: Advanced Stats Problem "Zone"
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
[Image: untitled1jf9.jpg]

I send snapshot.
how can I fix it ?

Smethead plugin for mybb version 1.1.x
Moving to code modifications as this does not qualify for General Support
sorry, I'm waiting your helps
This is because of the new threads table, you need to add colspan="3" for the index_whosonline, index_stats and a part of the index template.


index_whosonline should look as

<tr>
<td class="tcat" colspan="3"><strong>{$lang->whos_online}</strong> [<a href="online.php">{$lang->complete_list}</a>]</td>
</tr>
<tr>
<td class="trow1" colspan="3"><span class="smalltext">{$lang->online_note}<br />{$onlinemembers}</span></td>
</tr>

index_stats should look as
<tr><td class="tcat" colspan="3"><strong>{$lang->boardstats}</strong></td></tr>
<tr>
<td class="trow1" colspan="3"><span class="smalltext">
{$lang->stats_posts_threads}<br />
{$lang->stats_numusers}<br />
{$lang->stats_newestuser}<br />
{$lang->stats_mostonline}
</span>
</td>
</tr>

in index template find
<td class="thead">
<div class="expcolimage"><img src="{$theme['imgdir']}/collapse{$collapsedimg['boardstats']}.gif" id="boardstats_img" class="expander" alt="[-]" /></div>
<div><strong>{$lang->boardstats}</strong></div>
</td>

replace with

<td class="thead" colspan="3">
<div class="expcolimage"><img src="{$theme['imgdir']}/collapse{$collapsedimg['boardstats']}.gif" id="boardstats_img" class="expander" alt="[-]" /></div>
<div><strong>{$lang->boardstats}</strong></div>
</td>
thank you zaher it works.
but ı can only show new threads when adding top poster and top poster daily it's confusing again. it's possible these three options side by side...