If anyone wants it only accessible ONLY by supermods or admin, here is what to do.. very simple..
You'll just have to edit/add a few things to mas_rateapp.php that you uploaded to ./modcp/mas_rateapp.php
First, find the following 3 lines:
Code:
// ########################## REQUIRE BACK-END ############################
require_once('./global.php');
require_once('./includes/functions_databuild.php');
and put them at the top (but below the ?php entry tag)
Then...
under the back-end lines add:
Code:
if ($vbulletin->userinfo[usergroupid] == '6' ||
$vbulletin->userinfo[usergroupid] == '5')
{Usergroup 5 = Smods, and Usergroup 6 = Admins, but change as needed.
Then go all the way to the end of the file and above the ending php (below print_cp_footer(); ) tag add:
Code:
}
else {
print "Permission denied\n\n"; //Customize error message here
}