forked from brucem/ezpublish-recaptcha
-
Notifications
You must be signed in to change notification settings - Fork 0
ezpublish-turnstile provides a Cloudflare Turnstile eZ publish datatype that can be used in editing content and information collection.
License
anapol/ezpublish-turnstile
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Turnstile Module =========================== Turnstile is an extension that allows the integration of the Cloudflare Turnstile anti-spam CAPTCHA service in your eZ Publish content objects. Turnstile provides a Turnstile datatype that can be used in editing content and information collection. About Turnstile --------------- Cloudflare Turnstile delivers frustration-free, CAPTCHA-free web experiences to website visitors - with just a simple snippet of free code. Moreover, Turnstile stops abuse and confirms visitors are real without the data privacy concerns or awful UX that CAPTCHAs entail. From: https://www.cloudflare.com/products/turnstile/ Installation ----------------- Follow these steps to add the Turnstile module to your eZ publish installation: 1) Place the extension files in your eZ Publish /extension directory (e.g., /extension/turnstile if you create a subdirectory, or place files directly) 2) Activate the extension. Edit site.ini.append in /settings/override (or your siteaccess settings). Add the following lines if they don't exist, or add 'turnstile' to the existing arrays: [ExtensionSettings] ActiveExtensions[]=turnstile [TemplateSettings] ExtensionAutoloadPath[]=turnstile [RegionalSettings] TranslationExtensions[]=turnstile [DataTypeSettings] ExtensionDirectories[]=turnstile AvailableDataTypes[]=turnstile [ModuleSettings] ExtensionRepositories[]=turnstile ModuleList[]=turnstile 3) Visit https://dash.cloudflare.com/ to sign up for a Cloudflare account (if you don't have one) and get your Turnstile Site Key and Secret Key. 4) Edit extension/turnstile/settings/turnstile.ini.append.php (or settings/turnstile.ini.append.php if installed at root) and add your API keys (SiteKey and SecretKey). 5) Clear Cache (e.g., using `php bin/php/ezcache.php --clear-all`) Usage ---------------- To use, simply add a Turnstile attribute to your content class. License ----------------- This file may be distributed and/or modified under the terms of the "GNU General Public License" version 2 as published by the Free Software Foundation This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. The "GNU General Public License" (GPL) is avail 596D able at http://www.gnu.org/copyleft/gpl.html.
About
ezpublish-turnstile provides a Cloudflare Turnstile eZ publish datatype that can be used in editing content and information collection.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- PHP 98.6%
- Smarty 1.4%