Code:
if ($bbuserinfo['userid'] == 0 and $forumid != X)
{
print_no_permission();
}
Quote:
Originally Posted by Gary King
Replace
PHP Code:
$forumid != 102 or $forumid != 103
with
PHP Code:
$forumid != 102 and $forumid != 103
|
I've found this thread to be really interesting and it has helped out with a lot of things. I've added the code to dissalow guest to view a couple of non vb pages but these pages should be only accessable by a certain user group.
Usergroup (id:9) are the only members that should have access to these pages, how can I modify this code to enable this feature?
Thankyou.