Cloudflare Turnstile Plugin for Cotonti Siena

Mart 8, 2025 - 03:06
 1

Cloudflare Turnstile Plugin for Cotonti Siena

Cloudflare Turnstile CAPTCHA integration for Cotonti Siena (0.9.x). Protect your site effectively from spam, bots, and automated submissions with Cloudflare's advanced CAPTCHA alternative.

✅ Features

  • Protects user registration, login, and comments from spam bots.
  • Simple integration into existing Cotonti forms.
  • Admin-configurable through Cotonti admin panel.
  • Modern and secure user verification without compromising user experience.

? Requirements

  • Cotonti Siena v0.9.25 or later
  • Cloudflare Turnstile Site Key and Secret Key - Get your keys here

⚙️ Installation

  1. Upload the plugin folder turnstile into your Cotonti plugins directory:
    plugins/turnstile/
  2. Go to your Cotonti admin panel and activate the plugin:
    Administration → Extensions → turnstile (Install)
  3. Configure the plugin by adding your Turnstile keys:
    Administration → Extensions → turnstile → Configuration
  4. Obtain keys from Cloudflare Turnstile.

? Integration into Templates

Insert the following tags into your template files:

User Registration Form (users.register.tpl)

{USERS_REGISTER_VERIFYIMG}
{USERS_REGISTER_VERIFYINPUT}

User Login Form (users.auth.tpl)

{USERS_AUTH_VERIFYIMG}
{USERS_AUTH_VERIFYINPUT}

Comments Form (comments.tpl)

{COMMENTS_FORM_VERIFYIMG}
{COMMENTS_FORM_VERIFYINPUT}

? Directory Structure

plugins/
└── turnstile/
    ├── turnstile.setup.php
    ├── turnstile.global.php
    ├── turnstile.register.tags.php
    ├── turnstile.register.validate.php
    ├── turnstile.comments.tags.php
    ├── turnstile.comments.validate.php
    ├── turnstile.login.tags.php
    ├── turnstile.login.validate.php
    └── lang/
        └── turnstile.en.lang.php

⚠️ Important Notes

  • Ensure that your server allows outgoing connections to challenges.cloudflare.com (port 443).

? License

BSD License ©2025 Ali Çömez
Developed by Ali Çömez Direct Download: Cloudflare turnstile download for Cotonti plugin Compatible with Cotonti Siena v0.9.25+ Turnstile documentation: Cloudflare Turnstile  

Tepkiniz Nedir?

Beğen Beğen 0
Beğenme Beğenme 0
Sevgi Sevgi 0
Komik Komik 0
Kızgın Kızgın 0
Üzgün Üzgün 0
Vay Vay 0