![]() |
template condition for spider bots?
I have a simple question:
I desactivated the archive on my forum, but i would like to display some text only for spider bots... is there a template condition / variable to do this ? something like <if condition="spider bot = 1">hello google bot</if> thanks ! |
<if condition="$show['spider']">
|
its not working :(
i'm trying to display some text only for humans and hide it for spider bots, so i tryed: <if condition="$show['spider']"><else />welcome, you are an human !</if> but if i display my site with a google bot spoofer, the text is also displayed for spider bots :( |
bump
|
why isn't it working ? :(
|
Spiders don't have their own array, not sure why nexia told you that they did. Spiders are counted as guest users.
|
if you don't know, why do you reply...
$show['spider'] is the default variable to identify a web crawler for vB 3.x ... in some situations it may not work... if i remember right, the bot spoofer is just a web interface, am i right? if so, it will not work because your browser still hold the session you are using to access your site the regular way, so you are considered human. |
well phpbb have a similar variable condition to identify the spider bots, and the google bot spoofer works and the forum identify me as a spider so the page is displaying the spider conditions.... i think it should be the same for vbulletin
is there any other way to spoof a web crawler ? i really need to see how my page is displayed for spider bots |
All times are GMT. The time now is 08:02 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|