The Are You a Human Module allows use of the Are You a Human Spam Protection game as both a FormField type (AYAHField) and as the default Spam Protector when integrated with the Spam Protection Module.
This package is not auto-updated.
Last update: 2020-02-11 20:13:40 UTC
Add the root folder called "areyouahuman" in the root of your Silverstripe installation. Make sure to rename it to "areyouahuman" if it is not already named so.
In your site _config.php you can set the publisher and scoring keys like this:
AYAHField::$publisher_key = 'your publisher key'; AYAHField::$scoring_key = 'you scoring key';
If you want the Are You a Human field to be the automatic Spam Protection field, also add the following line to your _config.php:
After you have configured your keys, add AYAHField to the forms you want validated via the "Are you a human"-service (www.areyouahuman.com). Something like this:
You must have registered an account at www.areyouahuman.com to be able to use their service. It's free!