這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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.

評價

There are no reviews for this plugin.

貢獻者及開發者

“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