Quote:
Originally Posted by JMEWLS`
There's a control that prevents them from going into the administrator control panel but not the moderators? Basically, I don't want supermods to be able to edit profiles? It's not under user groups.
|
Try this. Go to your Acp->Plugins & Products->Add New Plugin. For Hook Location choose mod_global. For Title enter whatever you want. Whereas for Plugin PHP Code enter this:
PHP Code:
if ($vbulletin->userinfo['usergroupid'] == 5 && $_REQUEST['do'] == 'viewuser' OR $_REQUEST['do'] == 'editsig' OR $_REQUEST['do'] == 'profilepic' OR $_REQUEST['do'] == 'avatar')
{
print_stop_message('no_permission');
}
This will prevent the supermoderators from editing users profiles. If your supermoderators have a custom gid then enter that instead of 5 when checking for usergroupid. Hope it helps.