This is a working (for me anyway) Mollom class for MODx.
Mollom is a web service that evaluates content for spamminess. It’s free (although a faster commercial account is available) and it gives you the option of only showing captcha challenges for potential spam content.
They claim that the captchas are unbreakable (and they’re much easier to read than reCaptcha). They also claim 99.9% accuracy in identifying spam. IOW, if they say it’s spam, it’s almost certainly spam. You also get a quality assessment based on things like content length, spelling and grammar, profanity, etc. that you can use to reject posts (or present a captcha challenge). You can also use Mollom just for presenting image and audio captcha without evaluating content.
Mollom also claims to keep track of spammers’ IPs, email addresses, names, etc. and it will use the MODx web user’s MODx ID to establish his or her reputation so they’ll see fewer captchas. The class automatically sends the user’s MODx ID when sending content to Mollom for evaluation (in theory -- I don’t have any real users on the test site so I’m not sure it works).
Mollom is a cool idea, IMO, although I’ve never used it on a live site. It’s relatively new but initial reports are favorable and it’s available in plugins for WordPress and other blog software.
The attached zip file has the class and a test snippet that demonstrates Mollom in action with an email form. It works in both Revolution, and earlier versions of MODx. I tried to make it as easy to use as possible and it’s pretty well documented. I’m hoping some of you will give it an acid test. You’ll need a free account at mollom (
http://mollom.com), but it only takes a few minutes to get one. BTW, the mollom.com web site is a complete embarassment, I hope it doesn’t reflect the quality of the service.
Note that the example snippet (mollomtest.php) doesn’t actually send any email -- it’s just a demo.
Important: It’s mollom, not mollum, and, as I learned the hard way, it’s very easy to mistype (no doubt the influence of Lord of the Rings).
[Update 02/20/09] Mollom 1.1.0. Now creates a property set automatically in Revo on first run. Added reject_quality and captcha_quality parameters. Important: parameter name form change -- &privateKey is now &private_key, etc. to conform with form of MODx system settings and property keys. Now caches the Mollom server list.