nenes25 / eicaptcha
PrestaShop 验证码模块
Requires
- php: >=5.6
- google/recaptcha: ~1.1
Requires (Dev)
- prestashop/php-dev-tools: ^4.1
- dev-master
- 17.x-dev
- 2.5.0
- 2.4.2
- 2.4.1
- 2.4.0
- 2.3.1
- 2.3.0
- 2.2.0
- 2.1.1
- 2.1.0
- 2.0.7
- 2.0.6
- 2.0.4
- 2.0.3
- 2.0.2
- 2.0.1
- 0.5.x-dev
- 0.4.17
- 0.4.16
- 0.4.15
- 0.4.14
- 0.4.13
- 0.4.12
- 0.4.11
- 0.4.10
- 0.4.9
- dev-dependabot/composer/google/recaptcha-1.3.0
- dev-dependabot/composer/prestashop/php-dev-tools-5
- dev-dev
- dev-playwright
- dev-tests
- dev-dev-others
This package is auto-updated.
Last update: 2024-09-01 04:34:19 UTC
README
eicaptcha
适用于 PrestaShop 1.7 及以上版本的 EiCaptcha 模块
该模块也适用于 PrestaShop 版本 1.6.x,请参阅此处:https://github.com/nenes25/eicaptcha/tree/master
或下载 0.4.x 版本的发布版本(此版本仍然可用,但不再提供支持和进化)
此模块在以下表单上显示 Google reCAPTCHA
- 联系表单
- 账户创建表单
- 新闻通讯订阅(自 2.1.0 版起)
- 自定义模块表单(自 2.4.0 版起,请参阅:https://www.h-hennes.fr/blog/2022/08/22/prestashop-ajouter-un-captcha-sur-les-formulaires-de-vos-modules/)
- 您可以将脚本强制加载到任何地方(自 2.4.5 版起)以应对其他情况。
该模块与 V2 和 V3 reCAPTCHA 密钥兼容(自 v 2.3.0 版起)
此模块依赖于以下文件的覆盖
- AuthController
- ContactForm 模块
对于新闻通讯订阅的实现,需要模块 ps_emailsubscription 至少 2.6.0
此模块使用 composer 获取 recaptcha 库。
别忘了使用 composer install
来下载必要的 recaptcha composer 包。
否则,您可以访问 GitHub 发布页面 https://github.com/nenes25/eicaptcha/releases 并下载最新的 2.x 版本发布版本以获取完整包
请勿使用 GitHub 的 "下载为 zip" 功能,它将不会工作
带有 V2 密钥的截图
带有 V3 密钥的截图(不可见 reCAPTCHA)
使用 v3 密钥时,只需检查是否在右下角存在 reCAPTCHA 框即可
附加信息(法语)
https://www.h-hennes.fr/blog/module-recaptcha-pour-le-formulaire-de-contact-prestashop/
https://www.h-hennes.fr/blog/2017/07/11/module-catpcha-pour-prestashop-1-7/