I think I've answered this (or requests for other Permissions) several times already ...
In functions.php
FIND
PHP Code:
if ($userid == $bbuserinfo['userid'])
{
if ($bbuserinfo['permissions']['adminpermissions'] & ISMODERATOR)
{
DEVDEBUG(' USER IS A SUPER MODERATOR');
return 1;
}
}
REPLACE that with
PHP Code:
if ($userid == $bbuserinfo['userid'])
{
if ($bbuserinfo['permissions']['adminpermissions'] & ISMODERATOR)
{
DEVDEBUG(' USER IS A SUPER MODERATOR');
if ($do != 'canremoveposts')
{
return 1;
}
else
{
return 0;
}
}
}
@Link14716
Your suggestion doesn't really work, as Supermods can be any Usergroup.