1

Topic: Help disabling userlist

Hi,

In the administration panel there is an option "Allow users to view the user list and user profiles."

However, I want all groups to be able to view the profiles, but only the administrator to view the user list.

How would I go about implementing this? Any help with this would be much appreciated.

Re: Help disabling userlist

Administration → Users → Groups → For each of the necessary groups → Disable "Allow users to view the user list and user profiles." and "Update group".

Parserus, UserAgentAnalyzer.
I speak only Russian  :P

3 (edited by iNoob 2016-07-23 12:08)

Re: Help disabling userlist

Disabling that option will disallow groups from both viewing the user list and profiles, but I am asking how to make groups to be able to view profiles but not the user list (only the administrator to view the user list). This can't be done with that configuration alone.

Thank you

4

Re: Help disabling userlist

Nevermind, I figured it out.

5 (edited by PanBB.Ru 2016-07-24 04:54)

Re: Help disabling userlist

userlist.php file modification or the need to write an extension

Mod:
Open fileuserlist.php
In start after require common.php add code:

if($forum_user != FORUM_ADMIN)
    message('You are not allowed to view the list of users.');

You are in the settings to allow users to browse the profiles of other users.