Jump to content

user agent permissions


IPS_Fan

Recommended Posts

No. The setting I am talking about is one where you can set the bots to have the same access as a given group on your forum. So, they can be guests, or have a higher access, if you so desire. They can also be forced to "view" a certain skin.

I am still unable to find these settings. Do they still exist in v3.0?

Link to comment
Share on other sites

That was perhaps a setting in either very old versions of IPB, where the bots could be served the lo-fi skin. Or more recently it was a setting for CommunitySEO. Did you use CSEO?

I wouldn't give the bots anymore permissions than guests, nor less. I'd not serve a different skin to bots either.

What are you trying to do, it's possible you could do what you want, in some other way.

Link to comment
Share on other sites

Okay. Thanks, guys.

I just noticed that one of the bots was showing up on a hidden forum. It wasn't a media or an adsense bot. So, I wanted to make sure they could not crawl the hidden forums on my site.

The bot was proximic.

Oh, I have always set bot permissions as the same as guests.

Thanks for your input.

Link to comment
Share on other sites

  • 2 years later...

also I would permise to user agent to index pages... but force login to others visitors (200 visitors(returning 80%), 20 logged medium)

there are skin issue if i override it with a php condition sad.png

update: i am trying, but not know it work unsure.png

if( ! ipsRegistry::member()->is_not_human )
{
 define( 'IPS_ENFORCE_ACCESS', TRUE );
}
Link to comment
Share on other sites

also tried:

$bots = array(
	'Googl(e|ebot)(-Image)?/',
	'Googl(e|ebot)(-Mobile)?/',
	'^ia_archive',
	'Ask[ -]?Jeeves',
	'facebookexternalhit/([0-9.]{1,10})',
	'bingbot[ /]([0-9.]{1,10})',
	'Yahoo(.*?)(Slurp|FeedSeeker)'
);
if( isset($_SERVER['HTTP_USER_AGENT']) &&  ! defined( 'IPS_ENFORCE_ACCESS' ) )
{
	foreach($bots as $bot){
		$regex = str_replace( '#', '#', $bot );
		if( !preg_match('#{$regex}#i', $_SERVER['HTTP_USER_AGENT']) )
		{
			continue;
		}
		else
		{
			define( 'IPS_ENFORCE_ACCESS', TRUE );
			break;
		}
		unset($regex);
	}
}
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...