Skip to content
FluxBB modification that integrates the Bad Behavior (http://www.bad-behavior.ioerror.us) script
PHP
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bad-behavior
AP_Bad_Behavior.php
bad-behavior-fluxbb.php
bad-behavior-mysql.php
readme.txt

readme.txt

##
##
##        Mod title:  Bad Behavior Integration for FluxBB
##
##      Mod version:  1.1.3
##  Works on FluxBB:  1.2.*, 1.4.*, 1.5.*
##     Release date:  2012-08-31
##           Author:  Smartys (smartys@punbb-hosting.com)
##
##      Description:  This mod integrates the Bad Behavior (http://www.bad-behavior.ioerror.us)
##                    script with FluxBB.
##
##   Affected files:  include/common.php
##
##       Affects DB:  Yes
##
##            Notes:  The database changes are installed automatically by the script when it is
##                    first loaded. Also, Bad Behavior's logging may not work well with
##                    PostgreSQL/SQLite: if that's true, logging can be disabled by setting
##                    the value of the 'logging' key of the $bb2_settings_defaults array in
##                    bad-behavior-fluxbb.php to false.
##
##                    This mod includes Bad Behavior version 2.2.8
##
##       DISCLAIMER:  Please note that "mods" are not officially supported by
##                    FluxBB. Installation of this modification is done at your
##                    own risk. Backup your forum database and any and all
##                    applicable files before proceeding.
##
##


#
#---------[ 1. UPLOAD ]-------------------------------------------------------
#

AP_Bad_Behavior.php to /plugins/
bad-behavior-fluxbb.php to /include/
bad-behavior-mysql.php to /include/
/bad-behavior/* to /include/bad-behavior/


#
#---------[ 2. OPEN ]---------------------------------------------------------
#

include/common.php


#
#---------[ 3. FIND ]-----------------------------------------------------------
#

// Check/update/set cookie and fetch user info
$pun_user = array();
check_cookie($pun_user);


#
#---------[ 4. BEFORE, ADD ]---------------------------------------------------
#

// BadBehavior will stop the spammers!
require PUN_ROOT.'include/bad-behavior-fluxbb.php';


#
#---------[ 5. SAVE/UPLOAD ]-------------------------------------------------
#
You can’t perform that action at this time.