—- plugin —-
author : duncanc
lastupdate : 2021/01/23 10:42
sourcerepo : https://github.com/bramley/phplist-plugin-hcaptcha/
This plugin provides an hCaptcha field on subscribe forms.
You can select whether to include hCaptcha for each individual subscribe page.
If you specify a language for a subscribe page then the hCaptcha widget will be displayed in that language. Otherwise the widget will be displayed in the default language (probably the language indicated by the browser).
See the README file on the GitHub page https://github.com/bramley/phplist-plugin-hcaptcha for how to install or upgrade the plugin.
The text displayed by the plugin can be translated into other languages. See the file plugins/HCaptchaPlugin/lan/translations_en.php for the English version that can be used as the basis for another language. Each line in the file contains the English text then the equivalent text in the target language.
To create a new language file, copy translationsen.php to translationsxx.php, where xx is the language code, then change the texts for your target language. You then need to login and then logout of phplist for the changes to be added to the database.
You can share your new language file by submitting it for inclusion in the plugin. Please create a topic in the user forum or an issue on GitHub.
To use hCaptcha you will need to have an hCaptcha account, see https://www.hcaptcha.com/
On the Settings page you must specify the site key and secret key from your hCaptcha account
When you create or edit a subscribe page you can select to include hCaptcha when that page is displayed. The default is to not include hCaptcha. You can also select the theme to be used for the hCaptcha widget and the size of the widget.
Please raise any questions or problems in the user forum https://discuss.phplist.org/