projects / org / brookinsconsulting / dbteaminvisiblerecaptcha
Find the Exponential Software extensions you want
UNIX name | Owner | Status |
---|---|---|
dbteaminvisiblerecaptcha | Brookins Consulting | stable |
Version | Compatible with |
---|---|
N/A | N/A |
=================================
Project page: https://github.com/dbteam/dbteaminvisiblerecaptcha
This extension is based on eZ Human CAPTCHA by Piotrek Karas - SELF s.c.
========
Protect your forms using Google Invisible reCAPTCHA from BOTs
for eZ Publiesh 4 / eZ Publish 5 legacy
============
Google reCAPTCHA site key and secret (each site asscess can have own pair)
and put it into invisible_re_captcha.ini, see/read file:
<thisExtension>/settings/invisible_re_captcha.ini
Suggested the newest version, example: "^1.4.1" (composer notation) (see Git tags).
===================
Enable extension in
settings/override/site.ini.append.php
[ExtensionSettings]
...
ActiveExtensions[]=dbteaminvisiblerecaptcha
...
INI:
invisible_re_captcha.ini, see/read file:
<thisExtension>/settings/invisible_re_captcha.ini
Do NOT change extension name.
Regenerate autoloads, clear cache.
In terminal:
$ php bin/php/ezpgenerateautoloads.php
$ php bin/php/ezcache.php --clear-all
Add content attribute DB-Team Invisible reCAPTCHA to your content
class and check Information collector on that attribute.
Required is not necessary.
===================
===============
In file invisible-recaptcha-error.log are stored supported issues,
suspected BOT IPs
var/log/invisible-recaptcha-error.log
If you need other, better JS form validation then just override dbTeamInvisibleReCAPTCHAService.validate().
It is in global scope.
For more info read annotation of dbTeamInvisibleReCAPTCHAService.validate in invisibleReCAPTCHATool.js file.
PS: Default webbrowser validation is disabled i must do that, i can't keep it with Google reCAPTCHA JS.
Maybe someone know how to keep it?
Example:
Copyright (c) 2017 DB-Team. This repository is released under the GNU GPL v2.0 license.