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)#", $_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; + ‘
  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.

  • Muhammad

    Thanks for sharing.
    I am looking for

  • Bot Developer

    This is great, I was looking for it for about a month, thanks a lot.