Hello,
i'm trying to get a page to show $activeusers content on a page.
Actually it's a Cyb ChatBox for Vb 3.8.4 but it is not supported so i thought it should be simple for me to do that on my own but i failed.
What i tried is i copied the part of code from my SHOWTHREAD template to the chat template. This is the code:
Code:
<if condition="$show['activeusers']">
<!-- currently active users -->
<div class="div-header">
<div class="div-header-right" style="float:right"></div>
<div class="div-header-left"></div>
<phrase 1="$totalonline" 2="$numberregistered" 3="$numberguest">$vbphrase[users_viewing_this_thread_x_y_z]</phrase>
</div>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt1" colspan="2"><span class="smallfont">$activeusers</span></td>
</tr>
</table>
<!-- end currently active users -->
</if>
<if condition="$show['activeusers']">$template_hook[showthread_after_activeusers]<br />
</if>
But it didn't work. I'm affraid it's because the page showing the chat actually looks like this in browser's address bar:
misc.php?do=cchatbox
Do you have any idea how to show what forum members are currently active on that page? Because on a chat, it's lame to have no list of active users...
Thanks in advance