MyBB Community Forums

Full Version: Board Statistics + (Image)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I swear I saw a thread about how to add an image to the left side of our "Board Statistics" @ index.

Anyone know how to do this.

Straight code, no pluggin if possible

Thanks
Go into your Admin Cp>>Templates and Style>>Templates>>**Theme**>>Index Template>>index_boardstats.
Find:
<td class="thead">
Replace with:
<td class="thead" colspan="2">
Find:
	<td class="tfoot" style="text-align: right">
Replace with:
	<td class="tfoot" style="text-align: right" colspan="2">
Save and return to listing.

Open up index_whosonline.
Find:
<td class="tcat">
Replace with:
<td class="tcat" colspan="2">
Find:
<td class="trow1"><span class="smalltext">{$lang->online_note}<br />{$onlinemembers}</span></td>
Replace with:
<td class="trow2" width="10%"><span class="smalltext">Text or image here.</span></td>
<td class="trow1" width="90%"><span class="smalltext">{$lang->online_note}<br />{$onlinemembers}</span></td>
Save and return to listing.

Open up index_stats.
Find:
<td class="tcat">
Replace with:
<td class="tcat" colspan="2">
Find:
<td class="trow1"><span class="smalltext">
{$lang->stats_posts_threads}<br />
{$lang->stats_numusers}<br />
{$lang->stats_newestuser}<br />
{$lang->stats_mostonline}
Replace with:
<td class="trow2" colspan=1" width="10%"><span class="smalltext">Text or image here.</span></td>
<td class="trow1" colspan="1" width="90%"><span class="smalltext">
{$lang->stats_posts_threads}<br />
{$lang->stats_numusers}<br />
{$lang->stats_newestuser}<br />
{$lang->stats_mostonline}
Save and return to listing.
(2011-03-30, 04:13 PM)Yaldaram Wrote: [ -> ]Go into your Admin Cp>>Templates and Style>>Templates>>**Theme**>>Index Template>>index_boardstats.
Find:
<td class="thead">
Replace with:
<td class="thead" colspan="2">
Find:
	<td class="tfoot" style="text-align: right">
Replace with:
	<td class="tfoot" style="text-align: right" colspan="2">
Save and return to listing.

Open up index_whosonline.
Find:
<td class="tcat">
Replace with:
<td class="tcat" colspan="2">
Find:
<td class="trow1"><span class="smalltext">{$lang->online_note}<br />{$onlinemembers}</span></td>
Replace with:
<td class="trow2" width="10%"><span class="smalltext">Text or image here.</span></td>
<td class="trow1" width="90%"><span class="smalltext">{$lang->online_note}<br />{$onlinemembers}</span></td>
Save and return to listing.

Open up index_stats.
Find:
<td class="tcat">
Replace with:
<td class="tcat" colspan="2">
Find:
<td class="trow1"><span class="smalltext">
{$lang->stats_posts_threads}<br />
{$lang->stats_numusers}<br />
{$lang->stats_newestuser}<br />
{$lang->stats_mostonline}
Replace with:
<td class="trow2" colspan=1" width="10%"><span class="smalltext">Text or image here.</span></td>
<td class="trow1" colspan="1" width="90%"><span class="smalltext">
{$lang->stats_posts_threads}<br />
{$lang->stats_numusers}<br />
{$lang->stats_newestuser}<br />
{$lang->stats_mostonline}
Save and return to listing.

Sorry to bump, but I needed this for Compuboard and it worked perfectly. Yaldaram, you are truly amazing.
Thanks Toungue