Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

 
 
Thread Tools
Inferno Quiz v2.1 Details »»
Inferno Quiz v2.1
Version: 2.1, by Zero Tolerance Zero Tolerance is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.0.7 Rating:
Released: 04-29-2005 Last Update: 05-26-2005 Installs: 142
DB Changes
 
No support by the author.

Hey all, heres a system i decided to make for a couple of reasons, mainly because i had some spare time and had nothing better to do, but also because it will benefit my forums and probably yours too.

So, what is Inferno Quiz?
Basically it's a quiz system, allowing administrators to add quiz's and questions, and for users to take part in them, in generic anyway, but the full feature list is provided below.

Note: Support will only be given if you voted Inferno Quiz Hack Of The Month .... just kidding, but you know you wanna
  • Forum Features

    • View All Open Quiz's - Name/End Date/Take Quiz/View Stats
    • Confirmation Take Quiz Page (Also displays information on quiz time limit (if any)
    • Take Quiz Page - Shows all answer type formats + timer in window status bar (if time limit activated)
    • View stats shows all users who have participated in the quiz and an average score.
    • View user stats for a quiz, showing what a user answered for each question, and their overall score (user must have already taken part to view)
    • After taking part in a quiz, the results are PM'ed to you automatically giving all the details, scores and overall score.
  • Admin Features

    • Add/Edit/Delete A Quiz
      • Quiz Name
      • Quiz State (Open/Closed)
      • Usergroups Which Can Participate In This Quiz (Easy Selection System)
      • Usergroups Which Can View User Results In This Quiz (Easy Selection System)
      • Auto Close Quiz Option (Yes/No)
      • Quiz End Date (Only applies if auto close is set to Yes) [Day/Month/Year]
      • Quiz Time Limit (Specify a number of minutes a user has to complete the quiz - or 0 to disable the time limit)
      • Allow users who have finished the quiz to view the correct answers (Yes/No)
    • Add/Edit/Delete A Quiz Question
      • Select which quiz the question is for
      • Input Question
      • Answer Format Type
        • Single-Line Text Box
        • Answer (none-case sensitive)
        • Single-Selection Radio Buttons
        • Input all selectable answers
        • Answer (none-case sensitive)
        • Multiple-Selection Checkbox
        • Input all selectable answers
        • Input all correct answers
    • New Design ACP Confirmation Page
      • System Message
      • Available Actions (Shows several links to make administration faster for the quiz)
  • Installation Features

    • Fast easy installation
    • Includes uninstaller
    • Adds templates automatically to ALL styles
    • Only 2 file edits and 1 template edit required!

v1.1 Updates:
To upgrade, download the file again and follow the upgrade instructions provided
  • FireFox compatability for usergroup permissions in add/edit quiz
  • Score % rounded to full number (ie: 13.3333% becomes 13%)
  • Shows user in quiz on users online page

V2 Feature List: (in addition to the above ^)
https://vborg.vbsupport.ru/showpost....9&postcount=85

v2.1 Update:
- " to " fixed
- ' Chokes add question in submit quiz fixed
- Quote's in allow submission resulted in DB error fixed
- Templates now only added to "master" styles (styles without parents) to stop duplication of un-required templates

Now for the previews, what everyone likes to see..

Previews:
I guess that's all there is to say, apart from enjoy and post any comments below

- Zero Tolerance

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #62  
Old 05-07-2005, 05:08 PM
mtha's Avatar
mtha mtha is offline
 
Join Date: Jul 2002
Location: US
Posts: 775
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M
3. Add the ability in ACP to edit (moderate) peoples answers and re-submit.

4. Add the ability in ACP to delete a persons quiz submission.
well, the code doesnt look very clean in vB standards to me, it might not be optimized much, but the function should work.

you are also able to set which groups (groupid) or users (userid) allowed to edit answers (set in top part of the admin_quiz.php file).
Reply With Quote
  #63  
Old 05-08-2005, 04:46 AM
mtha's Avatar
mtha mtha is offline
 
Join Date: Jul 2002
Location: US
Posts: 775
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

more things to consider:

in ACP:
- display only questions for one quiz, if you have many quizes, and many questions in each, you dont want to display ALL questions for all quizes though.

- Add new question for THAT currently working quiz (preselect the current quiz)

I would also add a "start date" for a record, so people will know when some quiz start/end
Reply With Quote
  #64  
Old 05-09-2005, 08:41 PM
mtha's Avatar
mtha mtha is offline
 
Join Date: Jul 2002
Location: US
Posts: 775
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M
6. For timed quizes, check if a user has javascript enabled and prevent them taking part if not (otherwise they can bypass the timer simply by disabling JS).
or maybe adding two time stamp, one when you start the test, one when you finish the test. I'd like to keep this information for references
Reply With Quote
  #65  
Old 05-10-2005, 06:41 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mtha
well, the code doesnt look very clean in vB standards to me, it might not be optimized much, but the function should work.
It all seems to work fine here, Thanks.
Reply With Quote
  #66  
Old 05-10-2005, 10:05 PM
mtha's Avatar
mtha mtha is offline
 
Join Date: Jul 2002
Location: US
Posts: 775
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mtha
or maybe adding two time stamp, one when you start the test, one when you finish the test. I'd like to keep this information for references
i am adding the timestamps for my own need


demo ...
Reply With Quote
  #67  
Old 05-10-2005, 10:49 PM
mtha's Avatar
mtha mtha is offline
 
Join Date: Jul 2002
Location: US
Posts: 775
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
$s_name = trim(addslashes($s_name));

$DB->query("update ".TABLE_PREFIX."quiz set s_name='{$s_name}',s_state={$s_state} where sid='{$quiz['sid']}'");
Zero, there's some part in admin_quiz.php using s_name, but this field doesnt exist in the table. need some clean up?
Reply With Quote
  #68  
Old 05-11-2005, 09:30 AM
mpadc mpadc is offline
 
Join Date: Apr 2003
Location: Year 4512
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great Stuff!

One sugestion how bout like displaying a league table of users

i.e

like displaying it like a league table

Username Average score No of Quiz taken Total Score
Reply With Quote
  #69  
Old 05-11-2005, 07:53 PM
Zero Tolerance's Avatar
Zero Tolerance Zero Tolerance is offline
 
Join Date: Feb 2004
Location: England
Posts: 813
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mtha
Zero, there's some part in admin_quiz.php using s_name, but this field doesnt exist in the table. need some clean up?
Very true - that is obsolete code, as the engine redirect function is called first - which after execution calls exit, stopping any other php from being processed, i'll make sure it's removed from v2, since it's useless.

- Zero Tolerance
Reply With Quote
  #70  
Old 05-12-2005, 04:12 AM
Zero Tolerance's Avatar
Zero Tolerance Zero Tolerance is offline
 
Join Date: Feb 2004
Location: England
Posts: 813
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

- Bump -

Okay, i've finally got back on track and am ontop of things at the current moment - with that in mind i have started creating v2 of this system.

Planned Features
  • Ability To Import/Export Quiz's Via ACP
    • The system will export data into .xml format, allowing distribution of the XML file to others to 'share' quiz's.
    • Current Status: Pending
  • Quiz Results Moderation
    • Ability to edit/delete any submissions from members. Upon modification - user is notified of this and is shown the new results.
    • Current Status: Pending
  • JS Detection
    • The system will attempt to detect if JS is activated before allowing a user to proceed to a timed quiz. (This will not be fool proof)
    • Current Status: Completed
  • Part-Answer System
    • Text input answers will allow you to enable/disable the part answer system, this is recommended for 'one' (1) word answers. An example would be:
      Users Answer: it is london
      Actual Answer: London
      With 'Part-Answer' enabled on that question, the answer would be correct. This will allow more fluxuation, and correct a lot of answers which are not 'exact' but 'correct'.
    • Current Status: Completed
  • User Quiz Submissions
    • You may specify which usergroups can submit their own quiz's
    • Administrators have to allow submissions before they show
    • Current Status: Pending
  • Quiz Submission Spam Protection
    • Specify if a user can only submit 1 quiz every X hours, to prevent spam. (Only applies if usergroups are allowed to submit quiz's)
    • Current Status: Pending
  • Quiz Descriptions
    • Displayed on the page before starting the quiz
    • Current Status: Completed
  • Improved Visualization Of Questions Control
    • To cut down on long page displays - the system adds a expand/collapse system into all the quiz's, upon expanding the corresponding questions for that quiz appear, and vice versa.
    • Current Status: Completed
  • Overall Leader Board Statistics & Individual Leader Board Statistics
    • Overall Leader Board - Shows top X users with best average score (Username,# Of Quiz's Taken,Average Score)
    • Individual Leader Board - Shows top X users with the best score for a specific quiz (Username,Score)
    • Current Status: Pending
  • Use BBCode Within Quiz Questions
    • Enables admins to use bbcode formatting for quiz questions
    • Current Status: Completed
Hope to have this out very soon

- Zero Tolerance
Reply With Quote
  #71  
Old 05-12-2005, 05:35 AM
mtha's Avatar
mtha mtha is offline
 
Join Date: Jul 2002
Location: US
Posts: 775
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zero Tolerance
- Bump -
Okay, i've finally got back on track and am ontop of things at the current moment - with that in mind i have started creating v2 of this system.
wow, great, i am waiting for the new features.


Quote:
  • Improved Visualization Of Questions Control
    • To cut down on long page displays - the system adds a expand/collapse system into all the quiz's, upon expanding the corresponding questions for that quiz appear, and vice versa.
    • Current Status: Completed
It'd be great if administrator can format quiz questions too, so some important words in the question can be underlined, bolded, or colored somehow


It'd be great if you could consider adding quiz start_time and end_time in the result table too, so you can know when someone is taking the quiz (and when he finish it)
it's also a tool for admin to check if someone do the test unreasonably long or short.

[sql]
ALTER TABLE `quiz_results` ADD `r_start_time` INT( 10 ) NOT NULL;
ALTER TABLE `quiz_results` ADD `r_end_time` INT( 10 ) NOT NULL;
[/sql]

my cumtomized version is attached, (if you dont mind)
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:52 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04848 seconds
  • Memory Usage 2,326KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (8)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete