View Full Version : Prevent supermoderators going into ModCP...
JMEWLS`
07-23-2010, 07:25 AM
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.
JMEWLS`
07-24-2010, 09:15 AM
anyone?
borbole
07-24-2010, 10:57 AM
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:
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.
borbole
07-28-2010, 02:08 PM
Hi JMEWLS`. I am just following up, did the above suggestion work for you?
Lynne
07-28-2010, 02:44 PM
You can't edit profiles from the modcp. The only user items you can edit from the modcp (if you have permission) is the signature, avatar, and profile picture. You may View the profile, but if you notice, there is no Save button there.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.