Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
Bad Behavior Integration Details »»
Bad Behavior Integration
Version: 4.x, by SemperFideles SemperFideles is offline
Developer Last Online: Jun 2018 Show Printable Version Email this Page

Category: Integration with vBulletin - Version: 4.x.x Rating:
Released: 01-19-2010 Last Update: 01-07-2011 Installs: 23
Uses Plugins
Re-useable Code Additional Files Translations  
No support by the author.

This is a simple integration of the Bad Behavior Script. Bad Behavior is a PHP-based solution for blocking link spam and the robots which deliver it. Bad Behavior complements other link spam solutions by acting as a gatekeeper, preventing spammers from ever delivering their junk, and in many cases, from ever reading your site in the first place. This keeps your site?s load down, makes your site logs cleaner, and can help prevent denial of service conditions caused by spammers.

I use this in conjunction with the Project Honeypot addon and the vBStopForumSpam addon. The three ought to be considered a layered defense at reducing spam and other unwanted traffic to your site that simply consumes resources.

*NOTE: The Project Honeypot addon has now added Bad Behavior implementation, which makes this implementation superfluous if you are using that plugin. Do not install if you have the latest version of the Project Honeypot.

I don't want to take credit for implementation as the idea originated with this thread

This is a simple implementation of the script and it will work but it will not provide any logging. I'll leave it to others who know more about how to improve this to enable logging.

Installation instructions:

1. Extract the contents of the zip file and upload the contents of the upload folder to your forum root. (Note: Latest stable version of bad behaviour can always be found here
2. Install Product.

Updates:
01/21/2010: Created Product file in lieu of plugin code to make it easier to install/uninstall.
01/22/2010: Added Bad Behaviour files for convenience.
01/24/2010: Simplified installation and included the php code within the plugin for the generic implementation of Bad Behavior per simonhind's suggestion below.
01/09/2011: Updated BadBeheavior.zip and included bad-behaviour files to 2.0.39
Added BadBehavior2.1.8.zip to include 2.1.8 developmental version

Download Now

File Type: zip BadBehavior.zip (24.1 KB, 45 views)
File Type: zip BadBehavior2.1.8.zip (20.3 KB, 64 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #42  
Old 01-15-2011, 11:20 PM
Palehorse74480 Palehorse74480 is offline
 
Join Date: Nov 2010
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So if I have honeypot https://vborg.vbsupport.ru/showthread.php?t=233388 installed, I should UNINSTALL this? Not use them together?

I get this idea from this above:
Quote:
*NOTE: The Project Honeypot addon has now added Bad Behavior implementation, which makes this implementation superfluous if you are using that plugin. Do not install if you have the latest version of the Project Honeypot.
Reply With Quote
  #43  
Old 01-16-2011, 08:19 AM
SemperFideles's Avatar
SemperFideles SemperFideles is offline
 
Join Date: Oct 2006
Location: Northern VA
Posts: 223
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, I'm sorry I was not explaining myself well. I use the Project Honeypot addon (https://vborg.vbsupport.ru/showthread.php?t=233388) but I disable all the plugins that come bundled with it except the Project Honeypot addon.

I know that sounds confusing but that other product comes with several plugins. One of them slows down my site considerably and the other doesn't allow me to create articles. The Project Honeypot addon (which is a very simple implementation) works very well and when you get you own http:bl key from project honeypot you can see how it is detecting blacklisted ip's that try to get to your site.
Reply With Quote
  #44  
Old 01-24-2011, 10:11 PM
OldSchoolDSL OldSchoolDSL is offline
 
Join Date: Oct 2010
Posts: 1,196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Got the following error displayed above my header (above site logo) after I installed this:

PHP Code:
Warningarray_merge() [function.array-merge]: Argument #1 is not an array in [path]/includes/functions.php(7038) : eval()'d code on line 279

Warningarray_merge() [function.array-merge]: Argument #2 is not an array in [path]/includes/functions.php(7038) : eval()'d code on line 279

WarningCannot modify header information headers already sent by (output started at [path]/includes/class_core.php:5363in [path]/includes/bad-behavior/screener.inc.php on line 8 
This happen on 4.1.1

Disabling this modification seems to have resolved it, but of course that means I'm not using it.
Reply With Quote
  #45  
Old 01-29-2011, 10:55 PM
Alfa1's Avatar
Alfa1 Alfa1 is offline
 
Join Date: Dec 2005
Location: Netherlands
Posts: 3,537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SemperFideles View Post
I can think of a couple of things:

1. Did you upload the files in the new uploads folder in the zip download?
2. I was wrong that it worked with vb 3.x.

Sorry I can't help you more than that. My "Not Supported" notice on this gives you the disclaimer that I have it working for me and can offer a bit of help now and again but I can't promise it will work given the variety of ways people have their boards configured or install things. This was my first "product" addon and I built it by copying the xml format of other products. That xml format may be specific to 4.x fora.
Its option number 2, I am afraid.

This addon is very important and I really hope that someone will provide BB integration for vb 3. This will allow me to offload a substantial amount of server strain. It could postpone the need to buy new servers.
Reply With Quote
  #46  
Old 04-03-2011, 03:38 PM
Eric's Avatar
Eric Eric is offline
 
Join Date: May 2006
Location: Kentucky
Posts: 792
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Alfa1 View Post
Its option number 2, I am afraid.

This addon is very important and I really hope that someone will provide BB integration for vb 3. This will allow me to offload a substantial amount of server strain. It could postpone the need to buy new servers.
I'm working on something that has a deeper integration with vBulletin (viewable logs, options, etc) that will hopefully work for both vB3 and vB4. I'll be releasing as soon as I can.
Reply With Quote
  #47  
Old 04-06-2011, 12:27 AM
error10 error10 is offline
 
Join Date: Feb 2011
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, I'm the official author of the Bad Behavior core. Eric's port looks good at first glance, though I haven't fully tested it yet.
Reply With Quote
Reply

Thread Tools

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

Forum Jump


All times are GMT. The time now is 02:47 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04145 seconds
  • Memory Usage 2,299KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (6)postbit
  • (2)postbit_attachment
  • (7)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete