Cloudflare Turnstile reCaptcha Plugin enahnce protection of your Osclass forms against spam and bots using Cloudflare Turnstile service. Turnstile verifies visitors in the background, so most real users never have to solve image puzzles or retype captcha text. Visitors simply submit the form, while bots are stopped before they reach your database, backend or mailbox.
The plugin shows the Turnstile widget in your forms and verifies every submission on the server side using the Cloudflare Siteverify API. Each verification is stored in a log, so you always know what was blocked and reason for that.
Cloudflare Turnstile is a free service. You only need a free Cloudflare account to create a widget and get your Site Key and Secret Key.
Spam Protection for All Important Osclass Forms
Turnstile check can be enabled separately for each form from admin configuration:
- Registration form
- Login form
- New comment form
- Item contact form
- Send to a friend form
- Web contact form (contact page)
- New item form (publish listing)

Forms are integrated through standard Osclass hooks so for most of usage no theme modifications are needed. Any other form can be protected using custom hooks described in section below.
Widget Options
- Widget theme: auto, light or dark
- Widget size: normal or compact
- Widget mode (Managed, Non-Interactive or Invisible) is selected in your Cloudflare dashboard
- Option to hide Turnstile for logged-in users
Verification Log with Chart
Every verification is saved into a database log, so you have full overview of spam attempts on your site:
- Form name, result (success or failure) and error codes
- Visitor IP address and hostname
- Date and time of each verification
- Search and pagination in the backoffice
- Bar chart with verifications for the last 30 days
Old records are removed automatically by daily cron. Retention period is configurable in months, default is 12 months.
Custom Forms Support
Forms added by themes or plugins can be protected as well. In plugin settings you define hook pairs - a display hook that shows the widget and a verify hook that checks the submission in backend (verify token against cloudflare api). To place the widget into your template manually, use:
<?php osc_run_hook('cloudflare_recaptcha'); ?>
and verify the submission in your processing code with:
cdr_verify_form('my_form_name');
Backoffice Features
- Simple settings page with separate switch for each form
- Built-in test panel - verify your keys directly in the backoffice, Cloudflare test keys are supported
- Debug mode - widget placeholder is highlighted and admin sees a diagnostic message on each front-end form, so you can quickly check that the widget is placed correctly
- Verification log with search, pagination and 30-day chart
Easy Setup
- Create a Turnstile widget in your Cloudflare dashboard
- Copy Site Key and Secret Key into plugin settings
- Disable built-in Osclass reCaptcha to avoid conflicts
- Enable forms you want to protect and save
Summary
Cloudflare Turnstile reCaptcha Plugin is a lightweight but powerful spam protection layer for Osclass marketplaces. It keeps registration, contact and listing forms clean, gives you full visibility through the verification log, and works without theme modifications on themes using essential hooks.

English
Czech
Slovak
Verified & Genuine Reviews
All reviews on OsclassPoint come from real customers who have purchased the product. Only verified buyers can leave a rating or review.
To maintain quality and accuracy, every review is moderated before being published.