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)

Simon Lloyd 04-19-2014 06:22 AM

The way this system here at .org works it tells me if you have downloaded the mod and im afraid it doesn't show downloaded against your name.

To be clear, this mod does not have any residual elements, remove it and everything to do with the mod is removed, there isn't any maintained list or database entries, if the user is still being blocked it's something else on your forum like the cache timeout or indeed their caching.

This mod will only block whatever you enter as a string to look for in the UA, post me the list as you had it so I can help, saying it blocked someone is like me telling you I bought a car and it doesn't work, any help?

And i'm always chilled :D

SEAda 04-21-2014 11:40 AM

Quote:

Originally Posted by Simon Lloyd (Post 2493798)
The way this system here at .org works it tells me if you have downloaded the mod and im afraid it doesn't show downloaded against your name.

To be clear, this mod does not have any residual elements, remove it and everything to do with the mod is removed, there isn't any maintained list or database entries, if the user is still being blocked it's something else on your forum like the cache timeout or indeed their caching.

This mod will only block whatever you enter as a string to look for in the UA, post me the list as you had it so I can help, saying it blocked someone is like me telling you I bought a car and it doesn't work, any help?

And i'm always chilled :D

Thank you for your help and I apologise if it seemed as if I was disparaging your mod in anyway. It will get a high rating from me.

SEAda 04-21-2014 11:59 AM

I cleared system cache in vBulletin and it resolved my issue. Thanks!

Simon Lloyd 04-21-2014 01:18 PM

You should still post your list so I can give you help on things you may have in it that could cause you further issues.

Gadget_Guy 09-15-2014 04:42 PM

Hi,

I am ditching another spam management product in favour for the ones being suggested by Ozzymods.

This happens to be one piece of the puzzle.


Question....

What should I be doing for the options:

Redirect to spiders own IP?

and

Redirect URL?


Do I say "Yes" to the redirect?

What is the best thing to put in the redirect URL box?

It says this now: www.klikhierniet.net which is the default, but not sure what good this url does or if it should be something else.


D.

Simon Lloyd 09-15-2014 06:14 PM

You can either redirect to a url or back to their own IP its a matter of choice, selecting YES for back to their ip is favourite :)

The default url translates to "Don't click here", you can click it and see what they are faced with.

Simon Lloyd 12-17-2014 04:40 PM

Updated product uploaded.

Simon Lloyd 12-17-2014 05:55 PM

If anyone downloaded the new version before I posted this message please download it again and overwrite the previous one, the first update had a bug :)

hotshot 12-17-2014 06:03 PM

Thanks for the heads up!

Doug Nelson 12-17-2014 08:00 PM

Is this the bug that is keeping me from logging in since I installed it?

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

Simon Lloyd 12-18-2014 05:36 AM

Quote:

Originally Posted by Alex6969 (Post 2527863)
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

Thats the VB4 version? did you download it from this thread?

Simon Lloyd 12-18-2014 05:48 AM

Quote:

Originally Posted by Alex6969 (Post 2527863)
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

Resolved, new attachment to mod description is the correct version :)

adwade 12-18-2014 04:46 PM

Quote:

Originally Posted by Simon Lloyd (Post 2527858)
Today, 01:58 New XML uploaded as requested, labelled version 3.1.2

ha, ha Of course I downloaded it at 01:32 today :eek:, so seeing this I just re-downloaded and re-imported. Thanxx for the updates! :cool:

Simon Lloyd 12-18-2014 06:44 PM

You imported with overwrite right?, hopefully all should be good - thanks goes to Ozzy47 for the additional functions like stats...etc

ozzy47 12-18-2014 07:53 PM

Nah, the thanks goes to you, for bringing the mod to the community in the first place. :)

adwade 12-18-2014 08:23 PM

Quote:

Originally Posted by Simon Lloyd (Post 2527954)
You imported with overwrite right?

Yes, that is correct! :up:

ozzy47 12-18-2014 08:25 PM

Quote:

Originally Posted by adwade (Post 2527963)
Yes, that is correct! :up:

Then you now should be fine. :)

Alex6969 12-18-2014 09:18 PM

<font color="Red">All ok.....problem solved.......thanks SIMON !!!</font>

X-or 07-20-2015 10:34 AM

nice mod but after updating to vb 4.2.3 I'm getting a php warning :

PHP User Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: bs_blocked in ..../includes/functions.php on line 4602

someone could fix this please? this is one very useful mod


All times are GMT. The time now is 12:52 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.01844 seconds
  • Memory Usage 1,784KB
  • 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
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (29)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