Go to file
Jarkko Linnanvirta a1b85b0d97 Create allow_numeric_answer option
This option allows you to stop accepting numeric answers as they do not always prevent spam. By default, numeric answers are accepted, so this commit does not make any unintended changes to the behaviour of this field.
2015-08-26 21:58:40 +03:00
_config Cleanup to work with latest master spam, fix validation 2014-02-10 21:25:27 +13:00
code Create allow_numeric_answer option 2015-08-26 21:58:40 +03:00
lang Italian language added 2015-05-10 18:33:19 +02:00
.editorconfig Adding .editorconfig 2014-12-04 15:55:42 +00:00
composer.json Cleanup to work with latest master spam, fix validation 2014-02-10 21:25:27 +13:00
LICENSE Initial commit of MathSpamProtection module from hackfest 2010-12-13 13:30:04 +13:00
README.md Clarified module purpose (fixes #25) 2015-01-04 13:12:48 +13:00

Math Spam Protection

Maintainers

  • Will Rossiter (Nickname: willr, wrossiter)

Introduction

This module provides a simple math protection mechanism for prevent spam on your forms. It will ask the user to complete an equation such as "three plus seven".

Note that while the challenge is written in natural language to make it a bit harder to parse for bots, its by no means a comprehensive solution to avoiding spam.

Includes an EditableMathSpamField to integrate with the UserForms module.

Requirements

  • SilverStripe 3.1
  • Spam Protection

Install Spam Protection Module

The Spam Protection Module (http://silverstripe.org/spam-protection-module) provides the basic interface for managing the spam protection so first you need to install that module.

If you're using composer..

composer require "silverstripe/spamprotection:dev-master"
composer require "silverstripe/mathspamprotection:dev-master"

Set the default spam protector in mysite/_config/spamprotection.yml

---
name: spamprotection
---
FormSpamProtectionExtension:
  default_spam_protector: MathSpamProtector