MyBB Community Forums

Full Version: Adding Image @ Board Stats
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Sorry for being too trouble some =p, I need somehelp over here..
See the screenshot I took..

How do I include a Image there? Thx!

http://img107.imageshack.us/img107/9500/...ats6jg.gif
ah ok !!

for the forum stats

u will have to go to Admin CP > Templates > Modify / Delete > Exapnd > Index page templates > index_stats

replace it with

<tr><td class="tcat" colspan="2"></td><strong>$lang->boardstats</strong></td></tr>
<tr>
<td width="8%" class="trow1"><img src="images/whos_online.gif"><span class="smalltext"></span></td>
<td class="trow1"><span class="smalltext">
$lang->stats_posts_threads<br />
$lang->stats_numusers<br />
$lang->stats_newestuser<br />
$lang->stats_mostonline
</span>
</td>
</tr>

then go to index_whosonline

find
<td class="tcat">
replace with

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

then find
<td class="trow1" colspan="2">

and replace with
<td class="trow1" colspan="2">

then in index template

find

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

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


u see the codes big, but we are only chaning a little thing, however for u to find, this is the best way, coz they can be found several times in each template

regards
ok theres a problem now...

my index code is =

<table width="100%" border="0">
<tr>
<td width="75%" valign="top">$forums
</td>
<td width="25%" valign="top">
$welcome
$pms
$latestthreads

How am I supposed to put it in? it screw up quite a part of my forum
never mind just fing the code which is below

<table width="100%" border="0">
<tr>
<td width="75%" valign="top">$forums
</td>
<td width="25%" valign="top">
$welcome
$pms
$latestthreads
</td> </table> <br>
you should find this below

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

so just replace <td class="thead"> with <td class="thead" colspan="2">


regards