rah_comment_spam
Published under current TXP projects
Rah_comment_spam ships with customizable anti-spam tools. Set minimum and maximum message lenght, filter spam words, validate email addresses, limit posting activity and set hidden spam traps. Toggle spam prevention method between block, moderate or mark as spam. All from simple interface, no head first dive to code.
Image: rah_comment_spam
List of features
- Set comment message lenght limitations: minimum and maximum, words and characters.
- Limit link posting.
- Define spam words, and set the limit how many spam words are needed untill comment becomes spam.
- Show customizable error messages when comment is blocked.
- Set a custom hidden spam trap field.
- Change the spam protection method.
- Comment posting limit per set of time.
- Comes with simple preferences interface; no diving into code needed at all.
Requirements
Rah_comment_spam’s minimum requirements:
- Textpattern 4.0.7+
Recommended:
- Textpattern 4.2.0+
- jQuery for the admin panel (included with Textpattern).
Installation and usage
- Navigate to your Textpattern installation’s Plugin panel (Textpattern / Admin / Plugins).
- Paste rah_comment_spam’s plugin code to the plugin installer textarea and run the automated setup.
- After the setup is completed, activate the plugin and you’re set.
- You can customize the plugin’s settings in the plugin’s panel: Textpattern / Extensions / Comment antispam.
Changelog
Version 0.4
- Added: now also filters
https://,ftp://andftps://protocols, not just links starting withhttp://. - Changed posting limit feature’s maximum post setting from “more than” to “equals or more than”. Setting the value to zero/or leaving it empty will disable the feature.
- Changed filtering method from and to or. This means, when the comment gots flagged by a filter for the first time, the spam filtering process ends instead going thru all the checks which are no longer needed. Gives slight performance boost.
- From version 0.4 onwards requires TXP 4.0.7 or newer.
- Now posting limits are counted barely by MySQL. No involment of PHP.
- Merged
rah_comment_spam_urlcount()andrah_comment_spam_spamwords(). - Now admin panel uses same type of sliding panels as seen in rah_sitemap.
Version 0.3
- Added email DNS validation.
Version 0.2.1
- Made writing spam defition list less strict. Now allows double commas, spaces and so on. Thanks Robert.
Version 0.2
- Added user based time relative posting limit.
- Fixed hidden spamtrap input’s escaping.
- Improved comment posting evaluating speed.
- Merged install, save, update and fetch arrays.
- Improved installation script.
- Merged SQL queries.
Version 0.1.3
- Fixed forgotten
strtolower().
Version 0.1.2
- Removed typo from admin panel: “Documention” to “Documentation”.
Version 0.1
- First release