Text Captcha

May 13, 2011

Text Captcha Plugin

Text Captcha uses riddles and math to make sure your posters are real instead of computers.

It doesn’t take much to prove that computers are idiots, but most captchas go too far. Captchas based on graphics don’t work with blind people yet they dominate comment forums. This is a logical captcha that uses math and simple riddles to weed out the machines. This plugin comes with 10 predefined questions and the ability to add more. The math part isn’t too hard and can be disabled if you’re dealing with people who don’t like math. This plugin relies on php sessions to store information.

Installation

  1. Upload the text_captcha/ folder to your /wp-content/plugins/ directory.
  2. Make sure wordpress can write to captcha_config.json.
  3. Activate the plugin through the ‘Plugins’ menu in WordPress.
  4. Click Text CAPTCHA Plugin to configure the plugin (if you like) to toggle which captcha methods you wish to use and modify the questions.

FAQ

Do I have to change my templates?

Maybe. It uses add_filter on the comments to automagically test the captcha but it requires that your comment submit button be have the default #submit id.

Does it rely on JavaScript? Sessions?

It uses WP’s included jQuery in the admin section and plain old javaScript to position the captcha. It uses sessions to hold the captcha answer.

What do you have left to do?

  • Add some css to make admin prettier.
  • Test on multiple versions of WordPress.
  • Gather feedback.
  • Bulletproof the PHP.
  • Bulletproof the JavaScript.
  • Bulletproof the Ajax.
  • Add config options for challenge header, error message.
  • Make the error message more graceful.
  • Consider storing captcha answers in the db instead of a session.

Changelog

0.9

  • Initial import.
  • multiplication, addition and riddle modules.

0.9.1

  • Hack to make it work in explorer.

0.9.2

  • Added a rudimentary ajax hook so you can make it work with plugins like https://wordpress.org/extend/plugins/comment-validation/

0.9.3

  • Added ids to some of the form elements for easier styling

Details

  • Version: 0.9
  • Active installations: 90
  • WordPress Version: 3.0
  • Tested up to: 3.1.4

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars