Hack: Bad Behavior for WackoWiki
Author: WackoWiki plugin module created by Sergey Martynoff. Feel free to write me to: sergey AT martynoff DOT info
It is not in Bad Behavior release yet, so you can download it at
http://martynoff.info/bad-behavior-wackowiki.shtml
About
Bad Behavior is a spam protection system for blog, forum or wiki written in php.
WackoWiki is nice wiki system written in php.
Download
Latest Bad Behavior release:
http://www.bad-behavior.ioerror.us/download/
Bad-Behavior plugin for WackoWiki:
bad-behavior-wackowiki.zip
Installation
WackoWiki does not support automatic installation of plugins, so a few manual actions are needed
- First, download latest Bad Behavior release from official site and unzip to your site directory (I guess you've already done that). Then unzip bad-behavior-wackowiki.zip into the Bad-Behavior folder (so that bad-behavior-wackowiki.php and bad-behavior-generic.php reside in one folder).
- Then open wakka.php (located in root directory of you WackoWiki) in editor and find this line (usually in the bottom of the file):
$pg = $wacko->Run($page, $method);
Insert the following line just BEFORE the located line:
require_once("/path/to/Bad-Behavior/bad-behavior-wackowiki.php");
- If you like to enable screener cookie for advanced protection, go to /themes/YOUR_THEME/appearance/ folder (where YOUR_THEME is the name of theme used on your site), open header.php in editor and add the folowing line somewhere (e.g. before the closing "</head>" tag):
<?php bb2_insert_head() ?>
That's all – now go to your site and check if it is still working ;)