AntiSpam
Categories
Component ID
Component name
Component type
Maintenance status
Development status
Component security advisory coverage
Downloads
Component created
Component changed
Component body
AntiSpam module is the successor of the Akismet module, and it provides spam protection for your Drupal site using the Akismet anti-spam service.
The AntiSpam module is fully compatible with Drupal 7.x.
AntiSpam Helper Module
We have developed AntiSpam Helper Module, which is designed to be used with AntiSpam module. Currently, it has only one feature. It checks the number of published nodes/comments by a user and if a user has posted certain number of posts, it automatically upgrade the user's role to the specified role. All you need to do is create a new user role which does not require spam checking upon node/comment submission, and set the minimum required number of posts to be eligible for upgrading to the role. This AntiSpam Helper module is currently available at the article of the following issue.
Automatic Whitelisting Members
http://drupal.org/node/755684
AntiSpam API
AntiSpam 1.0 has introduced a new API function called antispam_api_cmd_spam_check() so that other modules can check any text data user entered using an external antispam service configured by AntiSpam module.
function antispam_api_cmd_spam_check($body, $name=NULL, $mail=NULL, $homepage=NULL);
Parameter:
$body - text data to be checked
$name - (optional) author name
$mail - (optional) author email
$homepage - (optional) author homepage
Return:
-1: Error (connection to external service failed, text is too short, etc)
0: The text is HAM (not spam)
1: The text is SPAM