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 |
#2
|
||||
|
||||
i guess you could set it so guests have permissions when the guest is a spider but y not just turn on viewing then?since they will be able to view content via cached pages etc.
|
#3
|
|||
|
|||
i will agree that they see the content via the cached pages, i think nobody will hangle via google cached pages to search my forums.
anyway, how can i tell vb3, that guests have permissions if the guest is a spider ? gr33tz |
#4
|
||||
|
||||
It is possible to adapt the code you posted, but I would not recommend to do so.
What you are trying to do is cloaking, and if this is discovered by Google you will moste likely be penalized with a lower PR or removed from their index. Gain users with content, not with tricks. |
#5
|
||||
|
||||
Quote:
|
#6
|
|||
|
|||
Enable Archive.....
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|