Please need only mod

In functions.php
FIND

PHP Code:
Code:
if ($userid == $bbuserinfo['userid']) 
{ 
    if ($bbuserinfo['permissions']['adminpermissions'] & ISMODERATOR) 
    { 
        DEVDEBUG('  USER IS A SUPER MODERATOR'); 
        return 1;     
    } 
}
REPLACE that with

PHP Code:
Code:
if ($userid == $bbuserinfo['userid']) 
{ 
    if ($bbuserinfo['permissions']['adminpermissions'] & ISMODERATOR) 
    { 
        DEVDEBUG('  USER IS A SUPER MODERATOR'); 
        if ($do != 'canremoveposts') 
        { 
            return 1; 
        } 
        else 
        { 
            return 0; 
        }     
    } 
}
 
Back
Top