- Version: 2.1
- Downloads: 13020
- Requires WP: 3.1
- Compatible to WP: 3.9.2
This plugin adds a CAPTCHA field to your comment form, using the API provided by the Really Simple CAPTCHA Plugin to provide the CAPTCHA image and validation. The Plugin adds a CAPTCHA field to the comment-reply form, and uses AJAX to provide user feedback regarding correct/incorrect CAPTCHA entry. If the user submits the comment with an incorrect CAPTCHA, the comment is automatically marked as "spam".
This Plugin requires the Really Simple CAPTCHA Plugin to be installed in order to function.
This plugin is fully functional, but is mostly intended to be a "proof of concept" for other plugin developers who may want to use the Really Simple CAPTCHA plugin's API to provide CAPTCHA functionality for their own plugins.
Do not post support questions on this page. They will not be answered. Please use the support options below:
- Upload the
cbnet-really-simple-captcha-commentsfolder to the
Installation using "Add New Plugin"
- Ensure the Really Simple CAPTCHA Plugin is installed.
- From your Admin UI (Dashboard), use the menu to select Plugins -> Add New
- Search for 'cbnet Really Simple CAPTCHA Comments'
- Click the 'Install' button to open the plugin's repository listing
- Click the 'Install' button
Activiation and Use
NOTE You must Install and activate the Really Simple CAPTCHA plugin in order for this plugin to work.
- Activate the plugin through the 'Plugins' menu in WordPress
- Configure Plugin settings via Dashboard -> Settings -> Discussion
Frequently Asked Questions
Q. I activated the plugin, but don't see a CAPTCHA field in my comment form. What's going on?
A. Make sure you have the Really Simple CAPTCHA plugin installed and activated.
Q. What API settings can be configured?
A. Refer to Dashboard -> Settings -> Discussion to configure Plugin settings:
// Characters to use in CAPTCHA image. $comment_captcha->chars = 'ABCDEFGHJKLMNPQRSTUVWXYZ23456789'; // Number of characters in CAPTCHA image. $comment_captcha->char_length = '4'; // Width/Height dimensions of CAPTCHA image. $comment_captcha->img_size = array( '72', '24' ); // Font color of CAPTCHA characters, in RGB (0 - 255). $comment_captcha->fg = array( '0', '0', '0' ); // Background color of CAPTCHA image, in RGB (0 - 255). $comment_captcha->bg = array( '255', '255', '255' ); // Font Size of CAPTCHA characters. $comment_captcha->font_size = '16'; // Width between CAPTCHA characters. $comment_captcha->font_char_width = '15'; // CAPTCHA image type. Can be 'png', 'jpeg', or 'gif' $comment_captcha->img_type = 'png';
Note, the following API-configurable option is not exposed by the Plugin, but can be modified via filter:
// oordinates for a text in an image. $this->base = array( 6, 18 );
Q. What other settings can be configured?
// Comment form CAPTCHA field label text $comment_captcha_form_label = 'Anti-Spam:';
Q. The CAPTCHA field doesn't look right in my comments form. How can I style it?
A. The HTML output is wrapped in a paragraph tag, with class="comment-form-captcha".