Quote:
Originally Posted by IndyWebDesign
I really like this however I'd like to see it work on select forums only... can that be done?
|
Use this code, replacing X with whatever forumid you want to block to guests:
PHP Code:
if ($bbuserinfo['userid'] == 0 AND !preg_match("#(google|slurp@inktomi|yahoo! slurp)#si", $_SERVER['HTTP_USER_AGENT']) AND $forumid == X)
{
print_no_permission();
}