PDA

View Full Version : "who is online" for guest is broken since 3.7


RCK
Sun 25th May '08, 3:35pm
Hello,

I would like to display the "Who is online" box for guest but it seems it's broken since 3.7 upgrade.

1- My forumhome template display the box correctly and conditionnal <if logged> was removed
2- My "Not Logged In" usergroup have "yes" to "Can View Who's Online"

The result is a blank counter table, I think it's a problem with shared variable.
ps: no problem with logged users ;)

sockwater
Sun 25th May '08, 5:54pm
Did you revert/update all your templates?

RCK
Mon 26th May '08, 5:44pm
Yes I revert them.
The problem is coming from the following variables who are not working with guest account, which is not logic since "guest" usergroup CAN activate Who Is Online box in usergroup options:

$totalonline
$numberregistered
$activeusers



<a href="online.php$session[sessionurl_q]">$vbphrase[currently_active_users]</a>: $totalonline (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase>)
...
snip
...
<div style="white-space: nowrap"><phrase 1="$recordusers" 2="$recorddate" 3="$recordtime">$vbphrase[most_users_ever_online_was_x_y_at_z]</phrase></div>
<div>$activeusers</div>
...