if ($_REQUEST['do'] == 'page' AND $_REQUEST['template'] == 'Chat') { if (!is_member_of($vbulletin->userinfo, 2,6,7,38)) { print_no_permission(); } }