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.
dm: I've only tested it on 2.2.6 specifically, but I'll be shocked if it doesn't work well on earlier versions, seeing as how it's almost completely standalone.
Boofo: no, there's no support for multiple correct answers...again, maybe 2.0...it'd be tricky, but it's do-able. You can have more than two answers per question, though, of course. You can add as many as you want. Using it on my site, I have four answers for each question.
So, you can add as many possible answers as you like per question (you're not limited to true or false)...however, only one of them can be right.
Nice script...you are missing this variable though $mainquizlimit and I had to add it to the top ( $mainquizlimit="10"; ) of quiz.php to get it to work...I searched the new tables and don't see a setting for it and its not in the admin cp either...
It's near the bottom of the vBulletin Options page, just as the instructions.txt file details. You need to press the submit button once, I've found, to "confirm" that the data is there for it to work properly.