定制 fballiano/openmage-cloudflare-turnstile 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

fballiano/openmage-cloudflare-turnstile

最新稳定版本:0.7.0

Composer 安装命令:

composer require fballiano/openmage-cloudflare-turnstile

包简介

README 文档

README

Turnstile is Cloudflare's CAPTCHA alternative, read more at https://developers.cloudflare.com/turnstile

If you find my work valuable, please consider sponsoring
Sponsor me on GitHub Buy me a coffee Donate via PayPal

Features

  • Super easy and non-intrusive implementation, you don't have to modify and block or phtml file
  • Support for customer registration, customer forgot password, newsletter subscribe, checkout (guest/register), product review, wishlist share
  • Support for admin login and forgot password
  • Easy customization (for theme related changes to the supported forms) via configurable CSS selectors
  • Lazy load of Cloudflare's javascript, Google PageSpeed will appreciate
  • Compatible with Magento 1.9, OpenMage 19 and OpenMage 20 on PHP >= 7.4

How to use it

  • Install via composer (composer require fballiano/openmage-cloudflare-turnstile), modman (modman clone https://github.com/fballiano/openmage-cloudflare-turnstile) or any other way you like
  • Configure your Turnstile SITE_KEY/SECRET_KEY in "system -> Configuration -> Admin -> Cloudflare Turnstile"
  • If you want to test the module you can use development keys available at https://developers.cloudflare.com/turnstile/reference/testing

What to do if Cloudflare is down and you can't access your store

Let's be clear, this case will almost never happen, if it happens half of the world will be down (and probably also other parts of your website) so you can just wait a couple of hours and everything will be back on line, but if you need to, then...

Disable the extension completely, you can do it in the database, in the core_config_data table, look for records identified by path='admin/fballiano_turnstile/enable', or simply run this query:

UPDATE core_config_data SET value=0 WHERE path='admin/fballiano_turnstile/enable'

Remember that this query will work only if you don't have a "table prefix" in your database, otherwise the name of the core_config_data table will be different in your case.

After modifying the DB, clear magento cache (either deliting everything from the var/cache folder, or purging your redis-cache-database or running something like n98-magerun.phar cache:flush).

Backup!!!

Backup your database and files before launching the cleaning process!!! This module is provided "as is" and I'll not be responsible for any data damage.

Support

If you have any issues with this extension, open an issue on GitHub.

Contribution

Any contributions are highly appreciated. The best way to contribute code is to open a pull request on GitHub.

Developer

Fabrizio Balliano
http://fabrizioballiano.com
@fballiano

Licence

OSL - Open Software Licence 3.0

Copyright

(c) Fabrizio Balliano

统计信息

  • 总下载量: 393
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 11
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 1

GitHub 信息

  • Stars: 11
  • Watchers: 1
  • Forks: 4
  • 开发语言: PHP

其他信息

  • 授权协议: OSL-3.0
  • 更新时间: 2024-03-22

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固