Hi,
I tried the code you provided and it works to keep other users out, but its giving me the following error when logged in as a user with permission to view the FAQ.
ERROR MESSAGE: Parse error: syntax error, unexpected T_STRING in /home2/kuriban/public_html/forum/faq.php on line 65
I am using the following code:
Code:
// SETTING PERMISSIONS ON WHO CAN VIEW FAQ
if (!isset($vbulletin->userinfo['userid']) OR $vbulletin->userinfo['userid'] == 1 OR !is_member_of($vbulletin->userinfo,Administrators,Patients,Moderators,Super Modertators))
{
print_no_permission();
}
Any ideas?
Gabe