vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Miscellaneous Hacks - Ban Spiders by User Agent (https://vborg.vbsupport.ru/showthread.php?t=264932)

ponydaddy 09-08-2011 06:58 PM

any way this will work on 4.1.5 PL1

Simon Lloyd 09-08-2011 07:32 PM

Uninstall this version and install the version for vb4.x.x https://vborg.vbsupport.ru/showthread.php?t=268208

ForceHSS 09-08-2011 09:18 PM

both of the files are the same why install the other one when both are the same?

ponydaddy 09-08-2011 11:30 PM

force is right both are the same. Any way will install the other one

Simon Lloyd 09-09-2011 07:53 AM

Quote:

Originally Posted by ForceHSS (Post 2243625)
both of the files are the same why install the other one when both are the same?

Quote:

Originally Posted by ponydaddy (Post 2243682)
force is right both are the same. Any way will install the other one

Yes they are but vb3.x.x and vb4.x.x are different and produce different errors...etc to each other, it would be wrong to confuse a vb3 thread with answers to vb4 errors :)

Simon Lloyd 09-09-2011 08:15 AM

List of bad bots added in modification description, please remember to prune out all those that you wish to be able to see your site!

Lee G 09-18-2011 11:17 AM

Good to see this one has not been abandoned like another mod seems on here :up:
If we want to add blocks on other user agents that have spaces in them ie Windows XP, MSIE 7.0b or MSIE 5.0

Would it be a simple case of Windows\XP MSIE\5

With \ indicating the space

If anyone wonders why those three have been singles out, there is no such user agent as Windows XP, MSIE 5 is god knows how many years old and MSIE 7.0b is a beta version and windows auto updates

Simon Lloyd 09-18-2011 11:52 AM

Lee, the mod looks for a text match so "Windows\XP" will be different to "Windows XP" although i will do some testing as i've had a minor issue raised in the vb4 version that a single user can't login and gets redirected but nothing in his UA matches anything in their list, so it may be a partial match where there is a space.........i'll post back when the issue has been investigated and resolved.

Lee G 09-18-2011 02:57 PM

Been having a play and its beyond simple for banning them :up:
Windows XP is just that. Windows 3.1. 95 and ME were those endings in the user agents, but XP is a fake one. Microsoft changed how it was displayed in the user agent to Windows NT 5.1

I run a test on bots vrs browsers user agent test if a block is working
http://www.botsvsbrowsers.com/SimulateUserAgent.asp

Add the user agent to admin cp and then do a test there to see if its killed them.
In your file you have SOSO from China, they have now changed their user agent to jikespider

Simon Lloyd 09-18-2011 03:26 PM

Lee, thanks for info and the testing, so as i said "windows xp" is different to "windows\xp" in your test?


All times are GMT. The time now is 04:13 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01268 seconds
  • Memory Usage 1,734KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete