"Captchas are used to prevent bots from using various types of computing services. Applications include preventing bots from taking part in online polls, registering for free email accounts (which may then be used to send spam), and, more recently, preventing bot-generated spam by requiring that the (unrecognized) sender successfully pass a captcha test before the email message is delivered." [Wikipedia: Captcha]
Captcha challenges can be solved by most people, but most bots are currently unable to do so. The NP_Captcha plugin adds challenges in three places:
To uninstall the NP_Captcha plugin, take these steps:
NP_Captcha.php
file and the captcha
directory from the plugins/
directory on your server.The NP_Captcha
plugin provides some global options:
Option | Description |
---|---|
Quality of images | The amount of compression that must be used when outputting a generated image. It's a number between 0 and 100, defaulting to 75. 100 means excellent image quality, but creates large images. A quality of 0 is the lowest possible quality. The default setting generates images of about 3KB in size. |
Minimum characters in image | The minimum amount of characters to appear in an image. No image will be generated with less characters (an error image will be displayed in that case, and the captcha challenge will never be able to succeed) |
Fonts to use | A series of font-files, separated using semicolons. The font-files need to be TrueType fonts, and they need to be present in the plugins/captcha folder. The names are case-sensitive on most servers, so beware. When no font can be found, an error image will be generated. When multiple fonts are present, different characters in the image will use different fonts. |
Web Safe colors only? | When Yes , only the 216 colors that are supposed to be web-safe will be used in the image. By default, this is Off . |
Type of background? | By default, this is set to Noise Characters . It adds a bunch of random characters in the background. When set to Grid , a grid is added instead of noise. |
Cleanup entries older than X minutes | For each captcha image that is generated, some bookkeeping is done. Since not all generated captcha images will be answered, old entries are deleted. By default, all entries that have been generated more than 30 minutes ago will be destroyed. Note that this implies that a comment form is visited and it takes someone 31 minutes to formulate a new comment, the challenge will fail. (luckily, a new challenge will be presented in that case) |
Error message | Error message to display when an incorrect answer was given for the captcha challenge. |
Activation Form Template | HTML code to generate inside an account activation form. <%imgHtml%> inserts the captcha image, <%key%> inserts the public key. |
Comment Form Template | HTML code to generate inside a comment form. <%imgHtml%> inserts the captcha image, <%key%> inserts the public key. |
Mail Form Template | HTML code to generate inside an member mail form. <%imgHtml%> inserts the captcha image, <%key%> inserts the public key. |
For additional support and/or bug reports please visit the Nucleus Support Forum.
To check for new versions, please check the NP_Captcha page on the Nucleus Wiki.
This plugin would not have been possible without these two people: