Other solution, open add after:Save and purge the cache.
For any user who is not an administrator, they will receive an error message when trying to view the full list of members or group memberships.
memberlist.php
file and find:Code:
// Check our mode...if (!in_array($mode, array('', 'group', 'viewprofile', 'email', 'contact', 'contactadmin', 'searchuser', 'team', 'livesearch'))){trigger_error('NO_MODE');}
Code:
if (in_array($mode, array('','group'))){if ($user->data['group_id'] != 5){trigger_error('NO_VIEW_USERS');}}
For any user who is not an administrator, they will receive an error message when trying to view the full list of members or group memberships.
Statistics: Posted by ssl — Mon Feb 19, 2024 8:37 am