PHP Code:
// #######################################################################
// ######################## START MAIN SCRIPT ############################
// #######################################################################
if (is_member_of($vbulletin->userinfo, 2, 7))
{
// give no permission to usergroup 2 & 7
print_no_permission();
}
$navbits = construct_navbits(array('' => 'Test Page'));
$navbar = render_navbar_template($navbits);
This is how i add it under start main script ..
P.S i want more groups to be excluded from it .. like 2,11,13,9,7 etc etc .. do i have to do it 2, 11, 13, 9, & 7 ? i am getting confused here on the second part.
PHP Code:
// give no permission to usergroup 2, 11, 13, 9 & 7