• [MOD] Treat bots as users with less rights 3 0 5 1
Currently:  

Author Topic: [MOD] Treat bots as users with less rights  (Read 142211 times)

0 Members and 1 Guest are viewing this topic.

Rembrandt

  • Guest
Re: [MOD] Treat bots as users with less rights
« Reply #90 on: December 31, 2013, 06:06:38 AM »
Hi!
.....
{ifnot is_bot} ... {endifnot is_bot}
....
That's right...

use the original  V.1.7.10-11 "template.php"
search in the session.php:

    $user_bot 
1
    break;

and replace:

    $user_bot 
1
   
// break;


mfg Andi
« Last Edit: December 31, 2013, 06:26:31 AM by Rembrandt »

Rembrandt

  • Guest
Re: [MOD] Treat bots as users with less rights
« Reply #91 on: December 31, 2013, 10:47:02 AM »
your code looks good,  but i am not sure what do you want with the functions.php?
next question, have you user "searchbot"  to the correct usergroup added?

this is my list:

$robots 
= array(
	
"FAST-WebCrawler" => "searchbot",
	
"Gulliver" => "searchbot",
	
"AltaVista" => "searchbot",
	
"Alexibot" => "searchbot",
	
"asterias" => "searchbot",
	
"BackDoorBot" => "searchbot",
	
"Black.Hole" => "searchbot",
	
"BlowFish" => "searchbot",
	
"BotALot" => "searchbot",
	
"NPBot" => "searchbot",
	
"Pompos" => "searchbot",
	
"Scooter" => "searchbot",
	
"SiteSnagger" => "searchbot",
	
"Slurp" => "searchbot",
	
"WebmasterWorldForumBot" => "searchbot",
	
"zyborg" => "searchbot",
	
"Google" => "searchbot",
  
"Googlebot" => "searchbot",
  
"Googlebot-Image" => "searchbot",
	
"msnbot" => "searchbot",
	
"ZACATEK_CZ_BOT" => "searchbot",
	
"EARTHCOM.info" => "searchbot",
	
"sherlock" => "searchbot",
	
"Holmes" => "searchbot",
	
"ia_archiver" => "searchbot",
	
"lwp-trivial" => "searchbot",
	
"appie" => "searchbot",
	
"Scooter" => "searchbot",
	
"Gigabot" => "searchbot",
	
"Wget" => "searchbot",
	
"jyxobot" => "searchbot",
	
"Xenu Link Sleuth" => "searchbot",
	
"SeznamBot" => "searchbot",
  
"ia_archiver" => "searchbot"
  
"Yahoo! Slurp" => "searchbot",
  
"Yahoo"  => "searchbot",
  
"help\.yahoo\.com" => "searchbot"
);