PDA

View Full Version : [HowTo] [3.0.3] Turn off "statistics" from the 'What is going on' box



Floris
Fri 29th Oct '04, 3:27pm
[HowTo] [3.0.3] Turn off "statistics" from the 'What is going on' box

Description: This is a very small modification that will guide you step by step to remove the 'statistics' part from the forumhome's 'what is going on' box.

Instructions.

* Goto the Admin Control Panel > Styles & Templates > Style Manager > Expand the template groups from the style you want to modify > Expand the template group "Forum Home Templates" > Select the template "FORUMHOME" and click on 'edit' or 'customize' to open it.

* Find the following code and delete it:
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_stats')"><img id="collapseimg_forumhome_stats" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_stats].gif" alt="" border="0" /></a>
<phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_stats" style="$vbcollapse[collapseobj_forumhome_stats]">
<tr>
<td class="alt2"><img src="$stylevar[imgdir_misc]/stats.gif" alt="<phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>" border="0" /></td>
<td class="alt1" width="100%">
<div class="smallfont">
<div>$vbphrase[threads]: $totalthreads, $vbphrase[posts]: $totalposts, $vbphrase[members]: $numbermembers</div>
<div><phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase></div>
</div>
</td>
</tr>
</tbody>

* Save the "FORUMHOME" template.

# Done!

ivibe
Sun 20th Mar '05, 7:26pm
Thanks Floris!