Quizzin WordPress Plugin for Quiz CreationBy Binny V A • Nov 22nd, 2008 • Category: Blogging, Scripts, WordPress
Quizzin WordPress Plugin lets you add quizzes to your blog. This plugin is designed to be as easy to use as possible. Quizzes, questions and answers can be added from the admin side. This will appear in your post if you add a small HTML comment in your post.
Welcome to Plugin week – in Plugin week, I release a new WordPress Plugin each day, every day for one week. This is the sixth (and final) plugin in that series. The plugins released so far are…
- Eventr WordPress Plugin
- Autofields WordPress Plugin
- Pollin WordPress Plugin
- Surveys WordPress Plugin
- Quartz WordPress Plugin
Note 1: Quzzin is a beta plugin(as are most of the plugins released in the Plugin Week) – so watch out for bugs. And trust me, there will be quite a few.
- Download the zipped file.
- Extract and upload the folder to /wp-contents/plugins/ folder
- Go to the Plugin management page of WordPress admin section and enable the Quizzin plugin
- Go to the Quizzin Management page(Tools > Manage Quiz) to create or edit Quizzes
- After creating the quiz, create a new post and add the HTML comment [QUIZZIN 1] in it. Here the ’1′ should be the ID of the quiz to be inserted.
Usin’ Quizzin Plugin
This plugin is pretty straight forward – after enabling the plugin, go to the Manage Quiz page(Manage > Manage Quiz). All the existing quizzes will be show here. You also have the option of creating a new quiz – or editing an existing one.
Click on the ‘Create new Quiz’ link to create a new quiz – you have to fill in three fields – the quiz name, the description and the Final Screen.
The ‘Final screen’ field is very important – you can customize the result of the quiz using this. Basically, what you fill in here will be shown when a user completes the quiz. You can use several variables here. For example, if you put in the text ‘%%SCORE%%’, it will be replaced by the score the user got in the quiz.
The other possible variables are…
|%%SCORE%%||The number of correct answers|
|%%TOTAL%%||Total number of questions|
|%%PERCENTAGE%%||Correct answer percentage|
|%%GRADE%%||1-10 value. 1 is 10% or less, 2 is 20% or less, and so on.|
|%%WRONG_ANSWERS%%||Number of answers you got wrong|
|%%RATING%%||A rating of your performance – it could be ‘Failed’(0-39%), ‘Just Passed’(40%-50%), ‘Satisfactory’, ‘Competent’, ‘Good’, ‘Excellent’ and ‘Unbeatable’(100%)|
|%%QUIZ_NAME%%||The name of the quiz|
|%%DESCRIPTION%%||The text entered in the description field.|
Once you have filled out this form, you will be taken to the next page where you can manage your questions. Click on the ‘Create new Question’ to add your questions and answers. You have to select one of the answers as the correct one.
After you have added all the question, create a new post and add the HTML comment [QUIZZIN 1] – here the 1 should be the ID of the quiz to be inserted. That’s it – you should have a working quiz on your blog now.
See it in Action
I have created a WordPress Quiz using the Quizzin plugin. Lets see how well you know wordpress. If you take the quiz, post your results in the comments field.
As a matter of fact, Quizzin is the first plugin in the plugin week series. When those two suggested the Quiz plugin, my lazy brain immediately saw the benefits – I get 3 plugins for the price of one. Once the quiz plugin is created, just remove the correct answer option, limit the question to just one and record the answers – and you have a Poll plugin. To create a survey plugin, just remove the correct answer option and record the user’s input. You also need to create a interface to show the results. Voila – you have a survey plugin. That’s right – the Pollin Plugin and Surveys plugin are based on the Quizzin Plugin.
The eventr plugin was created for the Barcamp Kerala. Again, the credit for its suggestion goes to Anand. After that plugin was ready, I am sitting on four unreleased plugins(that is, two plugins and an idea for two more) – that’s when the thought of doing a plugin week hit me. The rest, as they say, is history.
If you have any suggestions or notice any problems with the Quizzin WordPress plugin, post it in the Quizzin forum.
That’s it! Plugin week is over. 6 days, 6 plugins. Now, I have to go catch up on some much needed sleep. Happy Blogging!