Quote:
Originally Posted by borbole
Try this:
PHP Code:
if ($_REQUEST['do'] == 'doips' AND $vbulletin->userinfo['usergroupid'] == 5)
{
print_stop_message('no_permission_ips');
}
This will prevent Super Moderators from using the Search Ip option at the Mod CP. 5 is the default if for the Super Moderators, if you are using a custom id for that group, you should replace 5 with that custom id.
|
thank you sir.
how about, they can do ips but if they will search ip of usergroupid 6 they will get a message as print_stop_message('no_permission_ips');
thank you