The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
allow spider(s) to login to forum
Hi @ll,
on my Forums, only registered User can see the Forums and Threads. In this case the Spiders cannot join the Forum ... Before i came to vb3, i had wbb2 and there was a hack, (googlebot-hack), where the bots could login automatically and spiders the Forum. Is there a possiblity in vb3 to make a similar hack ? the code was as follows : Code:
/* get host */ $googlebot_userid=4711; $remote_host=gethostbyaddr($_SERVER['REMOTE_ADDR']); if(@preg_match("/(.*)googlebot\.com/i", $remote_host)){ $wbbuserdata['userid']=$googlebot_userid; $db->unbuffered_query("UPDATE bb".$n."_sessions SET userid = '".$googlebot_userid."' WHERE sessionhash = '$sid'",1); $wbbuserdata=getwbbuserdata($googlebot_userid,"userid",1); th@nks |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|