[pLog-svn] r5254 - plog/branches/lifetype-1.2/plugins/badbehavior
reto at devel.lifetype.net
reto at devel.lifetype.net
Sun Apr 1 09:08:16 EDT 2007
Author: reto
Date: 2007-04-01 09:08:16 -0400 (Sun, 01 Apr 2007)
New Revision: 5254
Modified:
plog/branches/lifetype-1.2/plugins/badbehavior/pluginbadbehavior.class.php
plog/branches/lifetype-1.2/plugins/badbehavior/readme.txt
Log:
fixed typo and adjusted the readme (in case a user stumbles on it)
Modified: plog/branches/lifetype-1.2/plugins/badbehavior/pluginbadbehavior.class.php
===================================================================
--- plog/branches/lifetype-1.2/plugins/badbehavior/pluginbadbehavior.class.php 2007-04-01 13:02:20 UTC (rev 5253)
+++ plog/branches/lifetype-1.2/plugins/badbehavior/pluginbadbehavior.class.php 2007-04-01 13:08:16 UTC (rev 5254)
@@ -9,7 +9,7 @@
class PluginBadBehavior extends PluginBase
{
var $_logTable;
- var $_diasplyStatus;
+ var $_displayStatus;
function PluginBadBehavior()
{
@@ -24,7 +24,7 @@
$config =& Config::getConfig();
$prefix = Db::getPrefix();
$this->_logTable = $prefix . $config->getValue( 'bb2_log_table' );
- $this->_displayStatus = $config->getValue( 'bb2_display_stats' );
+ $this->_displayStatus = $config->getValue( 'bb2_display_status' );
}
/**
Modified: plog/branches/lifetype-1.2/plugins/badbehavior/readme.txt
===================================================================
--- plog/branches/lifetype-1.2/plugins/badbehavior/readme.txt 2007-04-01 13:02:20 UTC (rev 5253)
+++ plog/branches/lifetype-1.2/plugins/badbehavior/readme.txt 2007-04-01 13:08:16 UTC (rev 5254)
@@ -1,25 +1,18 @@
Plugin: Bad Behavior Integration
Author: The LifeType Team
Release Date: 2006/07/25
-Version: 1.0
-This plugin offers anti-spam protection powerd by bad behavior http://error.wordpress.com/
+This plugin offers anti-spam protection powered by Bad Behavior (http://www.bad-behavior.ioerror.us/).
-1. Copy the badbehavior folder to your plugins folder
-2. Add the following lines to the top of index.php (try after the
- other include_once lines)
+Although Bad Behavior is already included with LifeType since version 1.2 you might need to configure your template to take full advantage of Bad Behavior. Follow the steps below to add Bad Behavior to your template.
- // Bad Behavior Check, hope this can stop most spam comments and trackbacks
- include_once( PLOG_CLASS_PATH."plugins/badbehavior/index.inc.php" );
+1. Refresh the plugin center until you see the badbehavior plugin appers.
+2. Add the following scripts to header.template between <head></head>
-3. Refresh the plugin center until you see the badbehavior plugin appers.
-4. Add the following scripts to header.template between <head></head>
-
{if !empty($badbehavior)}
{$badbehavior->showBB2JavaScript()}
{/if}
-5. That's All
You also can use the followings method to get some useful information:
1. Use {$badbehavior->showBB2Timer()} to get the badbehavior timer
More information about the pLog-svn
mailing list