PDA

View Full Version : Who is viewing a thread CODE


TimberFloorAu
01-10-2009, 07:15 PM
Can someone tell me the exact code, which displays on a thread/post view, who is viewing the page.

I am creating a mod, and am looking for this code

Its the Current Active Users bit

Found it in Showthread. Thanks

biggeorge
02-21-2009, 08:02 PM
I'm fairly sure it's this:

<if condition="$show['activeusers']">
<!-- currently active users -->
<br />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat" colspan="2">
<phrase 1="$totalonline" 2="$numberregistered" 3="$numberguest">$vbphrase[users_viewing_this_thread_x_y_z]</phrase>
</td>
</tr>
<tr>
<td class="alt1" colspan="2">
<span class="smallfont">$activeusers</span>
</td>
</tr>
</table>
<!-- end currently active users -->
</if>

TimberFloorAu
02-22-2009, 07:19 AM
Cheers :)