Slaweally Posted 8 hours ago Share Posted 8 hours ago (edited) WHMCS Cloudflare Turnstile Manager 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 themes. 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 on any theme without editing template files. Smarty Tag Support: Use {display_turnstile} in your .tpl files for manual placement. Installation Download the repository. Upload the folder megabre_turnstile to your WHMCS installation at: /modules/addons/megabre_turnstile/ Log in to your WHMCS Admin Area. Go to System Settings > Addon Modules. Find Cloudflare Turnstile Manager and click Activate. Click Configure to grant access permissions to your admin role group. Configuration Go to Addons > Cloudflare Turnstile Manager. Enter your Cloudflare Site Key and Secret Key. Toggle the pages where you want the captcha to appear. (Optional) If using a custom theme that isn't auto-detected, enter the jQuery selector for the submit button (e.g., .btn-login or #submit-btn) in the "Advanced: Custom Selectors" section. Click Save Configuration. Important Note To avoid conflicts, please disable the default WHMCS Captcha: Go to System Settings > General Settings > Security. Set Captcha Form Protection > Captcha Type to "Always Off". Note: This module automatically attempts to hide legacy captcha elements via CSS, but disabling them in settings is recommended. Manual Usage (Developers) If you prefer to place the widget manually in your template files, you can use the Smarty tag: <form method="post" action="login.php"> ... <!-- Manual Placement --> {display_turnstile} <button type="submit">Login</button> </form> Modul page: Whmcs Cloudflare addon module Don't forget to star it on GitHub. Edited 8 hours ago by Slaweally 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.