01446 620436

Invisible Spam Protection Module

The InvisibleSpamProtection is a simple anti spam protection based on principle that automated spammers enter bogus information in all form fields. It is based on the SpamProtection module, enabling the anti-spam measures to be applied to any form, including forms created with UserDefinedForms module.

Download

Background

The InvisibleSpamProtection module offers simple anti spam protection based on principle that automated spammers enter bogus information in all form fields they find on the form.

Spammers fall for the cunning trap as:

  • The spam field that is added to form is hidden from human users through CSS.
  • Spammers fail to notice the field is hidden and enter some random information in it.
  • The form is only allowed to be submitted if the InvisibleSpamProtection field is empty.

The module includes an EditableInvisibleSpamField to integrate with the UserForms module.

Example

See the comment form below for a working example.

Requirements

Installation Invisible Spam Protection Module


The Spam Protection Module provides the basic interface for managing the spam protection so first you need to install that module.

Setting up InvisibleSpamProtection

  • InvisibleSpamProtection should be in your sites' root folder.
  • Enable anti spam in mysite/_config.php by adding line:
   SpamProtectorManager::set_spam_protector('InvisibleSpamProtector');

Post your comment

Comments

No one has commented on this page yet.

RSS feed for comments on this page | RSS feed for all comments