-
Notifications
You must be signed in to change notification settings - Fork 1
/
readme.txt
executable file
·69 lines (55 loc) · 1.97 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
##
##
## 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 ([email protected])
##
## 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 ]-------------------------------------------------
#