Ревизия 1.0.2 (2019-01-22)
Описание: [Deprecation warning]: I am currently not using Piwigo and therefore stopped supporting this plug-in. Please take the code and update it. Contact me, if you need initial help in taking over this plugin!
Please follow the instructions provided at:
- You need the LocalFiles Editor plugin (https://piwigo.org/ext/extension_view.php?eid=144)
- You must get recaptcha v2 keys for your domain
- You must define three config variables:
The first one changes the function, which verifies the users password
The second one is the "Website Key" (or similar).
The third and last one is the "Secret key".
Please put the two keys inside ' as shown below:
$conf['password_verify'] = 'reisishot_password_verify';
$conf['recaptcha_public'] = 'mypublickey1415';
$conf['recaptcha_secret'] = 'myprivatekey1425';
That's it :D!
PS: URL fopen (http://php.net/manual/en/filesystem.configuration.php#ini.allow-url-fopen) must be enabled!
Изменения: Tried to improve JS even more
Ревизия 1.0.9 (2018-11-25)
Описание: A small and lightweight Captcha solution to keep your installation free from bot spam comments and bot fake registrations.
It does not rely on any remote resources - like Recaptcha from Google or any others. This means you do not have to mention it in your GDPR compliance declaration. If Google enables Recaptcha V3 soon, Recaptcha will act like a tracker, since the advice is to implement it on every single page of your website. You will dislike Google for this, hopefully.
Installation is as easy as with any other plugin. Since this plugin does not use any database tables it does not matter which MySQL version you are using.
The Captcha works the classic way. There are some configuration options like colors, OCR confusion, dimensions and length of challenge. Just explore the possibilities in the plugin area of Piwigo admin.
Yes, it is the 5th or so Captcha solution, but all other solutions rely on remote resources or are not maintained anymore.
You can protect comments below pictures, comments below categories (plugin Comments on Albums), user registration, guestbook entries (plugin GuestBook) and the contact form (plugin Contact Form).
The plugin is based on work of mistic and Stefan Petre.
Would love to receive feedback.
Изменения: Added support for Guestbook and Contactform, Bugfix in session house keeping, added some credits for those this work is based on (mistic, Stefan Petre)