{"id":197,"date":"2008-11-22T22:07:29","date_gmt":"2008-11-22T16:37:29","guid":{"rendered":"http:\/\/www.bin-co.com\/blog\/?p=197"},"modified":"2008-11-22T22:07:29","modified_gmt":"2008-11-22T16:37:29","slug":"quizzin-wordpress-plugin","status":"publish","type":"post","link":"https:\/\/www.bin-co.com\/blog\/2008\/11\/quizzin-wordpress-plugin\/","title":{"rendered":"Quizzin WordPress Plugin for Quiz Creation"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.bin-co.com\/blog\/wp-content\/uploads\/2008\/10\/wordpress_logo-1-1.png\" alt=\"WordPress Plugin Week\" title=\"WordPress Logo\" width=\"183\" height=\"145\" class=\"alignnone size-full wp-image-136 intro\" align=\"right\" \/><\/p>\n<p class=\"intro\"><strong class=\"highlight\"><a href=\"http:\/\/www.bin-co.com\/tools\/wordpress\/plugins\/quizzin\/\">Quizzin WordPress Plugin<\/a> lets you add quizzes to your blog<\/strong>. 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.<\/p>\n<p><strong class=\"highlight\">Welcome to Plugin week<\/strong> &#8211; 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&#8230;<\/p>\n<ul>\n<li><a href=\"http:\/\/www.bin-co.com\/blog\/2008\/11\/eventr-wordpress-plugin\/\">Eventr WordPress Plugin<\/a><\/li>\n<li><a href=\"http:\/\/www.bin-co.com\/blog\/2008\/11\/autofields-wordpress-plugin\/\">Autofields WordPress Plugin<\/a><\/li>\n<li><a href=\"http:\/\/www.bin-co.com\/blog\/2008\/11\/pollin-wordpress-plugin\/\">Pollin WordPress Plugin<\/a><\/li>\n<li><a href=\"http:\/\/www.bin-co.com\/blog\/2008\/11\/surveys-wordpress-plugin\/\">Surveys WordPress Plugin<\/a><\/li>\n<li><a href=\"http:\/\/www.bin-co.com\/blog\/2008\/11\/quartz-wordpress-plugin\/\">Quartz WordPress Plugin<\/a><\/li>\n<\/ul>\n<p><strong class=\"highlight\">Note 1:<\/strong> Quzzin is a beta plugin(as are most of the plugins released in the Plugin Week) &#8211; so watch out for bugs. And trust me, there will be quite a few.<\/p>\n<h2>Installation<\/h2>\n<ul>\n<li>Download the <a href=\"http:\/\/downloads.wordpress.org\/plugin\/quizzin.zip\">zipped file<\/a>.<\/li>\n<li>Extract and upload the folder to \/wp-contents\/plugins\/ folder<\/li>\n<li>Go to the Plugin management page of WordPress admin section and <strong class=\"highlight\">enable the Quizzin plugin<\/strong><\/li>\n<li>Go to the Quizzin Management page(<strong class=\"highlight\">Tools &gt; Manage Quiz<\/strong>) to create or edit Quizzes<\/li>\n<li>After creating the quiz, create a <strong class=\"highlight\">new post and add the HTML comment [QUIZZIN 1]<\/strong> in it. Here the &#8216;1&#8217; should be the ID of the quiz to be inserted.<\/li>\n<\/ul>\n<h2>Usin&#8217; Quizzin Plugin<\/h2>\n<p>This plugin is pretty straight forward &#8211; after enabling the plugin, go to the Manage Quiz page(Manage &gt; Manage Quiz). All the existing quizzes will be show here. You also have the option of creating a new quiz &#8211; or editing an existing one.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.bin-co.com\/blog\/wp-content\/uploads\/2008\/11\/quizzin_manage-1-1.png\" alt=\"Quizzin WordPress Plugin - Manage\" title=\"Quizzin WordPress Plugin - Manage\" width=\"409\" height=\"214\" class=\"alignnone size-full wp-image-198\" \/><\/p>\n<p>Click on the &#8216;Create new Quiz&#8217; link to create a new quiz &#8211; you have to fill in three fields &#8211; the quiz name, the description and the Final Screen.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.bin-co.com\/blog\/wp-content\/uploads\/2008\/11\/quizzin_create-1-1.png\" alt=\"Quizzin WordPress Plugin - Create\" title=\"Quizzin WordPress Plugin - Create\" width=\"360\" height=\"424\" class=\"alignnone size-full wp-image-199\" \/><\/p>\n<p>The &#8216;Final screen&#8217; field is very important &#8211; 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 &#8216;%%SCORE%%&#8217;, it will be replaced by the score the user got in the quiz.<\/p>\n<p>The other possible variables are&#8230;<\/p>\n<table>\n<tr>\n<th style=\"text-align: left;\">Variable<\/th>\n<th style=\"text-align: left;\">Value<\/th>\n<\/tr>\n<tr>\n<td>%%SCORE%%<\/td>\n<td>The number of correct answers<\/td>\n<\/tr>\n<tr>\n<td>%%TOTAL%%<\/td>\n<td>Total number of questions<\/td>\n<\/tr>\n<tr>\n<td>%%PERCENTAGE%%<\/td>\n<td>Correct answer percentage<\/td>\n<\/tr>\n<tr>\n<td>%%GRADE%%<\/td>\n<td>1-10 value. 1 is 10% or less, 2 is 20% or less, and so on.<\/td>\n<\/tr>\n<tr>\n<td>%%WRONG_ANSWERS%%<\/td>\n<td>Number of answers you got wrong<\/td>\n<\/tr>\n<tr>\n<td>%%RATING%%<\/td>\n<td>A rating of your performance &#8211; it could be &#8216;Failed'(0-39%), &#8216;Just Passed'(40%-50%), &#8216;Satisfactory&#8217;, &#8216;Competent&#8217;, &#8216;Good&#8217;, &#8216;Excellent&#8217; and &#8216;Unbeatable'(100%)<\/td>\n<\/tr>\n<tr>\n<td>%%QUIZ_NAME%%<\/td>\n<td>The name of the quiz<\/td>\n<\/tr>\n<tr>\n<td>%%DESCRIPTION%%<\/td>\n<td>The text entered in the description field.<\/td>\n<\/tr>\n<\/table>\n<p>Once you have filled out this form, you will be taken to the next page where you can manage your questions. Click on the &#8216;Create new Question&#8217; to add your questions and answers. You have to select one of the answers as the correct one.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.bin-co.com\/blog\/wp-content\/uploads\/2008\/11\/quizzin_question-1-1.png\" alt=\"Quizzin WordPress Plugin - New Question\" title=\"Quizzin WordPress Plugin - New Question\" width=\"376\" height=\"428\" class=\"alignnone size-full wp-image-200\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.bin-co.com\/blog\/wp-content\/uploads\/2008\/11\/quizzin_mange_questions-300x245.png\" alt=\"Quizzin WordPress Plugin - Mange Questions in Quiz\" title=\"Quizzin WordPress Plugin - Mange Questions in Quiz\" width=\"300\" height=\"245\" class=\"size-medium wp-image-201\" \/><\/p>\n<p>After you have added all the question, create a new post and add the HTML comment [QUIZZIN 1] &#8211; here the 1 should be the ID of the quiz to be inserted. That&#8217;s it &#8211; you should have a working quiz on your blog now.<\/p>\n<h2>See it in Action<\/h2>\n<p>I have created a <a href=\"http:\/\/wordpress.binnyva.com\/plugin\/wordpress-quiz-quizzin-plugin-demo\/\">WordPress Quiz using the Quizzin plugin<\/a>. Lets see how well you know wordpress. If you take the quiz, post your results in the comments field.<\/p>\n<h2>Credits<\/h2>\n<p>Thanks to <a href=\"http:\/\/www.theanand.com\/blog\/\">&#8216;The&#8217; Anand<\/a> for suggesting the idea of a Quiz plugin. Also, <a href=\"http:\/\/www.dailyseoblog.com\/\">Mani Karthik<\/a> provided a lot of encouragement to create the plugin.<\/p>\n<p>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 &#8211; 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 &#8211; and you have a Poll plugin. To create a survey plugin, just remove the correct answer option and record the user&#8217;s input. You also need to create a interface to show the results. Voila &#8211; you have a survey plugin. That&#8217;s right &#8211; the <a href=\"http:\/\/www.bin-co.com\/blog\/2008\/11\/surveys-wordpress-plugin\/\">Pollin Plugin<\/a> and <a href=\"http:\/\/www.bin-co.com\/blog\/2008\/11\/surveys-wordpress-plugin\/\">Surveys plugin<\/a> are based on the Quizzin Plugin.<\/p>\n<p>The <a href=\"http:\/\/www.bin-co.com\/blog\/2008\/11\/eventr-wordpress-plugin\/\">eventr plugin<\/a> was created for the <a href=\"http:\/\/www.barcampkerala.org\/\">Barcamp Kerala<\/a>. 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) &#8211; that&#8217;s when the thought of doing a plugin week hit me. The rest, as they say, is history.<\/p>\n<h2>Feedback<\/h2>\n<p>If you have any suggestions or notice any problems with the Quizzin WordPress plugin, post it in the <a href=\"http:\/\/projects.binnyva.com\/forum\/viewforum.php?f=10\">Quizzin forum<\/a>.<\/p>\n<p>That&#8217;s it! Plugin week is over. 6 days, 6 plugins. Now, I have to go catch up on some much needed sleep. Happy Blogging!<\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p><strong><a href=\"http:\/\/www.bin-co.com\/tools\/wordpress\/plugins\/quizzin\/\">Quizzin WordPress Plugin<\/a> lets you add quizzes to your blog<\/strong>. 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.<\/p>\n<\/div>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,25,31],"tags":[212,214,227,228,244,304],"class_list":["post-197","post","type-post","status-publish","format-standard","hentry","category-blogging","category-scripts","category-wordpress","tag-plugin","tag-plugin-week","tag-quiz","tag-quizzin","tag-scirpt","tag-wordpress"],"_links":{"self":[{"href":"https:\/\/www.bin-co.com\/blog\/wp-json\/wp\/v2\/posts\/197","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bin-co.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bin-co.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bin-co.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bin-co.com\/blog\/wp-json\/wp\/v2\/comments?post=197"}],"version-history":[{"count":0,"href":"https:\/\/www.bin-co.com\/blog\/wp-json\/wp\/v2\/posts\/197\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.bin-co.com\/blog\/wp-json\/wp\/v2\/media?parent=197"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bin-co.com\/blog\/wp-json\/wp\/v2\/categories?post=197"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bin-co.com\/blog\/wp-json\/wp\/v2\/tags?post=197"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}