You can also add to your file after
Code:
// #######################################################################
// ######################## START MAIN SCRIPT ############################
// #######################################################################
Code:
// Check for permission
if (!is_member_of($vbulletin->userinfo[usergroupid], array(5,6,7))
{
print_no_permission();
}
to check if they have access to the page. Just add the usergroup ID's to the array of numbers for the groups that you want to have access to the page