Indeed if I edit the template whosonlinebit envolving all of its contents with these lines:
<if condition="$userinfo['userid'] != X">
</if>
The admin with userid 'X' isn't being listed anymore at online.php however I have many various admins so better to filter them all with an usergroup conditional. I have tried these:
<if condition="!is_member_of($bbuserinfo, 6)">
<if condition="$bbuserinfo['usergroupid'] != 6">
However they both make the online.php to simply show nothing (not even members are being listed).
What conditional should I use? Or maybe the whosonlinebit template doesn't support usergroup conditional but only userid conditionals?
|