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
  #522  
Old 08-24-2002, 01:47 AM
sub's Avatar
sub sub is offline
 
Join Date: Apr 2002
Location: Va.
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by TWTCommish
Have you added any questions to the quiz?
Yes, I've added questions but it will not even show up to where I want to modify it. I also looked in the database after I added the questions and its also not there.

Any suggestions?
Reply With Quote
  #523  
Old 08-24-2002, 01:51 AM
TWTCommish's Avatar
TWTCommish TWTCommish is offline
 
Join Date: Oct 2001
Location: Pittsburgh, PA, USA
Posts: 783
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think you're adding questions incorrectly. When you go to the "Add Questions" page, you're supposed to choose a quiz to add them to, and then add two other things: the number of questions you want to add, and the number of answers each should have.

However, a lot of people seem to enter the ACTUAL question in that box...which doesn't work, of course.
Reply With Quote
  #524  
Old 08-24-2002, 02:47 AM
kira kira is offline
 
Join Date: Oct 2001
Location: NYC
Posts: 160
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great hack, Chris! So much fun for our visitors. I've asked this before on the "add-on" thread, but haven't heard anything back yet -- maybe you'll be able to help me. I'd love to be able to add the title and link of the most recent quizzes near my "who's online" area. Something like:

----------------------
Newest Quiz: Created 08/23/02 by Kira
"How many vBhackers does it take to screw in a lightbulb?"
----------------------

Can anyone think of a way to do this?

Thanks again for an amazing job. :bandit:
Reply With Quote
  #525  
Old 08-24-2002, 11:19 AM
sub's Avatar
sub sub is offline
 
Join Date: Apr 2002
Location: Va.
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by TWTCommish
I think you're adding questions incorrectly. When you go to the "Add Questions" page, you're supposed to choose a quiz to add them to, and then add two other things: the number of questions you want to add, and the number of answers each should have.

However, a lot of people seem to enter the ACTUAL question in that box...which doesn't work, of course.
OMG! *puts paper bag over my head*

I really feel stupid now. Thanks TWTCommish, all this time I've been trying to figure out why it won?t work and it was working, just I entered the questions in and answers instead text of numbers.

Thanks man and sorry for the inconvenience.
Reply With Quote
  #526  
Old 08-26-2002, 11:04 PM
Rose's Avatar
Rose Rose is offline
 
Join Date: Nov 2001
Location: K-Town, Germany
Posts: 619
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Chris, I installed this a while back, but it didn't work right for our forums. So I removed it. Or thought I did. I didn't undo the queries run and now that's interefering withsomething else. Is there a way to undo these queries? (from the vBinstall file)
Reply With Quote
  #527  
Old 08-26-2002, 11:15 PM
TWTCommish's Avatar
TWTCommish TWTCommish is offline
 
Join Date: Oct 2001
Location: Pittsburgh, PA, USA
Posts: 783
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, there's no uninstallation built into it...what's it interfering with now?
Reply With Quote
  #528  
Old 08-27-2002, 01:50 AM
Rose's Avatar
Rose Rose is offline
 
Join Date: Nov 2001
Location: K-Town, Germany
Posts: 619
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, I've tried installing the custom post prefix hack. It seems the field id's are the same. For instace, when I run the first three queries from the CPP hack, it tells me error - duplicate id number. After completely installing it, under the CPP section in the control panel - I have the quiz options. *hehe* So that's what I'd like to remove.
Reply With Quote
  #529  
Old 08-27-2002, 02:48 PM
TWTCommish's Avatar
TWTCommish TWTCommish is offline
 
Join Date: Oct 2001
Location: Pittsburgh, PA, USA
Posts: 783
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ah, I see. Well, that's a little tricky...the command wouldn't be the same for all boards, if they've installed some hacks. If you trust me enough to let me into the backend, I could zap 'em for you...or I could walk you through it on MSN or something of the sort. Just let me know.
Reply With Quote
  #530  
Old 08-27-2002, 03:37 PM
TheEDIGuy TheEDIGuy is offline
 
Join Date: Jul 2002
Location: Buffalo, NY
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

TWTCommish: This hack looks great, and I'm planning to install it this weekend. But, (of course) I have a question.

We run a forum geared to reality TV. With Survivor, etc. starting up, we kind of wanted to run a "Survivor picks" game, where people answer quiz questions (who will win the reward challenge, etc.) where we don't yet know the answers.

The idea is, they'd take the quiz, and when the show runs, we'd plug in the answers and the members who took it would be scored at that point.

I have a feeling this would be a MAJOR change, and so I'm just asking what you thought of something like that. I'm no PHP expert, I know just enough to get into trouble.

Thanks again! As-is, it'll be nice for some of our other discussion topics.

John
www.realitytvtalk.com/forums
Reply With Quote
  #531  
Old 08-27-2002, 06:32 PM
Rose's Avatar
Rose Rose is offline
 
Join Date: Nov 2001
Location: K-Town, Germany
Posts: 619
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by TWTCommish
Ah, I see. Well, that's a little tricky...the command wouldn't be the same for all boards, if they've installed some hacks. If you trust me enough to let me into the backend, I could zap 'em for you...or I could walk you through it on MSN or something of the sort. Just let me know.
Chris, you have my msn, im me when you're free. We'll see what the best way to do it is.
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 02:45 PM.


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.05288 seconds
  • Memory Usage 2,320KB
  • 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
  • (3)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
  • (3)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