Quote:
Originally Posted by Gary W
PHP Code:
if ($bbuserinfo['userid'] == 0 and $forumid != X)
{
print_no_permission();
}
Replace X with the guest forum ID 
|
OK, this works like a champ...so let's make it even more complex.
How about configuring multiple forums that a user CAN view as a guest? Is there a simpler way than writing a statement for each forum? I tried the code below with no luck.
PHP Code:
if ($bbuserinfo['userid'] == 0 and ($forumid != 102 or $forumid != 103))
I'd ideally like to prevent guests and awaiting email confirmation from seeing all but a few select forums.