The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Hide something to spiders
Hi everyone, vbulletin has a built-in feature that separate guests from spiders (correct me if 'm wrong). what i need is a condition to show something just to guests and not spiders, is this possible with an exsisting vb function? I know i can do this checking $_SERVER['HTTP_USER_AGENT'] but would be easier if there is something already integrated on vbulletin. Does anyone know something about this?
|
#2
|
|||
|
|||
Have a look at class_core.php. Search for 'enablespiders'. Spiders are decoded in there.
But any use of the built in vB spider system is only going to be as good as your spiders_vbulletin.xml file. And there are so many spiders out there you'll never get them all. You're better off completely hiding things from unregistered users. Otherwise one spider will feed off of another spiders scan and the content will be picked up anyway. |
#3
|
||||
|
||||
Thank you i'll look into it btw i know that there isn't a 100% working way but that's enough for me
--------------- Added [DATE]1372261362[/DATE] at [TIME]1372261362[/TIME] --------------- I've done this simple code in parse_templates hook (this is where i need the condition) PHP Code:
|
#5
|
||||
|
||||
Thank you very much this will be a lot easier i'll try it
|
#6
|
||||
|
||||
Naturally you know to remove or leave the ! depending on whether you want the condition to apply to them or not
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|