The Arcive of vBulletin Modifications Site. |
|
Who's invisible and mods seeing it. Details »»
|
|||||||||||||||||||||||||
On the Who's invisible hack that let's mods also see who is invisible, is it possible to change the code so it goes by $bbuserinfo['userid'] so only certian mods can see it? I let members have and mod there own board as a blog and I don't want those mods to see who's invisible.
When I change if ($loggedin['invisible']==0 or $bbuserinfo['usergroupid']==6 or $bbuserinfo['usergroupid']==5 or $bbuserinfo['usergroupid']==7) { and if ($loggedin['invisible']==1 and $bbuserinfo['usergroupid']!=6 and $bbuserinfo['usergroupid']!=5 and $bbuserinfo['usergroupid']!=7) { to if ($loggedin['invisible']==0 or $bbuserinfo['userid']==1 or $bbuserinfo['userid']==2) { and if ($loggedin['invisible']==1 and $bbuserinfo['userid']!=1 and $bbuserinfo['userid']!=2) { only one member name shows up. It's the second change where the trouble shows up. This is on the Who's Online list on the index. Version 2.2.0 Show Your Support
|
|||||||||||||||||||||||||
![]() |
|
|