Skip to content

unisolutions/silverstripe-uniprotect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UniProtect FormField Module

Introduction

Provides a hidden FormField which allows form to validate for non-bot submissions by checking if the value in that field is correct.

Maintainer Contact

  • Elvinas Liutkevičius <elvinas (at) unisolutions (dot) eu>

Requirements

Installation

  • Copy the uniprotect directory into your main SilverStripe webroot
  • Run ?flush=1

Usage

As a Standalone Field

If you want to use UniProtect field by itself, you can simply just include it as a field in your form.

$uniprotectField = new UniProtectField('MyUniProtect');

Integration with Spamprotection module

This requires the SpamProtection module to be installed, see its documentation for details. You can use this field to protect any built informs on your website, including user comments in the Blog module.

Configuration example in mysite/_config/config.yml

FormSpamProtectionExtension:
	default_spam_protector: 'UniProtectProtector'

Then once you have setup this config you will need to include the spam protector field as per the instructions on the SpamProtection module page.

About

Simple spam protection module for SilverStripe.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •