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
  #672  
Old 02-04-2003, 11:15 AM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Molok
My problem that i have a german Board. All Templates are only in my default style and not in my german Sie style.

Is there a possibility to move fast the quiz templates in my german style ?
Here is the sneaky way I did it to make it go faster. I went to PhpMyadmin, and then sorted the templates by templateid. This put all of the templates for the quiz in a group. I then simply executed a query to change the templateid on that group to -1. This made the templates part of the "built in" group that applies to ALL styles.

I have not customized them per style, but I believe you can just the same as the other default ones.

Amy
Reply With Quote
  #673  
Old 02-04-2003, 12:47 PM
Intex Intex is offline
 
Join Date: Apr 2002
Posts: 576
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

pcoskat

Yes this is possible. You can just use the standard html coding for including an image in a page. The only drawback is that you would have to allow html code in your options for that forum.




Quote:
Originally posted by pcoskat
What a lovely hack!!!

Question: when uploading an image to the quiz, is it possible to add a hyperlink to the image? (ie: I'd like to base my quizes on specific books, and have the image be 'of' the book, with that image linked to amazon.com - possible?)

kat
Reply With Quote
  #674  
Old 02-04-2003, 12:52 PM
Intex Intex is offline
 
Join Date: Apr 2002
Posts: 576
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Molok

Not quite what you're looking for, but check this thread out ---> https://vborg.vbsupport.ru/showthrea...highlight=quiz .


Quote:
Originally posted by Molok
Is it possible that Registred User can send a quiz and the admin can only approve the quiz ?
Reply With Quote
  #675  
Old 02-04-2003, 12:54 PM
Molok Molok is offline
 
Join Date: Jun 2002
Location: Switzerland
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this ad on i have installed.

I think the possibility that registred member can send a quiz will be a cool feature.
Reply With Quote
  #676  
Old 02-09-2003, 03:54 PM
Angelus Angelus is offline
 
Join Date: Nov 2001
Location: none
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The Links "View More High Scores" and "View All Results for this Quiz" do not go since the updates on 2.2.9 any longer. Which ran there wrongly. Because with "TWTCommish" it does not go also.
Reply With Quote
  #677  
Old 02-16-2003, 02:03 AM
LangTuDaTinh LangTuDaTinh is offline
 
Join Date: Dec 2001
Posts: 159
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

if u want registered member able to add a new quiz then just add a new folder with same files that u placed in mod folder (look for vbquiz addon), then remove all option except for "add", then remove approve option when u add a quiz, and set so that only registered user can add.

i did this to my quiz section....
Reply With Quote
  #678  
Old 02-16-2003, 10:02 PM
Oblivion Knight's Avatar
Oblivion Knight Oblivion Knight is offline
 
Join Date: May 2002
Location: Sheffield, UK
Posts: 1,757
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh how I wish more people would READ the instructions before they complained of a "bug"..

Working fine at Umbrella Online.
Thankyou for a mighty fine modification..

[high]* Oblivion Knight clicks install.[/high]
Reply With Quote
  #679  
Old 02-17-2003, 11:44 PM
LangTuDaTinh LangTuDaTinh is offline
 
Join Date: Dec 2001
Posts: 159
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok, i make some modification

everything is looking good except for

1. after i submit a message, it will not display that message rightaway, it only display messages that i posed before. If i hit refresh, it will duplicate and show message that i just post which was not appear.

ok too hard to understand
here is an example

1. open a quiz
2. enter a message "testing" and press "post comment" > after it press 'post comment' it will display quiz page again but did not display the message "testing" that i just post.
3. Hit "refresh"
4. Displayed "testing"
5. Hit "refresh" again, two messages "testing" will be post
6. exit that quiz
7. go back that quiz
8. three message "testing" were posted.

First error : So each time i hit refresh after i post my message, it will duplicate my message.
Second error: Message doesn't display right away after hit "post comment"

Please help me to fix these errors.

Thanks
Reply With Quote
  #680  
Old 02-19-2003, 09:09 PM
Zombie-F's Avatar
Zombie-F Zombie-F is offline
 
Join Date: Mar 2002
Location: Spook City, USA
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have a quick question that maybe you could help me with..

Is there any way to get the Quizzes to be displayed alphabetically instead of by id number when in the category view? This would make finding a particular quiz to take be much easier.
Reply With Quote
  #681  
Old 02-20-2003, 01:24 AM
LangTuDaTinh LangTuDaTinh is offline
 
Join Date: Dec 2001
Posts: 159
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

search for

PHP Code:
    $quizzes $DB_site->query("SELECT q.quizid, q.quiztitle, q.description, q.timestamp,
                                       SUM(r.totalcorrect) AS correct, COUNT(r.resultid) AS total
                                FROM quiz q
                                LEFT JOIN quiz_results r
                                  ON (q.quizid = r.quizid)
                                WHERE q.approve  = 1
                                  
$clause
                                GROUP BY q.quizid ORDER BY q.timestamp DESC
                                LIMIT 
$start$per_page"); 
change to

PHP Code:
    $quizzes $DB_site->query("SELECT q.quizid, q.quiztitle, q.description, q.timestamp,
                                       SUM(r.totalcorrect) AS correct, COUNT(r.resultid) AS total
                                FROM quiz q
                                LEFT JOIN quiz_results r
                                  ON (q.quizid = r.quizid)
                                WHERE q.approve  = 1
                                  
$clause
                                GROUP BY q.quizid ORDER BY q.quiztitle ASC
                                LIMIT 
$start$per_page"); 
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 09:22 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.05439 seconds
  • Memory Usage 2,329KB
  • 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
  • (2)bbcode_php
  • (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