PDA

View Full Version : Onlineusers & Stats module


Cerbero1000
07-25-2005, 04:35 PM
Hi guy, i would like to insert the stats module code into the usersonline modules to create a fused cmps block. I have modified the onlineusers template:

<!-- Online Users 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] <a href="$vboptions[bburl]/online.php?$session[sessionurl]">$vbphrase[active_users]</a>: $totalonline</strong></span>
</td>
</tr>
<tr>

<td class="alt2"><span class="smallfont"><phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase></span></td>
</tr>
<tr>
<td class="alt1"><span class="smallfont">$activeusers</span></td>
</tr>

<td class="alt2"><span class="smallfont"><phrase 1="$recordusers" 2="$recorddate" 3="$recordtime">$vbphrase[most_users_ever_online_was_x_y_at_z]</phrase></span></td>
</tr>





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

$vbphrase[members]: $numbermembers<br>
<phrase 1="$vboptions[bburl]/member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase>
</span>
</td>
</tr>
<if condition="$birthdays">
<tr>
<td class="alt1"><span class="smallfont">
<b>$vbphrase[todays_birthdays]:</b><br /> $birthdays</span></td>
</tr>
</if>

</table>
<br />


<!-- End Online Users Block -->

Now, the onlineusers stats are ok but not the forum stats... Can the problem to be the php module?
Help me please.