CAPTCHA Comments

CAPTCHA Comments

Description

Information

  • Version: 2.1
  • Downloads: 11245
  • Requires WP: 3.1
  • Compatible to WP: 3.8.3

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.

Support

Do not post support questions on this page. They will not be answered. Please use the support options below:

Installation

Manual installation:

  1. Upload the cbnet-really-simple-captcha-comments folder to the /wp-content/plugins/ directory

Installation using "Add New Plugin"

  1. Ensure the Really Simple CAPTCHA Plugin is installed.
  2. From your Admin UI (Dashboard), use the menu to select Plugins -> Add New
  3. Search for 'cbnet Really Simple CAPTCHA Comments'
  4. Click the 'Install' button to open the plugin's repository listing
  5. 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.

  1. Activate the plugin through the 'Plugins' menu in WordPress
  2. 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?
A.

// 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".

WordPress Commits
Click to view/hide
Categories
Click to view/hide
Tags
Click to view/hide
Post Formats
Click to view/hide
Endorsements
Click to view/hide
Affiliates
Click to view/hide
Sponsors
Click to view/hide
Blog Stats
Click to view/hide
Copyright License
Click to view/hide