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.
No; way too complicated, for now. There'd be tons of issues to deal with...capitalization, spelling. Basically, to work realistically it'd have to give the admin the ability to list multiple answers which would be acceptable (IE: if the question was "Who was the 21st President of the United States?", it'd never do to have the answer be "Chester A. Arthur" -- you'd need to make Arthur, Chester Arthur, Chester A Arthur, and Chester A. Arthur all acceptable).
So, it's do-able, but that's more likely to be in a future release, along with a few other ambitious ideas.
wouldn't it just be as simple as a search function, [high]if FIELDXX containts "XXXXX" then correct else wrong[/high] type thing
wouldn't it just be as simple as a search function, [high]if FIELDXX containts "XXXXX" then correct else wrong[/high] type thing
No, because, as I mentioned, almost any text-based user input will have many possible variations, all of which could conceivably be "right." Also, the answer table and temporary answer tables would have to be modified, and the function which grades the quiz would need to be reworked, too. Sadly, it's just not as simple as it sounds. If it was, I probably would've done it already.
I do hope to add it at some point, but the hack's taken awhile anyway and I'd hate to keep all these people waiting too much longer. Just gonna fix some of the bugs and try to go from there. But I'll definitely add it to the to-do list for future versions.
You guys have been wonderfully patient, so I'll grant your request, and give you a peek...
Cool. I noticed a timer for a question. Will the hack only allow setting time by question, or will there be a feature to set a time limit for the entire quiz?
Cool. I noticed a timer for a question. Will the hack only allow setting time by question, or will there be a feature to set a time limit for the entire quiz?
Not directly, but sort of. The hack will allow you to set a default limit with each quiz, and then a specific limit for each question. If you give the quiz a limit of 10, the user will have 10 seconds to answer each question...but if you enter a limit for a specific question, that time will override the quiz's limit.
Time limits for the entire quiz are a little trickier (I'm not the JavaScript maven I'd like to be), but among the possibilities for future versions.
Yeah, I see what you mean. That's beyond the scope of this particular hack. A pretty sizable portion of it would have to be re-written to work that way. As it stounds now many portions of the hack rely on set numbers and the like. If I were to create a hack like that, it'd probably be off on it's own.
Anyway, I've finished all the major issues I can think of with this hack, and have begun some light testing. Unless the testing uncovers some major problems (unlikely), it should be done by the end of the week.