CoffeeLovesYou
05-05-2013, 03:57 PM
Hi.
So I made it so you can ignore everyone including mods/admins.
This is because ONE usergroup is able to moderate a certain forum. However, they aren't staff, and still should be able to be ignored.
How can I edit the profile.php ignore part, particularly this line:
if (!$vbulletin->options['ignoremods'] AND can_moderate(0, '', $userinfo['userid'], $uglist) AND !($permissions['adminpermissions'] & $vbulletin->bf_ugp_adminpermissions['cancontrolpanel']))
{
standard_error(fetch_error('listignoreuser', $userinfo['username']));
}
to make it so if the person they are trying to ignore is a member of usergroups a, b, c, d, e, etc.. they can't be ignored?
Thanks!
So I made it so you can ignore everyone including mods/admins.
This is because ONE usergroup is able to moderate a certain forum. However, they aren't staff, and still should be able to be ignored.
How can I edit the profile.php ignore part, particularly this line:
if (!$vbulletin->options['ignoremods'] AND can_moderate(0, '', $userinfo['userid'], $uglist) AND !($permissions['adminpermissions'] & $vbulletin->bf_ugp_adminpermissions['cancontrolpanel']))
{
standard_error(fetch_error('listignoreuser', $userinfo['username']));
}
to make it so if the person they are trying to ignore is a member of usergroups a, b, c, d, e, etc.. they can't be ignored?
Thanks!