Mollom spam protection module for SilverStripe CMS
PHP Scheme CSS
Latest commit 31ac04b Jan 18, 2016 @wilr wilr Merge pull request #40 from helpfulrobot/add-standard-gitattributes-file
Added standard .gitattributes file
Failed to load latest commit information.
code Adjusting code for coding convention Mar 7, 2015
css API: Upgrade to REST client (Fixes #10) Feb 10, 2014
images Upgrade to be 3.0 compatible. Jul 6, 2012
lang API: Upgrade to REST client (Fixes #10) Feb 10, 2014
templates Added basic Mollom audio support Mar 6, 2015
.editorconfig Adding .editorconfig Dec 4, 2014
.gitattributes Added standard .gitattributes file Jan 16, 2016
.gitignore API: Upgrade to REST client (Fixes #10) Feb 10, 2014
README.md your yml file was WRONG May 16, 2014
_config.php API: Upgrade to REST client (Fixes #10) Feb 10, 2014
composer.json
mollom-captcha-player.swf API: Upgrade to REST client (Fixes #10) Feb 10, 2014

README.md

Mollom Module

Maintainer Contact

  • Saophalkun Ponlu

  • Will Rossiter

Requirements

Installation

Extract all files into the 'mollom' folder under your Silverstripe root, or install using composer

composer require silverstripe/mollom dev-master

If the mollom module causes an error in composer it may be necessary to explicitly add the git url to your composer.json

composer.json

{
    "repositories": [
        {
            "type": "git",
            "url": "https://github.com/Mollom/MollomPHP.git"
        }
    ]
}

Configuration

This module provides a FormField and SpamProtector classes for integration with the SpamProtection module in SilverStripe. Consult that module documentation for more information on how to setup and enable Mollom on your Forms.

To configure the use of this protector, use the Config API. You will also need to sign up to Mollom to get API keys for the website. Those should also been included through the Config API

mysite/_config/spamprotection.yml

---
name: spamprotection
---
FormSpamProtectionExtension::
  default_spam_protector: MollomSpamProtector
Mollom:
  public_key: <key>
  private_key: <key>