Current time: 04-24-2014, 11:01 AM Hello There, Guest! (LoginRegister)


[F] Buddy List no longer shows invisible users as online [C-StefanT]
07-22-2009, 07:15 AM
Post: #1
[F] Buddy List no longer shows invisible users as online [C-StefanT]
In 1.2 a user who had the right to see invisible users could see them in the who's online list and also in their buddy list as being online.

In 1.4.8. a user who has the right to see invisible users can still see them in the who's online list, with an asterisk next to their name as before, but they can no longer see those users as online in their buddy list. They now show as offline, even though the who's online list shows that they are online.

Surely this is a bug in 1.4.8. A user who can see invisible users as online in the who's online list should surely also see them as online in their buddy list? Otherwise, the information is contradictory.

It worked OK in 1.2, and since the change in 1.4.8. gives contradictory information about whether another user is online or offline, I can only assume that this is a bug in 1.4.8.

Katie Piper Website
Find all posts by this user
07-22-2009, 02:44 PM
Post: #2
RE: Buddy List no longer shows invisible users as online
Hmm works fine here. At least, I as administrator can view the test user online even though it is hidden.


PM me for custom plugins.
Visit this user's website Find all posts by this user
07-22-2009, 05:38 PM
Post: #3
RE: Buddy List no longer shows invisible users as online
(07-22-2009 02:44 PM)Pirata Nervo Wrote:  Hmm works fine here. At least, I as administrator can view the test user online even though it is hidden.


Yes same for me. For some reason it works for admin, but doesn't work for anyone else.

Admin's buddy list works the same way it did in 1.2. For everyone other than admin, it worked OK in 1.2 but doesn't work in 1.4.8.

Katie Piper Website
Find all posts by this user
07-22-2009, 05:39 PM (This post was last modified: 07-22-2009 05:40 PM by Matt..)
Post: #4
RE: Buddy List no longer shows invisible users as online
Ah I see what you mean now, yeah I can reproduce this here. Someone on my list is invisible, I can see they're online, but the buddy list says they're not.

Can you still feel the butterflies?

Free never tasted like pudding.
Visit this user's website Find all posts by this user
07-22-2009, 05:41 PM
Post: #5
RE: Buddy List no longer shows invisible users as online
Yeah the code doesn't seem to check the group setting


PM me for custom plugins.
Visit this user's website Find all posts by this user
08-13-2009, 08:19 PM
Post: #6
RE: Buddy List no longer shows invisible users as online
In usercp.php find both instances:

PHP Code:
if($user['lastactive'] > $timecut && ($user['invisible'] == || $mybb->user['usergroup'] == 4) && $user['lastvisit'] != $user['lastactive']) 

and replace with

PHP Code:
if($user['lastactive'] > $timecut && ($user['invisible'] == || $mybb->usergroup['canviewwolinvis'] == 1) && $user['lastvisit'] != $user['lastactive']) 

Ryan
Visit this user's website Find all posts by this user
08-13-2009, 08:19 PM
Post: #7
[F] Buddy List no longer shows invisible users as online
Thank you for your bug report.

This bug has been fixed in our internal code repository. Please note that the problem will not be fixed here until these forums are updated.

With regards,
MyBB Group
Visit this user's website Find all posts by this user


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us | MyBB | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication