MyBB Community Forums

Full Version: Googlebot and private forum
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

Googlebot can read Thread in private forum !
How can I modif bot permission ?
I have make a research on myBB forum
and find the solution is on ./inc/class_session.php
But what do I have to modify ?

here my class_session.php :
class session
{
	var $sid = 0;
	var $uid = 0;
	var $ipaddress = "";
	var $useragent = "";
	var $botgroup = 1;
	var $is_spider = false;

	var $bots = array(
		"googlebot" => "GoogleBot",
		"lycos" => "Lycos.com",
		"ask jeeves" => "Ask Jeeves",
		"slurp@inktomi" => "Hot Bot",
		"whatuseek" => "What You Seek",
		"is_archiver" => "Archive.org",
		"scooter" => "Altavista",
		"fast-webcrawler" => "AlltheWeb",
		"grub.org" => "Grub Client",
		"turnitinbot" => "Turnitin.com",
		"msnbot" => "MSN Search",
		"yahoo" => "Yahoo! Slurp"
		);

Thanks
and strangest the default "Registered" group can't view the private forum !?
I created a groupe for "club member"

I don't believe Bots can actually read threads in private. It may show up that they do but they should have the same permissions as a guest.
How have you identified it is reading it?

The bots inherit the same permissions as unregistered users - $botgroup = 1 = Unregistered / Not Logged In.
here, I have a screenshot.
the trhead which googlebot according to Who' S Online reads is in private forum.

Only admin, modo and paddler ( a group i have created) can read in this forum
Awaiting Activation, Banned, Registered and Unregistered / Not Logged In can't read this forum
But, Googlebot yes :/

I have created 2 virtual member to test the registratian and permissions with
Registered and paddler group.

It says it is viewing it because you have permission to view that forum also.

GoogleBot would actually be receiving a "no permission" page.
But, I hope it's like you say.
Thanks for your support.
Ok, Great Thanks, for all your support Wink