Topics

Allow bots / spiders / crawlers into your private vbulletin forums

There are some very complicated hacks to add but this one line script to do it.
This should be applied to VB 3.5.4
add these lines to the end of your init.php file located in forumroot\includes\init.php

if(preg_match("#(msnbot|Lycos_Spider|eMiragorobot|Slurp|Ask Jeeves|WebCrawler|Scooter|Google)#si", $_SERVER['HTTP_USER_AGENT']))
		$vbulletin->userinfo['usergroupid'] = 2;

Change the group number to whatever group you like or create new one.
To test this you need to change your user-agent that’s sent from your browser, you can easily do that using Firefox with Modify Headers extension
after you get them open modify headers

  1. Tools->modify headers.
  2. change ‘select’ to ‘add’ then add ‘User-Agent’ then ‘Mozilla/5.0 (compatible; googlebot/2.1; +http://www.google.com/bot.html) ‘
  3. press save and enable that line

You should enter any private forum that’s opened for bots now apart from some forums which check ip and compare to the bots ips, then you just need to visit bugmenot.

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close