Open the
search for:
in the end code find:
replace it with:
Do not forget set the correct permissions after editing the file !
functions.php
file in the admin foldersearch for:
function called: hasPermissions($rType, $rID)
in the end code find:
if ((count($rPermissions["advanced"]) > 0) && ($rUserInfo["member_group_id"] <> 1)) {
return in_array($rID, $rPermissions["advanced"]);
} else {
return true;
}
replace it with:
if ((count($rPermissions["advanced"]) > 0) && ($rUserInfo["member_group_id"] >= 1)) {
return in_array($rID, $rPermissions["advanced"]);
}
Do not forget set the correct permissions after editing the file !
Last edited by a moderator: