SpamBlocker

Spam Blocker is a CakePHP Behavior that automatically before after a comment is made. Each comment is tested upon a point system to determine if it should be approved, set to pending (high points), or marked as spam / deleted (low points).

SpamBlocker Version Logs

Package: Behavior: Comment Spam Blocker
Category: CakePHP

Below is a list of all files and every available version for the SpamBlocker script.
Each file is accompanied by a change log. Be cautious in using older versions, they may buggy.

Version: 2.1
Requires: PHP 5.2, CakePHP 2.0
Tested On: PHP 5.3, CakePHP 2.0.3
Released: Wed, Jan 4th 2012, 22:35

  • Updated beforeSave() to check blacklisted words within the author, website and content

Version: 1.9
Requires: PHP 5.2, CakePHP 1.3
Tested On: PHP 5.3, CakePHP 1.3.8
Released: Wed, Jan 4th 2012, 22:34

  • Updated beforeSave() to check blacklisted words within the author, website and content

Version: 2.0
Requires: PHP 5.2, CakePHP 2.0
Tested On: PHP 5.3, CakePHP 2.0.3
Released: Tue, Nov 22nd 2011, 23:45

  • Updated to CakePHP 2.0 (not backwards compatible with 1.3)

Version: 1.8
Requires: PHP 5.2, CakePHP 1.3
Tested On: PHP 5.3, CakePHP 1.3.8
Released: Sun, May 8th 2011, 22:13

  • Changed from afterSave() to beforeSave() to trigger before the database is hit
  • Improved documentation

Version: 1.7
Requires: PHP 5.2, CakePHP 1.3
Tested On: PHP 5.3, CakePHP 1.3.8
Released: Tue, Apr 19th 2011, 22:12

  • Updated the $statusCodes to use an enum
  • Added a referrer check to comment scoring
  • Refactored notify() to be public

Version: 1.6
Requires: PHP 5.2, CakePHP 1.3
Tested On: PHP 5.3, CakePHP 1.3.8
Released: Thu, Aug 19th 2010, 22:11

  • Renamed the class to SpamBlocker
  • Improved the support for custom column names
  • Refactored the notify() method
  • Will now work within plugins

Version: 1.5
Requires: PHP 5, CakePHP 1.2
Tested On: PHP 5.2.5, CakePHP 1.2.5
Released: Sat, Oct 3rd 2009, 16:12

  • Upgraded to PHP 5 only

Version: 1.4
Requires: PHP 5, CakePHP 1.2
Tested On: PHP 5.2.5, CakePHP 1.2.4.8284
Released: Tue, Sep 22nd 2009, 21:33

  • Added support for multi-byte and UTF-8 characters

Version: 1.3
Requires: PHP 4, CakePHP 1.2
Tested On: PHP 5.2.5, CakePHP 1.2.3.8166
Released: Wed, Jun 3rd 2009, 22:19

  • Adding a setting for the number in which to delete a comment at (negative)
  • Modified afterSave() so that the first word may not start with the blacklisted words
  • Fixed a problem with the :id in article_link not working

Version: 1.2
Requires: PHP 4, CakePHP 1.2
Tested On: PHP 5.2.5, CakePHP 1.2.1.8004
Released: Sat, Feb 14th 2009, 16:40

  • Added a setup() method that loads settings automatically, settings are defined in the model
  • Added a settings property that contains all variables, in turn removed all other properties
  • Rebuilt the notify() method so that you don't have to edit it manually, instead you define the vars in the settings array
  • Added more blacklisted keywords

Version: 1.0
Requires: PHP 4, CakePHP 1.2
Tested On: PHP 5.2.5, CakePHP 1.2.1.8004
Released: Mon, Feb 9th 2009, 00:40

  • First initial release of Commentia