Quote:
Originally Posted by ilrglen
Okay, I tried this and it worked when I was logged out but not when I was logged in. I am in Group 5 and it said I did not have sufficient permissions. Should this phrase not be
Code:
if (!$vbulletin->userinfo['userid'] OR !is_member_of($bbuserinfo, 1, 2, 3, 4)) print_no_permission();
I want the error page for groups 1, 2, 3, 4 and people not logged in.
|
Whoops, it should have been like this ($vbulletin->userinfo, not $bbuserinfo <- changed in post above now also):
Code:
if (!$vbulletin->userinfo['userid'] OR !is_member_of($vbulletin->userinfo, 5,6,7)) print_no_permission();