2.1releasedCan Of Spam

Protect your forms against spam with a hidden hash-validation-field.

Clone URLhttps://github.com/symphonists/canofspam.git

Add as a submodulegit submodule add https://github.com/symphonists/canofspam.git extensions/canofspam --recursive

Compatibility

2.x.x2.1.x2.2.x2.3.x2.4.x2.5.x2.6.x2.7.0
NoNoNo2.02.02.1NoNo

Readme

Can Of Spam

Protect your forms against spam with a hidden hash-validation-field.

Installation

** Note: The latest version can always be grabbed with "git clone git://github.com/symphonists/canofspam.git" **

  1. Upload canofspam in this archive to your Symphony extensions folder.

  2. Enable it by selecting the "Can Of Spam", choose "Enable/Install" from the with-selected menu, then click Apply.

  3. Add the "Can Of Spam" event to your page (adds the hash to the param pool).

  4. Add the "Can Of Spam" filter to your section event (validates the submitted hash).

  5. Add a hidden "Can Of Spam" field to your form (contains the hash from the param pool).

Example HTML

<input name="canofspam" value="{$canofspam}" type="hidden" />

Version history

Requires Symphony 2.5.0

  • Compatible with Symphony 2.5+

Symphony 2.3.x to 2.4.x

  • Compatible with Symphony 2.3
  • Completely rewritten and simplified