Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Ban Spiders by User Agent Details »
Ban Spiders by User Agent
Mod Version: 3.1.2, by Simon Lloyd (Coder) Simon Lloyd is offline
Developer Last Online: Aug 2019 I like it Show Printable Version Email this Page

vB Version: 4.x.x Rating: (64 votes - 4.86 average) Installs: 483
Released: 09 Aug 2011 Last Update: 18 Dec 2014 Downloads: 1910
Supported Uses Plugins  

What this mod does
With this mod you can enter User Agents to watch or ban, you can also recieve emails or have an Output.txt created and updated with time and date of visits. It doesn't just have to be spiders, you can watch, log or ban any useragent!

How to install
Simply import the product ban_spider, the mod is active by default but none of the other options are turned on.

What is a UserAgent?
http://en.wikipedia.org/wiki/User_agent

Understanding a UserAgent string
http://user-agent-string.info/parse

Genuine User Getting Blocked?
http://www.vbulletin.org/forum/showp...&postcount=105

Tools to help
http://whatsmyuseragent.com/SwitchingUserAgents.asp
http://www.botsvsbrowsers.com/SimulateUserAgent.asp

FAQ
http://www.vbulletin.org/forum/showp...&postcount=137

How does it work?
http://www.vbulletin.org/forum/showp...&postcount=381

What's a bot?
http://en.wikipedia.org/wiki/Spambot

How do i ban a bot?
http://www.vbulletin.org/forum/showp...&postcount=318
http://www.vbulletin.org/forum/showp...7&postcount=51

Where's output.txt located?
http://www.vbulletin.org/forum/showp...&postcount=216

Bad bot lists
http://www.vbulletin.org/forum/showp...&postcount=259
http://www.vbulletin.org/forum/showp...&postcount=224
http://www.vbulletin.org/forum/showp...&postcount=281

Tested on vb3.7.x, vB3.8.x , vB4.x.x but should work on any version.

____________________________________________________________________
Special thanks to:
Lior
KH99
BoP5
for helping me sort out a few issues

...and beta testers

ForceHSS (Special thanks to Force for latest testing)
ozzy47
GreyHost

If you use this please mark as INSTALLED

