Plugin: iAkismet

iAkismet Plugin stops spam using the Akismet service

Protect your forms against spammers

iAkismet is a plugin that integrates the popular anti-spam service with with the following extensions in order to stop spam.

Unlike other anti-spam services, Akismet does not present the visitor with captchas. Instead it scans the visitor's post, name and email address and runs hundreds of tests to determine whether it's spam or not. It's a completely automated way to protect your forms from spammers.

Currently this plugin works with:

  • Joomla User Registration
  • Joomla core Contacts component
  • Contact Enhanced Component 3.3.3+ and 2.5.24+
  • Kunena 3+
  • iFormBuilder 3.3+
  • Ajax Contact 3.3+
  • Ajax Recommend 3.3+
  • iRecommend 3.3+

Access to get a FREE or commercial API key from and simply paste it back in the plugin options. Don't forget to enable the plugin and it should already start blocking undesired spam messages and posts.

Demonstration Page

Test iAkismet with a Contact Form


If you are a developer and want to integrate this plugin with your extensions follow the instructions below:

Add this code to controller that process your form:

$app 	= JFactory::getApplication();
$dispatcher= JDispatcher::getInstance();
$spamCheckData = array();
$spamCheckData['name']    = $name;    // The User's name from teh form
$spamCheckData['email']   = $email;   // The email from the form
$spamCheckData['message'] = $message; // The Message content
// Check with spamCheck plugins
$results	= $dispatcher->trigger('onSpamCheck', array('com_contactenhanced.submit', &$spamCheckData));
// Check for errors encountered while checking for spam
if (count($results) && in_array(false, $results, true))
	$error = $dispatcher->getError();
	$app->enqueueMessage($error, 'error');
	// you might need to add a redirection:
	//$app->redirect(JRoute::_('index.php?option=com_yourextension&view=someview', false), $error);
	return false;

That's it! ;-) Akismet plugin will take care of the rest.

Recommend to a friend

Copyright © 2018 All Rights Reserved.

This site is not affiliated with or endorsed by the Joomla!™ Project. It is not supported or warranted by the Joomla!™ Project or Open Source Matters™. The Joomla!™ logo is used under a limited license granted by Open Source Matters™, the trademark holder in the United States and other countries.
We may collect your IP address and your browser's User Agent string while using our site for security reasons and deriving aggregate information (analytics). This information is retained for a minimum of 1 and a maximum of 24 months.