该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Text Captcha

描述

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.

安装

  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.

常见问题

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.

评价

此插件暂无评价。

贡献者及开发者

「Text Captcha」是开源软件。 以下人员对此插件做出了贡献。

贡献者

帮助将「Text Captcha」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

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