PDA

View Full Version : remove birthdays from stats


djjeffa
01-01-2005, 08:06 PM
How do you Remove birthdays from the stats mod?

Alan @ CIT
01-01-2005, 08:20 PM
Hi,

You need to edit the adv_portal_stats template for each of your styles, and remove the following block of code:


<if condition="$birthdays">
<tr>
<td class="alt1"><span class="smallfont">
<b>$vbphrase[todays_birthdays]:</b><br /> $birthdays</span></td>
</tr>
</if>


Thanks,
Alan.

Our Sponsors
 

420
03-17-2005, 12:27 PM
i just tried searching for that template and couldn't find it...
i want to remove the birthday stats...

420
03-17-2005, 12:35 PM
nevermind..
i found it...
tried looking in the new test style i made first and it wasn't there..
but it was in the original...

Our Sponsors
 

lalotte
03-17-2005, 12:37 PM
Go into :
vBadvanced CMPS Templates:
Activate adv_portal_stats
and find:


<!-- Stats Block -->

<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder"width="100%">
<tr>
<td class="tcat"><span class="smallfont"><strong>$vba_options[portal_blockbullet]

<phrase 1="$vboptions[hometitle]">$vbphrase[x_statistics]</phrase>

</strong></span></td>
</tr>
<tr>
<td class="$getbgrow"><span class="smallfont">

$vbphrase[members]: $numbermembers<br />
$vbphrase[threads]: $totalthreads<br />
$vbphrase[posts]: $totalposts<br />
$vbphrase[top_poster]: <a href="$vboptions[bburl]/member.php?$session[sessionurl]u=$topposter[userid]">$topposter[username]</a> ($topposter[posts])

<if condition="$birthdays">
<tr>
<td class="alt1"><span class="smallfont">
<b>$vbphrase[todays_birthdays]:</b><br /> $birthdays</span></td>
</tr>
</if>



<!-- End Stats Block --> </quote>

and goto:


<if condition="$birthdays">
<tr>
<td class="alt1"><span class="smallfont">
<b>$vbphrase[todays_birthdays]:</b><br /> $birthdays</span></td>
</tr>
</if>

</table>
either dlete this or just put down
////// before
//////each
/////line
////so
/////it doent show
/////and if you want it later you would just remove the "////"

I hope this helps.

420
03-17-2005, 12:40 PM
thanks lalo...;)