Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

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
  #532  
Old 08-28-2002, 09:39 AM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

has the issue with the templates not being created been resolved ??

- Mist
Reply With Quote
  #533  
Old 08-29-2002, 08:46 AM
Odil Odil is offline
 
Join Date: Apr 2002
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi

I got the quiz working on my board but after I ran the install file 3 times. This was due to not using the default template set. Anyways, got it workin but there are now 3 entries at the top of the admin cp for [quiz options] along with 3 sets of options to go along with those links. How can I get rid of them?

Thanks!

Odil
Reply With Quote
  #534  
Old 09-01-2002, 03:33 AM
jediguy jediguy is offline
 
Join Date: Nov 2001
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Question: When I added a new Quiz, I neglected to put in an image. Is there any way I can go back and add an image to an already-made quiz - there doesn't seem to be any option in the 'Edit Quiz' page?

Fantastic Hack, BTW.
Reply With Quote
  #535  
Old 09-01-2002, 10:55 AM
Martin64's Avatar
Martin64 Martin64 is offline
 
Join Date: Nov 2001
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Odil
Hi

I got the quiz working on my board but after I ran the install file 3 times. This was due to not using the default template set. Anyways, got it workin but there are now 3 entries at the top of the admin cp for [quiz options] along with 3 sets of options to go along with those links. How can I get rid of them?

Thanks!

Odil
Lol, you need those in order to manage your quizzes (unless you want to do that directly, which I don't think anybody would want). If you still want to get rid of it, open admin/index.php and REMOVE:

Code:
makenavoption("Add","admin_quiz.php?action=addquiz","|");
makenavoption("Modify","admin_quiz.php?action=modifyquiz","|");
makenavoption("Delete","admin_quiz.php?action=deletequiz","<br/>");
makenavoption("Approve","admin_quiz.php?action=approve","|");
makenavoption("Disapprove","admin_quiz.php?action=disapprove","<br/>");
makenavselect("Quizzes");

makenavoption("Add","admin_quiz.php?action=addquestions","|");
makenavoption("Modify","admin_quiz.php?action=modifyquestion","|");
makenavoption("Delete","admin_quiz.php?action=deletequestion");
makenavselect("Quiz Questions");

makenavoption("Add","admin_quiz.php?action=addcat","|");
makenavoption("Modify","admin_quiz.php?action=modifycat","|");
makenavoption("Delete","admin_quiz.php?action=deletecat");
makenavselect("Quiz Categories", "<br/>");
Reply With Quote
  #536  
Old 09-01-2002, 10:59 AM
Martin64's Avatar
Martin64 Martin64 is offline
 
Join Date: Nov 2001
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by jediguy
Question: When I added a new Quiz, I neglected to put in an image. Is there any way I can go back and add an image to an already-made quiz - there doesn't seem to be any option in the 'Edit Quiz' page?

Fantastic Hack, BTW.
Quizzes -> Modify Quizzes -> Select the quiz -> In quiz description, add an html tag:

Code:
<img src="http://www.yourdomain.com/forum/images/pic.gif">
Reply With Quote
  #537  
Old 09-01-2002, 11:04 AM
Odil Odil is offline
 
Join Date: Apr 2002
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No you have missunderstood me. See attached pic. I have 4 of these at the top when I only need one.
Reply With Quote
  #538  
Old 09-01-2002, 11:39 AM
Martin64's Avatar
Martin64 Martin64 is offline
 
Join Date: Nov 2001
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ah, I see. My bad, I didn't read it carefully enough

To get rid of it, fire up phpmyadmin and remove the extra entries in "settinggroup".
Reply With Quote
  #539  
Old 09-01-2002, 11:47 AM
jediguy jediguy is offline
 
Join Date: Nov 2001
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Martin64


Quizzes -> Modify Quizzes -> Select the quiz -> In quiz description, add an html tag:

Code:
<img src="http://www.yourdomain.com/forum/images/pic.gif">
Sorry, the image doesn't come out as an image - it just displays the code.
Reply With Quote
  #540  
Old 09-01-2002, 12:03 PM
Martin64's Avatar
Martin64 Martin64 is offline
 
Join Date: Nov 2001
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That's funny, because I'm using it myself.
Reply With Quote
  #541  
Old 09-01-2002, 12:09 PM
jediguy jediguy is offline
 
Join Date: Nov 2001
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

http://forums.shoresofvalinor.com/quiz.php

And I've definitely got the image installed where the code points to.
Reply With Quote
Reply

Thread Tools

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 06:57 PM.


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.04993 seconds
  • Memory Usage 2,308KB
  • 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_code
  • (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