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.
oh man, my pain
i spent months to build my site
i added tons of cool hacks (shop, bank...) for ibf
and i killed it within 1 nite
damn, i misuploaded a file and didnt know that to backup
the next morning when i noticed that, holy, it was too late
now i have to start over, not really cuz db is still there
i had my friend convert db from ibf to vbb
yeah, hehe, same here, 5 months ago i dun even know how to install a forum
but now i have much exp about PHP and MySQL, especially for IBF
I added severel mods on Ibresource (mod site like this one)
IBF is good, but it easily gets hacked if you are newbie
anyway im a newbie of VBB
no, i modified it by myself , give me your email, i will send u the script.
do u want members able to approve their own quiz or only u can do it? cause right now my script alllow members to approve their own quiz. but i can change that.
to kevinnguyen, goodluck man, reinstall all the hack is pain in the ass...u will need at least 3 or more days if your board is heavily hacked. give me your website link when u done...i wanna see it ehheeeh...what is your vbb style? i want to change my style but don't have much time....and not very good /w graphic software....
hi,
this is going to sound stupid i know
but i cant find anywhere to add the quiz'es im driving crazy!
theres nothing but some options in Admin CP
and when i go /quiz.php it says theres no added quizes
where do i add the quizes and i manage the stuff? please help this hack seems awesome but i cant add anything
thanks
Yesterday at 08:55 PM LangTuDaTinh said this in Post #713 no, i modified it by myself , give me your email, i will send u the script.
do u want members able to approve their own quiz or only u can do it? cause right now my script alllow members to approve their own quiz. but i can change that.
won't you realise it as i'd also be interested in using this, if it uses the style sets and not the mod panel colour settings
03-15-03 at 12:36 AM LangTuDaTinh said this in Post #702
PHP Code:
//- Add a new table
CREATE TABLE `quiz_comments` (
`cid` int(10) NOT NULL auto_increment,
`quizid` int(10) NOT NULL default '0',
`userid` int(25) NOT NULL default '0',
`date` int(11) NOT NULL default '0',
`comments` text NOT NULL,
PRIMARY KEY (`cid`),
KEY `cid` (`cid`),
KEY `userid` (`userid`),
KEY `id` (`quizid`)
) TYPE=MyISAM;
//- find in quiz.php --------------
MORE WITH THIS SCORE
//- add above it-------------------
// ------------------------------------- DELETE COMMENTS START--------------------------------------------
if ($action=="delcomment")
{
if ($bbuserinfo['usergroupid']==6)
{
$DB_site->query("DELETE FROM quiz_comments
WHERE cid = '$cid'");
//////////////////////////////////////////////////////////////////////////////////////////////////////////
$quizcommentr = $DB_site->query("SELECT r.comments, r.date, r.cid,
u.userid, u.username
FROM quiz_comments r, user u
WHERE r.quizid = ".intval($quizid)."
AND r.userid = u.userid
ORDER BY r.cid ASC
");
03-19-03 at 08:55 PM LangTuDaTinh said this in Post #713 no, i modified it by myself , give me your email, i will send u the script.
do u want members able to approve their own quiz or only u can do it? cause right now my script alllow members to approve their own quiz. but i can change that.
to kevinnguyen, goodluck man, reinstall all the hack is pain in the ass...u will need at least 3 or more days if your board is heavily hacked. give me your website link when u done...i wanna see it ehheeeh...what is your vbb style? i want to change my style but don't have much time....and not very good /w graphic software....
yeah, ur style is so boring man
but if you change a new one, you have to install all ur hack again
paintfull!
won't you realise it as i'd also be interested in using this, if it uses the style sets and not the mod panel colour settings
if you want your own style sets then this one is no use for u, cause you have use change most of the code or rewrite the whole script. if i have time will would make it more professional..but...