Version Description
Download this release
Release Info
Developer | error |
Plugin | Bad Behavior |
Version | 2.0.16 |
Comparing to | |
See all releases |
Code changes from version 2.0.15 to 2.0.16
- README.txt +39 -9
- bad-behavior-wordpress.php +1 -1
- bad-behavior/admin.inc.php +4 -1
- bad-behavior/version.inc.php +1 -1
README.txt
CHANGED
@@ -4,12 +4,40 @@ Contributors: error, MarkJaquith, Firas, skeltoac
|
|
4 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=error%40ioerror%2eus&item_name=Bad%20Behavior%20%28From%20WordPress%20Page%29&no_shipping=1&cn=Comments%20about%20Bad%20Behavior&tax=0¤cy_code=USD&bn=PP%2dDonationsBF&charset=UTF%2d8
|
5 |
Requires at least: 1.2
|
6 |
Tested up to: 2.6
|
7 |
-
Stable tag: 2.0.
|
8 |
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
|
14 |
== Installation ==
|
15 |
|
@@ -52,11 +80,13 @@ from the Bad Behavior home page at http://www.bad-behavior.ioerror.us/ .
|
|
52 |
|
53 |
* Bad Behavior may be unable to protect cached pages on MediaWiki.
|
54 |
|
55 |
-
* On WordPress when using WordPress Advanced Cache (WP-Cache)
|
56 |
-
requires a patch to WP-Cache 2 in order to protect
|
|
|
57 |
|
58 |
-
Edit the wp-content/plugins/wp-cache/wp-cache-phase1.php
|
59 |
-
|
|
|
60 |
|
61 |
` if (! ($meta = unserialize(@file_get_contents($meta_pathname))) )
|
62 |
return;`
|
4 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=error%40ioerror%2eus&item_name=Bad%20Behavior%20%28From%20WordPress%20Page%29&no_shipping=1&cn=Comments%20about%20Bad%20Behavior&tax=0¤cy_code=USD&bn=PP%2dDonationsBF&charset=UTF%2d8
|
5 |
Requires at least: 1.2
|
6 |
Tested up to: 2.6
|
7 |
+
Stable tag: 2.0.16
|
8 |
|
9 |
+
Welcome to a whole new way of keeping your blog, forum, guestbook, wiki or
|
10 |
+
content management system free of link spam. Bad Behavior is a PHP-based
|
11 |
+
solution for blocking link spam and the robots which deliver it.
|
12 |
+
|
13 |
+
Bad Behavior complements other link spam solutions by acting as a gatekeeper,
|
14 |
+
preventing spammers from ever delivering their junk, and in many cases, from
|
15 |
+
ever reading your site in the first place. This keeps your site's load down,
|
16 |
+
makes your site logs cleaner, and can help prevent denial of service
|
17 |
+
conditions caused by spammers.
|
18 |
+
|
19 |
+
Bad Behavior also transcends other link spam solutions by working in a
|
20 |
+
completely different, unique way. Instead of merely looking at the content of
|
21 |
+
potential spam, Bad Behavior analyzes the delivery method as well as the
|
22 |
+
software the spammer is using. In this way, Bad Behavior can stop spam attacks
|
23 |
+
even when nobody has ever seen the particular spam before.
|
24 |
+
|
25 |
+
Bad Behavior is designed to work alongside existing spam prevention services
|
26 |
+
to increase their effectiveness and efficiency. Whenever possible, you should
|
27 |
+
run it in combination with a more traditional spam prevention service.
|
28 |
+
|
29 |
+
Bad Behavior works on, or can be adapted to, virtually any PHP-based Web
|
30 |
+
software package. Bad Behavior is available natively for WordPress, MediaWiki,
|
31 |
+
Drupal, ExpressionEngine, and LifeType, and people have successfully made it
|
32 |
+
work with Movable Type, phpBB, and many other packages.
|
33 |
+
|
34 |
+
Installing and configuring Bad Behavior on most platforms is simple and takes
|
35 |
+
only a few minutes. In most cases, no configuration at all is needed. Simply
|
36 |
+
turn it on and stop worrying about spam!
|
37 |
+
|
38 |
+
The core of Bad Behavior is free software released under the GNU General
|
39 |
+
Public License. (On some non-free platforms, special license terms exist for
|
40 |
+
Bad Behavior's platform connector.)
|
41 |
|
42 |
== Installation ==
|
43 |
|
80 |
|
81 |
* Bad Behavior may be unable to protect cached pages on MediaWiki.
|
82 |
|
83 |
+
* On WordPress when using WordPress Advanced Cache (WP-Cache) or WP-Super
|
84 |
+
Cache, Bad Behavior requires a patch to WP-Cache 2 in order to protect
|
85 |
+
cached pages.
|
86 |
|
87 |
+
Edit the wp-content/plugins/wp-cache/wp-cache-phase1.php or
|
88 |
+
wp-content/plugins/wp-super-cache/wp-cache-phase1.php file and find the
|
89 |
+
following two lines at around line 34 (line 56 in WP-Super Cache):
|
90 |
|
91 |
` if (! ($meta = unserialize(@file_get_contents($meta_pathname))) )
|
92 |
return;`
|
bad-behavior-wordpress.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Bad Behavior
|
4 |
-
Version: 2.0.
|
5 |
Description: Deny automated spambots access to your PHP-based Web site.
|
6 |
Plugin URI: http://www.bad-behavior.ioerror.us/
|
7 |
Author: Michael Hampton
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Bad Behavior
|
4 |
+
Version: 2.0.16
|
5 |
Description: Deny automated spambots access to your PHP-based Web site.
|
6 |
Plugin URI: http://www.bad-behavior.ioerror.us/
|
7 |
Author: Michael Hampton
|
bad-behavior/admin.inc.php
CHANGED
@@ -44,9 +44,12 @@ function bb2_options()
|
|
44 |
if ($_POST['logging'] == 'verbose') {
|
45 |
$settings['verbose'] = true;
|
46 |
$settings['logging'] = true;
|
47 |
-
} else {
|
48 |
$settings['verbose'] = false;
|
49 |
$settings['logging'] = true;
|
|
|
|
|
|
|
50 |
}
|
51 |
} else {
|
52 |
$settings['verbose'] = false;
|
44 |
if ($_POST['logging'] == 'verbose') {
|
45 |
$settings['verbose'] = true;
|
46 |
$settings['logging'] = true;
|
47 |
+
} else if ($_POST['logging'] == 'normal') {
|
48 |
$settings['verbose'] = false;
|
49 |
$settings['logging'] = true;
|
50 |
+
} else {
|
51 |
+
$settings['verbose'] = false;
|
52 |
+
$settings['logging'] = false;
|
53 |
}
|
54 |
} else {
|
55 |
$settings['verbose'] = false;
|
bad-behavior/version.inc.php
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
<?php if (!defined('BB2_CWD')) die("I said no cheating!");
|
2 |
-
define('BB2_VERSION', "2.0.
|
3 |
?>
|
1 |
<?php if (!defined('BB2_CWD')) die("I said no cheating!");
|
2 |
+
define('BB2_VERSION', "2.0.16");
|
3 |
?>
|