MyBB Community Forums

Full Version: stats
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
if I were to make a new colume in stats and place an image in the center, what code would I be able to use to make a new colume inside that big cell or so, I tried some other things like <td> and <tr> but it seems to ruin the whole index page, how would I make it fit and the stats in a new colume to the right of that other colum, thanks
heloo there

in index template

find

$forums
<br />
<table border="0" cellspacing="$theme[borderwidth]" cellpadding="$theme[tablespace]" class="tborder">
<thead>
<tr>
<td class="thead"

replace by

$forums
<br />
<table border="0" cellspacing="$theme[borderwidth]" cellpadding="$theme[tablespace]" class="tborder">
<thead>
<tr>
<td class="thead" colspan="2">

then in index_stats

replace it with

<tr><td class="tcat" colspan="2"></td><strong>$lang->boardstats</strong></td></tr>
<tr>
<td class="trow1"><span class="smalltext">
$lang->stats_posts_threads<br />
$lang->stats_numusers<br />
$lang->stats_newestuser<br />
$lang->stats_mostonline
</span>
</td>
<td class="trow2">Hiii</td>
</tr>

then in index_whosonline

find

<td class="tcat">

and replace it with

<td class="tcat" colspan="2">

many regards
yes they do work but isnt there someway that those two appear on the left instead of right, just next to those stats like in phpbb and vb?


thanks again for your time mate
umm do u mean a new row ?

if yes , you will need to replace

<td class="trow2">Hiii</td>

by

<tr><td class="trow2">Hiii</td></tr>

if i'm wrong pls explain moreSmile

regards