The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Hide admins from who is online (forumhome and online.php)
Mods, Global Mods and Admins have enabled the invisible mode so members can't see them listed in the online list both forumhome and online.php. However these three usergroups also have enabled the option to see other members who have choose to be invisible this way if there is an admin logged in a mod or global mod is able to see the admin in the online list both forumhome and online.php and I don't want that.
I want to hide administrators from the online list so even when mods and global mods have enabled the option to see users who have choosen to be invisible, they will be still unable to see admins logged in. |
#2
|
|||
|
|||
There is this mod: https://vborg.vbsupport.ru/showthread.php?t=179115 , but I don't think it completely hides everything (for example I think the last activity date will still tell you when the admin is online).
|
#3
|
|||
|
|||
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? |
#4
|
|||
|
|||
I think you would want:
Code:
<if condition="!is_member_of($userinfo, 6)"> (because $bbuserinfo is the "logged in" user looking at the page, so if that user isn't an admin they wouldn't see any users). |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|