The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Ban Spiders by User Agent Details »» | ||||||||||||||||||||||
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? https://vborg.vbsupport.ru/showpost....&postcount=105 Tools to help http://whatsmyuseragent.com/SwitchingUserAgents.asp http://www.botsvsbrowsers.com/SimulateUserAgent.asp FAQ https://vborg.vbsupport.ru/showpost....&postcount=137 What's a bot? http://en.wikipedia.org/wiki/Spambot How do i ban a bot? https://vborg.vbsupport.ru/showpost....&postcount=318 https://vborg.vbsupport.ru/showpost....7&postcount=51 Where's output.txt located? https://vborg.vbsupport.ru/showpost....&postcount=216 Bad bot lists https://vborg.vbsupport.ru/showpost....&postcount=259 https://vborg.vbsupport.ru/showpost....&postcount=224 https://vborg.vbsupport.ru/showpost....&postcount=281 VB4.x Version of Ban Spiders By User Agent Tested on vb3.7.x, vB3.8.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
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, Extra logging and statistics added by Ozzy47 (Chris) 18th December 2014 Version 3.1.2 uploaded, due to rogue process from other mod 18th December 2014 Version 3.1.3 uploaded, due to previous one being VB4 mistakingly uploaded 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
Supporters / CoAuthors Show Your Support
|
Comments |
#172
|
||||
|
||||
Ok lets do this, disable plugins via the includes/config.php file.
To do that open your includes/config.php file and below <?php add the following. PHP Code:
PHP Code:
Then you can import the updated XML, then reenable hooks. |
#173
|
|||
|
|||
Thanks.
|
#174
|
||||
|
||||
Not a problem.
|
#175
|
||||
|
||||
The only "bug" was, the new version was continuing to count bots even when off. Nothing to do with your login.
|
#176
|
||||
|
||||
Yes there was a conflict in the vB3 version with catching templates, that might have caused the described issue. But it is fixed now.
|
#177
|
||||
|
||||
Quote:
Imagine though if, the complaint really had to do with use of IE6.... |
#178
|
||||
|
||||
If anyone gets errors like this,
Invalid SQL: UPDATE `bad_bots_blocked` SET ban_useragent = ban_useragent + 1; Use the attached XML, I had one of my own updates to my own table in the XML, that should not have been in there. Simon can grab that XML, and update the OP when he comes on. |
#179
|
||||
|
||||
Quote:
|
#180
|
||||
|
||||
If you cant log in it's probably because you have something from your own User Agent in the ban list. use the links i give in the mod description to find out more about this, check the "Genuine Members getting blocked" section
|
#181
|
|||
|
|||
problem V 3.1.2
Fatal error: Cannot redeclare banned_redirect() (previously declared in /home4/XXXXXX/public_html/includes/class_bootstrap.php(103) : eval()'d code:7) in /home4/XXXXXX/public_html/includes/class_bootstrap.php(996) : eval()'d code on line 7 old version no problem |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|