Mollom

Mollom is a module which sits atop the Spam Protection module to reduce spam comments on your website.

3 minute overview is at http://www.youtube.com/watch?v=zZi-O9MkFYM (watch in HD mode.)

For more information on mollom see its website at http://mollom.com/

Requires

Download

Installation

1. Unzip this file (mollom-0.1.tar.gz) inside your SilverStripe installation directory. It should be at the same level as ‘jsparty’, ‘cms’ and ‘sapphire’ modules. Ensure the directory name for the module is ‘mollom’.

2. Do the same for the Spam Protection Module (Download and unzip into a new spamprotection folder.)

3. Get a Mollom API Key from http://mollom.com/user/register . You will get a public and private key.

4. Copy the following code into your mysite/_config.php file:

Mollom::setPublicKey('enter-your-mollom-public-key');
Mollom::setPrivateKey('enter-your-mollom-private-key');
SpamProtectorManager::set_spam_protector('MollomSpamProtector');

(Replace the strings “enter-your-mollom-public-key” and “enter-your-mollom-private-key” with the public key and private key you obtained from Mollom)

5. Run dev/build. For example: http://www.mysite.com/dev/build.

7. Login to the CMS and go to the Mollom report. It should say “Your mollom key is working.”

8. If so, the following will now be spam-protected automatically:

  • Page comments in the core, and in the blog module if that is installed.
  • User registrations to a forum, if you use that module
  • You can also add a CAPTCHA field to the user forms module, although this requires you to use the latest (dailybuild) of all code in question: userforms, mollom, spamprotection, v2.3 core. (This will be released shortly)

Using your Mollom Field in Custom Forms

See how to use the Spam protection module on the Using Spam Protector Section

Screenshots

Your key is working' and Mollom spam/ham report

:modules:mollom_comment_admin.jpg

Page comment field, with Mollom Installed

:modules:mollom_comment_notspam.jpg

Page comment field, showing a CAPTCHA, only because your content looked spammy

:modules:mollom_comment.jpg

Forum registration with CAPTCHA

:modules:mollom_on_signup.jpg

 
modules/mollom.txt · Last modified: 2009/07/10 10:14 by wrossiter

Please use comments for notes, tips and corrections about the described functionality.
Use the Silverstripe Forum to ask questions.

blog comments powered by Disqus
 
Creative Commons LicenseSilverStripe Documentation by SilverStripe is licensed under a Creative Commons Attribution 3.0 New Zealand License.
Based on a work at doc.silverstripe.com
Recent changes RSS feed Driven by DokuWiki