Version: 1.00, by TWTCommish
Developer Last Online: Dec 2022
Version: 2.2.x
Rating:
Released: 06-10-2002
Last Update: Never
Installs: 213
No support by the author.
vBQuiz 1.0
NOTE: all functionality-impairing bugs have been fixed. The attached files should work well on just about any PHP installation.
What's it do?
It allows you to setup a quiz center on your boards quickly and easily. This quiz center is FULLY templated, integrated with vBulletin, and has an advanced Admin script for managing the quizzes, categories, and questions. Here's an example: Movie Forums - Quizzes
A few of its features...
Tracks all results and displays high scores.
Upon completion, users are given a total quiz breakdown of the quiz, showing them how they fared on each question, and, on the ones they missed, showing them the correct answer.
Upon completion, users are shown a graphical bar representing their score, and a graphical bar representing the average score for the quiz. They are also emailed their information.
Main quiz page calculates and displays the easiest and most difficult quizzes automatically.
Quizzes can be split up into categories.
Quizzes can be approved or disapproved easily to add/remove them from public view/use.
Full integration with the Who's Online? page...IE: "Viewing Quizzes" or "Viewing So and So Quiz" and even "Taking So and So Quiz"
Admin Abilities:
Disallow multiple quiz takings.
Toggle to disinclude quiz results coming from the author of the quiz.
Change the display order of the answers to each question.
Add multiple questions and answers at once (no limit).
That's it! Don't forget, however, to read ALL of the instructions.txt file in the enclosed vbquiz.zip file. It'll help guard against some common bugs.
Files Enclosed (in vbquiz.zip)
- instructions.txt (read it!)
- quiz.php (upload to main forum dir)
- admin_quiz.php (upload to admin dir)
- install_quiz.php (upload to admin dir and then run)
Enjoy!
Also: a HUGE, HUGE, HUGE thanks to GamerForums for beta testing this hack for me. His help was completely invaluable and surely saved me a lot of work in the long run. Thanks!
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Hm, I now have 2 Quizzes, and one "Test" Quiz, but every Quiz always shows only the answers of the first Quiz without the Questions... I m using the new Quiz.php and changed the template to "$question[questiontext]"
I am having major troubles as well and have no choice but to remove it from our site until all this is rectified. I have used the latest version and get db errors and quizzes that don't show or are out of order with the answers.
TWTCommish...I am sorry and this will be a great hack for my site once everything is fixed! Thanks for all your hard work!
You have to be more descriptive, Dark_Wizard. I'd guess that this "db error" is actually a very common problem that can be fixed easily and is described in the instructions.txt file. As for questions out of order: I haven't heard of anyone else having this problem with the new quiz.php file.
Very sweet hack, TWTCommish, and I admire your follow-up in this thread. Thumbs up!
An idea:
Is it possible to create a database of questions (lets say 100 questions), let the quiz select 10 or 15 of those randomly, and output them so that a user can take the quiz many times and get different questions every time?
Just a little idea, I think that would be excellent. Keep up the hard work.
Well, there's no super easy way to do that just yet, but I do think I'll have to write in a LOT more control over the questions for the admin in the next version.
OK, seems I loaded up the wrong Quiz.php, now it works, beside the 99 Percent "bug", I changed the php part as stated but still 99 Percent. One question: In which templates are the "View Quiz results" and "next Question" Buttons?
TWTCommish: how about displaying the most recently added Quiz from the forum home, as well as high scores? Is that possible? Right now I just have a little text link and it's not very amusing.
I'd like to put it below Currently Active Users at my board. Cheers. :P