MyBB Community Forums

Full Version: GoogleBot, Yahoo! Slurp Permissions
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How do I allow GoogleBot, Yahoo! Slurp to access the private forums so that they can index the pages for the ads

I would assume that I need to make them registered members but how do I do that Big Grin
Any suggestions Shy
Create a user group for them and assign them necessary permissions.

You then need to fetch the user group ID (gid) (Tip: view the source of the user groups page and look for the corresponding gid=[x] URL for the group.)

Open up inc/class_session.php and change:

var $botgroup = 1;

To

var $botgroup user group ID here;

Your bots will then be in a different group.

Make sure however you disable posting and any other permissions otherwise users will be able to pretend they're a bot and access/do things they shouldn't be.
Thanks Chris I will try that tomorrow!
Can we get this configurable in the admincp? It could be extremely useful for controlling the behavior of bots. I don't want to change even 1 line of code in core files.
We can't give away all the new features in 1.4 labrocca! Wink