Thanks heaps for your Plugin. It's very easy and obvious what you need to do to set up a Quiz. I was able to tailor it a little to make my quiz do what I wanted it to, but I had to tweak the Show_Quiz.php code.
A few suggestions:
Show the Question Number - I made it do this by changing Show_Quiz.php thus (twice - once for the questions and once for the answers):
$result .= "<div class='show-question-content'>". $ques->ID . '. ' . stripslashes($ques->question) . "</div>\n";
You could make whether or not this happens a Parameter of the Quiz.
Rating variable: I wasn't too enamoured with the values you chose for the RATING variable. I overwrote them with my own but this too could easily be a Quiz Parameter so quiz-masters can choose their own values. Your current ones could be the default.
Comment variable: I wanted to have a different comment at the end of the quiz depending on the value of $grade in the same way that the RATING is. I set it up by using the DESCRIPTION variable and set it to one of an 11 element array of text strings according to $grade. However ideally there would be a COMMENT variable as well as DESCRIPTION and the eleven different messages for the comment could be another Quiz Parameter in the same way as I have suggested that the RATING values could be.
Showing the answers: You have same text in the results display that refers to the background colours, however this is not what was actually happening so I changed this text in Show_Quiz.php to reflect what was happening, which was:
The correct answers have a green tick while your incorrect ones have a red cross.
If you would like to check out my quiz go to http://www.castingnasturtiums.com/quiz/
Thanks again. You have saved me many hours of work.
Thanks heaps and a few suggestions
(7 posts) (4 voices)-
Posted 2 years ago #
-
BTW I found one fairly innocuous Bug that was easily worked around, but you might like to fix it some time.
My quiz uses numeric answers for each question, namely 0, 1, 2, 3 & 4, but the php code clearly treats the answer 0 as no answer and throws the answer away. I worked around it by making my answers 1, 2, 3, 4 & None.
Regards GregPosted 2 years ago # -
Thanks for the feedback - I'll make add a few of your suggestions in the next version.Posted 2 years ago #
-
Found another Bug!
If at any stage during the quiz, I click on an answer and then hit "Enter" rather than clicking on the [Next] button, it shoots me straight to end of quiz processing and shows me all the answers. I would have expected it to have the same effect as clicking on [Next].
Regards GregPosted 2 years ago # -
Yeah - that's true. I'll look into it.Posted 2 years ago #
-
Hello,
I made the modifications suggested in the first comment on this page in order to have the questions and answers numbered. They are numbered now for sure, but both start from 3 rather than 1. How can I correct this?
Thanks!Posted 1 year ago # -
Helooo Guys, I also use your plugin and having meanful benefit.I also share you my suggestions in next time .Thanks.
Posted 1 year ago #
Reply
You must log in to post.