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

Reply
 
Thread Tools
vBQuiz 1.0 Details »»
vBQuiz 1.0
Version: 1.00, by TWTCommish TWTCommish is offline
Developer Last Online: Dec 2022 Show Printable Version Email this Page

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).
Here are some screenshots: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.

Comments
  #912  
Old 07-05-2004, 04:19 PM
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Location: London
Posts: 5,268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TWTCommish
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
Reply With Quote
  #913  
Old 07-05-2004, 04:21 PM
TWTCommish's Avatar
TWTCommish TWTCommish is offline
 
Join Date: Oct 2001
Location: Pittsburgh, PA, USA
Posts: 783
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sabret00the
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.
Reply With Quote
  #914  
Old 07-05-2004, 04:27 PM
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Location: London
Posts: 5,268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sorry to hear that would've made an awesome feature, well if you plan do decide to add it to 3.0 then i'll definately be wnating to upgrade.
Reply With Quote
  #915  
Old 07-05-2004, 04:56 PM
TWTCommish's Avatar
TWTCommish TWTCommish is offline
 
Join Date: Oct 2001
Location: Pittsburgh, PA, USA
Posts: 783
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #916  
Old 07-05-2004, 05:08 PM
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Location: London
Posts: 5,268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

that's good to hear, i mean no one wants this more than me, it's the only thing i'm left waiting on in order to upgrade my site to vb3
Reply With Quote
  #917  
Old 07-05-2004, 06:18 PM
fechten fechten is offline
 
Join Date: Jul 2002
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TWTCommish
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?

Craig
Reply With Quote
  #918  
Old 07-05-2004, 06:59 PM
TWTCommish's Avatar
TWTCommish TWTCommish is offline
 
Join Date: Oct 2001
Location: Pittsburgh, PA, USA
Posts: 783
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by fechten
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.
Reply With Quote
  #919  
Old 07-13-2004, 08:02 AM
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Location: London
Posts: 5,268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

for the results bit, this kinda shows you what i'm on about
http://www.youthink.com/quiz.asp?act...ke&quiz_id=458
Reply With Quote
  #920  
Old 07-13-2004, 02:35 PM
TWTCommish's Avatar
TWTCommish TWTCommish is offline
 
Join Date: Oct 2001
Location: Pittsburgh, PA, USA
Posts: 783
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sabret00the
for the results bit, this kinda shows you what i'm on about
http://www.youthink.com/quiz.asp?act...ke&quiz_id=458
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.
Reply With Quote
  #921  
Old 07-13-2004, 06:06 PM
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Location: London
Posts: 5,268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

see i'm a dreamer thought it could've been done as simply as
PHP Code:
if ($quizresultsstyle == new)
{
if (
$score 60% and $score 80%)
{
eval(
'$quizresults .= "' fetch_template('quiz_resultstwo') . '";');
}

any chances of this in the future thought chris?
Reply With Quote
Reply


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 12:52 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.12886 seconds
  • Memory Usage 2,321KB
  • 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
  • (1)bbcode_php
  • (5)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
  • (2)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