2.2.0releasedCan 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.02.7.12.7.22.7.32.7.42.7.52.7.62.7.72.7.82.7.92.7.10
NoNoNo2.02.02.2.02.2.02.2.02.2.02.2.02.2.02.2.02.2.02.2.02.2.02.2.02.2.02.2.0

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

Symphony 2.5.0 to 2.x.x

  • Compatible with PHP 7

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