[3.3] User permissions to view memberlist

Get help with installation and running phpBB 3.3.x here. Please do not post bug reports, feature requests, or extension related questions here.
User avatar
Mike-on-Tour
Registered User
Posts: 537
Joined: Wed Jan 15, 2020 3:51 pm
Location: Germany
Name: Michael

[3.3] User permissions to view memberlist

Post by Mike-on-Tour »

After upgrading a customer's board I experienced some strange behaviour with the memberlist today:
The memberlist did not display the column "Last active" and after investigating this I found that $auth->acl_get('u_viewonline') in memberlist.php in lines 1833 and 1838 returned false which was weird because the user role "Standard Features" showed in the "Profile" tab that the permission "Can view profiles, memberlist and online list" was set to "Yes", so it should have displayed the column in question.
Some time later I was was desperate and checked all other tabs and found that in the "Misc" tab the setting "Can view hidden online users" was set to "Never". Switching this setting to "No" resolved the problem and the column "Last active" was displayed properly.

Now I am wondering why a "Never" setting for viewing hidden online users prohibits viewing the memberlist's column "Last active" since - still after some consideration - I can not imagine why this should be the case as these two setting seem to have nothing in common.

Is this a bug which I should report in the tracker or is this behaviour intended?
Last edited by Mick on Sat Nov 02, 2024 7:42 am, edited 1 time in total.
Reason: Solved.
Watz fo lunch?
If you like my extensions or my support please consider a donation: Image
User avatar
Brf
Support Team Member
Support Team Member
Posts: 53548
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}

Re: [3.3] User permissions to view memberlist

Post by Brf »

That permission concerns being able to see users that are hidden. That also hides the Last Online. If a user is online "Now" and their Last Online as also "Now", then they are not effectively hidden.
User avatar
Mike-on-Tour
Registered User
Posts: 537
Joined: Wed Jan 15, 2020 3:51 pm
Location: Germany
Name: Michael

Re: [3.3] User permissions to view memberlist

Post by Mike-on-Tour »

Thanks for the answer, meanwhile I am used to it and hopefully will remember it in the future.
Watz fo lunch?
If you like my extensions or my support please consider a donation: Image

Return to “[3.3.x] Support Forum”