Page Index Toggle Pages: 1
Topic Tools
[CVS] Guests can see Admins in Stealth Mode (Read 2,354 times)
MF-B
Development Team
****
Offline



Posts: 2,405
Location: Moscow, Russia

YaBB 2.4
Re: [CVS] Guests can see Admins in Stealth Mode
Reply #3 - Mar 3rd, 2010 at 8:01pm
Post Tools
Fixed. New Subs.pl in CVS
  

Stand!
Back to top
IP Logged
 
Derek Barnstorm
Support Team
YaBB Next Team
Development Team
Beta Testers
****
Offline



Posts: 1,269
Location: United Kingdom

None
Re: [CVS] Guests can see Admins in Stealth Mode
Reply #2 - Jan 28th, 2010 at 11:05pm
Post Tools
I've just compared this to the 2.4 code, and I think all that needs to be done to fix it is to remove the highlighted '!' from this line in Subs.pl:

Code
Select All
if (exists $users_online{$userToCheck} && (!${$uid.$userToCheck}{'stealth'} || !$iamadmin || !$iamgmod)) { 


Somebody more knowledgeable might just want to check that though.
  
Back to top
 
IP Logged
 
Captain John
Ex Member


Re: [CVS] Guests can see Admins in Stealth Mode
Reply #1 - Jan 28th, 2010 at 8:40pm
Post Tools
Derek Barnstorm wrote on Jan 28th, 2010 at 5:03am:
is online even though he is obviously running in stealth mode,


good catch ...
  
Back to top
 
IP Logged
 
Derek Barnstorm
Support Team
YaBB Next Team
Development Team
Beta Testers
****
Offline



Posts: 1,269
Location: United Kingdom

None
[CVS] Guests can see Admins in Stealth Mode
Jan 28th, 2010 at 5:03am
Post Tools
If Admins or Gmods are in Stealth Mode, guests and normal members can see that they are online in the message view, and members can also see that they are online in their profile. Their online status shows as 'Online*' rather than 'Offline', so guests and members see what only Admins and Gmods should see.

I first noticed it this on this forum because I can see when Captain John is online even though he is obviously running in stealth mode, so I just checked it with CVS and it's the same with that.

It worked fine in the 2.4 release though...
« Last Edit: Jan 28th, 2010 at 5:08am by Derek Barnstorm »  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Topic Tools
 
  « Board Index ‹ Board  ^Top