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.
Originally posted by TWTCommish dm: can you attach your install_quiz.php file to a post here? Maybe it got messed up somehow...
Dark_Wizard: I think you're running a different version of PHP than I am. Use the attached quiz.php file in place of your current quiz.php file, and I think it should do the trick.
Tried it and same thing....also I'm using PHP 4.1.2
Originally posted by ceo_tfw I have installed the quiz and I had both errors, one was with database error
[sql]
Invalid SQL: SELECT quizid, quiztitle, description, timestamp, userid, catid, imagename
FROM quiz
WHERE approve = 1
ORDER BY timestamp DESC
LIMIT
mysql error: You have an error in your SQL syntax near '' at line 5
mysql error number: 1064
[/sql]
and now I have a blank quiz.php
the templates did not install and I am on version 2.2.6 php
I have re-uploaded the install file and still no go, otherwize the admin functions are working great, just the templates
Go to vbulletin options then to quiz and set your options then click submit...as for the templates I can copy mine and you can install from that...
Here's a new install_quiz.php file. Here's how it can help you (I hope ): find out what the templatesetid is for your primary template set. Then, instead of going to this URL to insert the templates...
"X" of course should be replaced by the templatesetid number. Of course, you'll need the attached file in place of the old one, too. Let me know if it works.