In this tutorial I will explain how to disable memberlist viewing from guests/members, so only admins/mods can view it.
Open memberlist.php, Find:
// The basic memberlist
Before add:
if (!$auth->acl_get('m_') || !$auth->acl_get('a_'))
{
trigger_error('NO_VIEW_USERS');
}
Open styles/prosilver/template/overall_header.html, Find:
Replace with:
If you want to only block the memberlist do the following:
Change:
if (!$auth->acl_get('m_') || !$auth->acl_get('a_'))
To:
if ($mode != 'group' && (!$auth->acl_get('m_') || !$auth->acl_get('a_')))