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)

ozzy47 12-17-2014 08:16 PM

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:

define('DISABLE_HOOKS'true); 

So it looks like this:
PHP Code:

<?php
define
('DISABLE_HOOKS'true);
/*=================================================  =====================*\
|| ##################################################  ################## ||
|| # vBulletin 4.2.2

Use a editor like notepad++ to edit any files, don't use Notepad or Wordpad.

Then you can import the updated XML, then reenable hooks.

Doug Nelson 12-17-2014 08:23 PM

Thanks.

ozzy47 12-17-2014 10:15 PM

Not a problem. :)

Max Taxable 12-17-2014 10:17 PM

Quote:

Originally Posted by Doug Nelson (Post 2527748)
Is this the bug that is keeping me from logging in since I installed it?

The only "bug" was, the new version was continuing to count bots even when off. Nothing to do with your login.

ozzy47 12-17-2014 10:23 PM

Yes there was a conflict in the vB3 version with catching templates, that might have caused the described issue. :) But it is fixed now.

Max Taxable 12-17-2014 10:25 PM

Quote:

Originally Posted by ozzy47 (Post 2527774)
Yes there was a conflict in the vB3 version with catching templates, that might have caused the described issue. :) But it is fixed now.

Ahh, didn't realize what thread this was!

Imagine though if, the complaint really had to do with use of IE6....

ozzy47 12-18-2014 12:24 AM

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.

Simon Lloyd 12-18-2014 04:58 AM

Quote:

Originally Posted by ozzy47 (Post 2527824)
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.

New XML uploaded as requested, labelled version 3.1.2

Simon Lloyd 12-18-2014 05:16 AM

Quote:

Originally Posted by Doug Nelson (Post 2527748)
Is this the bug that is keeping me from logging in since I installed it?

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 :)

Alex6969 12-18-2014 05:31 AM

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


All times are GMT. The time now is 06:40 AM.

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.01388 seconds
  • Memory Usage 1,740KB
  • 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_php_printable
  • (4)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