06-14-2011, 01:25 PM
You could add this to the php code. (I haven't tested it)
include("global.php"); //path to global.php in mybb
global $mybb;
if(($mybb->usergroup['isadmin'] == 1) || ($mybb->usergroup['issupermod'] == 1))
{
//page here
}else{
print("You do not have permission to access this page");
}
include("global.php"); //path to global.php in mybb
global $mybb;
if(($mybb->usergroup['isadmin'] == 1) || ($mybb->usergroup['issupermod'] == 1))
{
//page here
}else{
print("You do not have permission to access this page");
}