GithubHelp home page GithubHelp logo

werkbot / silverstripe-spam-module Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 1.0 37 KB

Spam Module using Honeypot and Timer fields

License: MIT License

PHP 94.68% Scheme 1.12% Shell 4.20%
honeypot silverstripe silverstripe-module spam-detection

silverstripe-spam-module's Introduction

silverstripe-spam-module

Latest Stable Version Total Downloads Latest Unstable Version License PHP Version Require

A silverstripe Spam Module using Honeypot and Timer fields to mark bot submissions

Installation

composer require werkbot/werkbot-spam-protection

Requirements

Setup

To setup as the default spam protection add the following to your mysite/_config/spamprotection.yml file

---
name: mycustomspamprotection
---
SilverStripe\SpamProtection\Extension\FormSpamProtectionExtension:
  default_spam_protector: Werkbot\SpamProtection\HoneypotProtector

You can optionally set the time for the Timer Field using the following entry in the same file under the default_spam_protector line where x is the number of seconds

time_not_bot: x

If you plan to alter the sass files you can copy this file and the components folder to your sass directory and update accordingly.

Usage

silverstripe-spam-module's People

Contributors

tiller1010 avatar aletail avatar snowb1 avatar github-actions[bot] avatar

Stargazers

Martin Lechêne avatar Moritz Sauer avatar

Watchers

 avatar  avatar

Forkers

tiller1010

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.