History
9th June 2011 Orginal xml added
12th June 2011 Added both email notification and text file logging
22nd June 2011 Version 2.0.0, Added create thread on activity
  1. Added match facility you can now use something like Yandex and it will match MOZILLA/5.0 (COMPATIBLE; YANDEXBOT/3.0; +HTTP://YANDEX.COM/BOTS)
  2. Added clickable link to visited thread
22nd September 2011 added user redirect url selection
08th October Beta testing started for thread creation.
20th October Beta testing started for emailing.
21st October Beta testing complete Ver 3.0.0 uploaded
29th October minor fix added to cope with empty userid on thread creation
30th October Beta testing automatic redirection to spiders/bots IP
31st October New xml uploaded with automatic redirect to IP
25th November Minor fix for blank forumid fixed
26th November 2011 Fixed version check & create thread Off by default
17th December 2014 Version 3.1.0 uploaded, Hook changed extra logging and statistics added by Ozzy47 (Chris)
18th December 2014 Version 3.1.1 uploaded, prevented spiders being counted when mod turned off.
17th December 2014 Version 3.1.2 uploaded, due to rogue code from another mod
The Bad Bots list is now included in the product
Please prune out all those that you wish to be able to see your site (i suggest you definately prune out "DA" and "Custo" :

Support will now only be given to those who have this mod marked as INSTALLED

Download Now

Only licensed members can download files, Click Here for more information.

Supporters / CoAuthors

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Miscellaneous Hacks Ban Spiders by User Agent Simon Lloyd vBulletin 3.8 Add-ons 188 20 Jul 2015 12:34

  #781  
Old 02 May 2015, 17:22
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Real name: Simon
Lol thanks for that, although it kind makes it unique
__________________
Kind regards,
Simon Microsoft Office Help
My Mods: Find my modifications here
Please do not pm me for support unless i have invited you to!
Reply With Quote
  #782  
Old 02 May 2015, 20:16
ForceHSS's Avatar
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Thanks to ozzy was getting a error with this mod he was kind enough to help fix the problem. If you want access to my site Simon to see the fix I can give it to you pm me if you need it
Reply With Quote
  #783  
Old 02 May 2015, 20:24
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Real name: Chris
I think it was unique to your site, as I don't remember getting that error in the logs when I was running this mod.
__________________
You can get access to my 180 mods for vB 3.6 - 4.x at The Admin Zone as well as the professional support you are used to. New vBulletin Spider Definitions, vBulletin Spiders List Hits 1000 Spiders! ​ OzzModz down. Site has had a data breach, checking how the intrusion happened. Change your PW if you use the same one on my site and others.
Reply With Quote
  #784  
Old 02 May 2015, 20:35
ForceHSS's Avatar
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Maybe other mods were messing this one up hard to know if you want to post the fix you done, please do then Simon can run whatever tests he needs
Reply With Quote
  #785  
Old 01 Jun 2015, 03:54
rob01 rob01 is offline
 
Join Date: Sep 2008
Real name: robert
Spiders/Bots Activity Blocked From Site: 4,052


i got this, any idea?
Reply With Quote
  #786  
Old 01 Jun 2015, 04:20
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Real name: Simon
got it where? how?
__________________
Kind regards,
Simon Microsoft Office Help
My Mods: Find my modifications here
Please do not pm me for support unless i have invited you to!
Reply With Quote
  #787  
Old 05 Sep 2015, 21:10
adnedarn adnedarn is offline
 
Join Date: Jan 2007
Real name: Andrew
I've had this installed for a while but recently went to check the logs and it hasn't had any updates in a loooong time. So I deleted the log file and uninstalled the mod. Then reinstalled the mod, set the settings back up and it is showing on the bottom of my forum that spiders are being blocked, but hasn't recreated the log file... I tried manually making the file and setting the permissions but it still didn't write to it. Any ideas?
Thanks!
Andrew
__________________
www.terraforums.com (Carnivorous plant discussions)
Reply With Quote
  #788  
Old 13 Nov 2015, 04:08
leeluther252 leeluther252 is offline
 
Join Date: Feb 2006
installed
Reply With Quote
  #789  
Old 13 Nov 2015, 04:49
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Real name: Simon
Originally Posted by adnedarn View Post
I've had this installed for a while but recently went to check the logs and it hasn't had any updates in a loooong time. So I deleted the log file and uninstalled the mod. Then reinstalled the mod, set the settings back up and it is showing on the bottom of my forum that spiders are being blocked, but hasn't recreated the log file... I tried manually making the file and setting the permissions but it still didn't write to it. Any ideas?
Thanks!
Andrew
Chances are you dont have permissions to write to the location it's trying to create the log at, if you do then the log permissions need looking at, you'll have to CHMOD them on your server so you can write to it.
__________________
Kind regards,
Simon Microsoft Office Help
My Mods: Find my modifications here
Please do not pm me for support unless i have invited you to!
Reply With Quote
  #790  
Old 08 Apr 2016, 21:08
MrPink MrPink is offline
 
Join Date: Jun 2013
Installed. Let's see what we get!
Reply With Quote
  #791  
Old 16 May 2016, 04:24
nikosb nikosb is offline
 
Join Date: Dec 2008
Real name: Nikos
Installed....works great
__________________
Supa mou pes
Reply With Quote
  #792  
Old 29 May 2016, 19:36
markoroots markoroots is offline
 
Join Date: May 2013
Real name: Marco Miglietta
PLEEEEEEEEEEEEASEEEEEEE HELPPPPPPPPPPPPPPP

I have setted the plugin to redirect to the ip of the bots there are in the list, but it redirect everyone to the own ip, so the site is from today inaccessible.
How can I delete manually the plugin from ftp for a while??

Thanks in advance

Last edited by markoroots; 29 May 2016 at 19:57.
Reply With Quote
  #793  
Old 29 May 2016, 20:33
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Originally Posted by markoroots View Post
PLEEEEEEEEEEEEASEEEEEEE HELPPPPPPPPPPPPPPP

I have setted the plugin to redirect to the ip of the bots there are in the list, but it redirect everyone to the own ip, so the site is from today inaccessible.
How can I delete manually the plugin from ftp for a while??

Thanks in advance
Download your file "includes/config.php" and add this to the top, right below "<?php":


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Then go into the AdminCP and disable the mod, then comment out the line you added to config.php to re-enable your plugin hooks.
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #794  
Old 29 May 2016, 20:36
markoroots markoroots is offline
 
Join Date: May 2013
Real name: Marco Miglietta
Magic Mark!
Really thank you... I was waiting this answer like water in the desert...
Thanks... I'm trying.
Reply With Quote
  #795  
Old 29 May 2016, 21:23
markoroots markoroots is offline
 
Join Date: May 2013
Real name: Marco Miglietta
Thumbs up

Wow MarkFL you rock!!

Really many thanks you really save me... All the day that no one was understanding what was going on.
This bug would be resolved....

Thanks again Mark I wish you all the best.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 00:10.

Layout Options | Width: Wide Color: