PDA

View Full Version : Currently active users viewable to moderators only?


Spinball
01-10-2005, 01:18 PM
Hi folks,
it seems simple, but I can't do it and can't find the hack anywhere.
So how can I make the home page Currently Active Users list viewable to certain user groups (6,7 and 8 for example)?

I know I need to put a condition around
<div>$activeusers</div>
in FORUMHOME, but what condition will work?
TIA.

Spinball
01-10-2005, 01:48 PM
Done it.
<if condition="$bbuserinfo[usergroupid]==5 or $bbuserinfo[usergroupid]==6 or $bbuserinfo[usergroupid]==7">
<div>$activeusers</div>
</if>