A free and open-source WHMCS Addon Module that replaces Google reCAPTCHA with Cloudflare Turnstile, a privacy-friendly and user-centric alternative.

Features

  • Seamless Integration: Works with standard WHMCS themes (Six, Twenty-One) and custom templates.

  • Admin Dashboard: Fully custom configuration interface directly within WHMCS Addons.

  • Page Control: Enable/Disable Turnstile specifically for:

    • Login Page

    • Registration Page

    • Password Reset

    • Contact Us

    • Support Ticket Submission

    • Shopping Cart / Checkout

  • Theme Support: Choose between Auto, Light, or Dark widgets.

  • Advanced Selectors: Define custom jQuery selectors to inject the widget into ANY form without editing .tpl files.

  • Smarty Tag Support: Use {display_turnstile} in your template files for manual placement.

 Installation

  1. Download the repository.

  2. Upload the megabre_turnstile folder to your WHMCS directory: /modules/addons/megabre_turnstile/

  3. Log in to your WHMCS Admin Area.

  4. Go to System Settings > Addon Modules.

  5. Find Cloudflare Turnstile Manager and click Activate.

  6. Click Configure to grant access permissions to your admin role group.

 Configuration

  1. Go to Addons > Cloudflare Turnstile Manager.

  2. Enter your Cloudflare Site Key and Secret Key.

  3. Toggle the pages where you want the captcha to appear.

  4. (Optional) If using a custom theme, enter the jQuery selector (e.g., .btn-login or #submit-btn) in the "Advanced Selectors" section.

  5. Click Save Configuration.

Pro Tip: To avoid conflicts, go to System Settings > General Settings > Security and set "Captcha Form Protection" to "Always Off".

 

Modüle Github'tan ulaşabilirsiniz: Whmcs Cloudflare Turnstile module

🤔

Was this answer helpful?

Görüşünüz bizim için değerli!