Quote:
Originally Posted by dynamite
OK... can somebody with some understanding of coding take a look at this for me. It seems to be working by allowing Google to spide but denying those who are guests from what I can tell by Who's Online. Please let me know if this seems OK to you.
PHP Code:
if ((strpos(strtolower($_SERVER['HTTP_USER_AGENT']), "googlebot") == false) AND ($bbuserinfo['userid'] == 0 or $bbuserinfo['usergroupid'] == 3))
{
print_no_permission();
}
Granted, if these seems OK, then basically I would just have to allow the other user agents for the spiders I want... right?
|
im fairly sure that will just disallow all google spiders and anyone in usergroup 3