UNPKG

nodebb-plugin-captcha-configurable

Version:
39 lines (25 loc) 2.12 kB
# NodeBB Plugin - Captcha Configurable A configurable captcha plugin for NodeBB that supports both SVG and Math captchas. ## Installation ```bash npm install nodebb-plugin-captcha-configurable ``` ## Features * **Two Captcha Modes:** Choose between a visual SVG captcha or a simple math question. * **Configurable:** Customize the captcha to match your forum's theme. * **Login and Registration Protection:** Adds a captcha to the login and registration pages to prevent spam. ## Configuration You can configure the plugin from the NodeBB admin panel. 1. Go to **Extend -> Plugins** and activate the plugin. 2. Go to **Installed Plugins -> Captcha Configurable** to access the settings. ### SVG Captcha * **Enable SVG Captcha:** Select this option to use a visual captcha with distorted characters. * **Background Color:** Choose a background color for the captcha image to match your theme. ### Math Captcha * **Enable Math Captcha:** Select this option to use a simple math problem as the captcha. * **Background Color:** Choose a background color for the captcha image. * **Min Number:** The minimum number to be used in the math problem. * **Max Number:** The maximum number to be used in the math problem. * **Operator:** The math operator to be used (e.g., `+`, `-`). ## Screenshots ![screenshot](https://private-user-images.githubusercontent.com/4516607/479903081-a7708e81-daf9-47bc-8caf-b40cfdce5e90.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NTU2Nzk1NTMsIm5iZiI6MTc1NTY3OTI1MywicGF0aCI6Ii80NTE2NjA3LzQ3OTkwMzA4MS1hNzcwOGU4MS1kYWY5LTQ3YmMtOGNhZi1iNDBjZmRjZTVlOTAucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDgyMCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTA4MjBUMDg0MDUzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NjQ1OTdmZDEzZjdiZjhhMWQ4NDc3NWI3MmM4Njg0NmU3YWE4NzExMjBmNmZiMGQ4M2FhNjA2ZDA0ZTFiODk3NCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.uqp3b7_LX4k9e_lozMsdoRZ7ESLCmFmAQPfUEzHIyWs)