I have one client that was being bombarded with spam on their contact pages - even with ReCaptcha.
I finally found a solution that's helped a lot and would now like to integrate it into Ajax Contact. It's called Mollom and can be seen at
http://mollom.com/
I used a Joomla plugin available from
http://moovum.com/products/moovur/download
to add this to the standard contact form.
Note: Mollom requires an account and public/private keys, though they do have a free version. Moovur is also free but requires registration before it can be downloaded.
The Moovur Development Documentation has instructions for adding Mollom to forms. Here's the relevant part:
Direct implementation in the extension code
This is the preferred way to implement Mollom into your extension since it is the most easy and clean way. We tried to create an API that is as simple as possible...
Below you will find the example code to validate the content. The object values of course need to be filled with the actual values of the content you want to validate.
if(class_exists('Moovur'))
{ $obj = new stdclass();
$obj->title = 'The title data, if available';
$obj->text = 'The full text, if available';
$obj->author_name = 'The authors name, if available';
$obj->author_url = 'URL, if available';
$obj->author_email = 'email, if available';
$obj->author_id = 'Joomlas user id, if available';
$obj->author_openid = 'Openid, if available (not used)';
Moovur::checkContent($obj, 'component', 'task');
}
I assume I should be adding this to helper.php, but I'm not clear where it should go.
If you could point me in the right direction, I'd sure appreciate it. I'd love to implement Ajax Contact and Contact Enhanced, but without Mollom integration, I'm afraid we'll be swamped with spam again.
Much appreciated.