This plugin hasnt been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Quiz

Description

Commenters must answer a question correctly before their comment will be accepted. This cuts down on spambots, and can also be helpful with troll-control.

This plugin adds a question/answer to your comment form. Authors can write a new Quiz question and answer for each post, fall back on a default question, or have no question at all.

Answers are checked by a caseless comparison. So spelling must be correct but uppercase letters do not matter. Short answers of one or two words are best and punctuation should be avoided.

Questions should be crafted to check that the commenter read the post. So a post about your dog might have the question “What is my dog’s name?” and a gallery post might ask “What brand of beer appears most often?”

You can enter multiple correct answers, separated by commas. For example, if you enter:

6, six, half dozen

Either “6” or “six” or “half dozen” will be accepted as correct.

Logged in users with the ability to publish posts (Authors, Editors and Administrators, normally), do not have to answer the question in order to post a comment.

Instructions

When you write a post, enter the question and answer in the “Comment Quiz” meta box. If you leave it blank, the default question will be used. If you enter “noquiz” as the question, that post will not display a quiz.

To manually place the quiz form within you comments section, edit the comments.php file and insert the following: do_action(‘comment_quiz’)

There is a Settings screen if you want to customize things, including setting the default question or customizing the way the quiz displays on the page.

Tips on how to improve questions can be found at http://striderweb.com/nerdaphernalia/features/wp-comment-quiz/

(Please Note: the old “quicktag” method no longer works. If you want to use that method, you should download version 1.0. In 1.1 and above you enter the question in the meta box.)

Screenshots

The Quiz settings page

Installation

Upload the ‘quiz’ folder to the ‘/wp-content/plugins/’ directory and activate it in Admin. If upgrading from 1.0, be sure to deactivate/upgrade/reactivate, or defaults won’t be set.

FAQ

Why does the question still appear if I am an Author, Editor, or Administrator?

To let you see the question as it appears to other visitors, and to not unnecessarily interfere with caching systems.

Reviews

This simple plugin has stopped 99.99% of comment spam over the years. Please come back to update it! You don't need captcha if the developers would update Quiz. The plugin is by far the best anti-spam comment filter out there and no one has developed anything that works as well that is so easy to use and so effective.

1.1.1

* beta 1 by SR 2008-08-25
* BUGFIX -- rejected all comments if set to "noquiz" (No place to answer the question, but the (non)answer was tested anyway!)
* BUGFIX -- if "noquiz" was entered as Answer on edit screen, it didn't save. Now works for both Question and Answer

1.1 beta 6

1.1 beta 5

* by SR
* Settings Screen in Admin -- no more editing files
* "Comment Quiz" meta box in Post/Page edit screen -- no more shortcodes. Data stored same as before, so preexisting quizzes still work
* No more [short tag] system functions. Requires WP 2.5+ for the meta boxes.
* Added wp_kses cleanup to quiz questions
* Added strip_tags to default Cleanup functions
* Legacy the_quiz() support (deprecated)
* Users can add quiz to their themes with do_action('show_comment_quiz') & don't have to mess with function_exists()
* Direct Settings link from Plugins page
* Automatically figures out if form was manually inserted in theme. If auto-inserted, tries to reposition form via JavaScript
* If quiz form lacks %question% placeholder, uses default form.
* Moved functions into a class for code reusability and avoiding function name conflicts

1.0

* by AS
* 1.0 is spaghetti code!
* Shortcodes are removed from post_content and saved into postmeta so that disabling the plugin won't cause all the answers to appear on the blog.
* Editors that do not use the standard API will not work properly with this because we need certain filters to be used.