Revision [8852]
This is an old revision of BadBehavior made by NilsLindenberg on 2005-06-06 10:20:30.
Bad Behavior
Bad Behavior is a set of PHP scripts which prevents spambots from accessing your site by analyzing their actual HTTP requests and comparing them to profiles from known spambots. It goes far beyond User-Agent and Referer, however. Bad Behavior is available for several PHP-based software packages, and also can be integrated in seconds into any PHP script. (quote from the homepage).
Integration in wikka
- download it
- unzip the file and make the following changes:
- to bad-behavior-generic.php:
- change
$wp_bb_email = "xx@example.com";to the address of the wiki-adim
- change the
function wp_bb_db_query($query)tofunction wp_bb_db_query($query) {
global $wakka;
return $wakka->Query($query);}
- change bad-behavior-database.php the $wp_bb_log to the table you want, like wikka_bb_blog for example.
- and upload its content to 3rdparty/plugins/bad-behavior/
- add the following line to wikka.php
//load 'bad-behavior'=> right before the
require_once("3rdparty/plugins/bad-behavior/bad-behavior-generic.php");// go !
Comments
- It needs testing --NilsLindenberg