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
  #622  
Old 11-26-2002, 08:48 PM
Brahm Brahm is offline
 
Join Date: Jan 2002
Location: Texas, USA
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I did what you recommended -- had to install phpmyadmin -- but I still see them listed. It's just that the selectable items are gone. I suppose that was what I deleted. I have one good set, and four others listed, with no options in the admin control panel.
Reply With Quote
  #623  
Old 11-26-2002, 08:52 PM
Brahm Brahm is offline
 
Join Date: Jan 2002
Location: Texas, USA
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I had to go into "settinggroup" and then I just deleted the ones in there that corresponded with the ones in "setting."

This is working beautifully -- thanks again for all of the assistance!
Reply With Quote
  #624  
Old 11-26-2002, 09:30 PM
Talisman's Avatar
Talisman Talisman is offline
 
Join Date: Aug 2002
Location: USA/West Coast
Posts: 371
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Glad you found that, Brahm. Sorry, I forgot to mention it.

Quote:
Originally posted by influence
hay talisman how did you fixed yours? because when I install mine and run setup, it says templates was install but then I checked my templates, I dont see anything
I'm truly the last person around here who should be giving out suggestions. Mostly, I just install them and hope for the best. :squareeyed: (In this case, I just couldn't restore the backup I'd made 2 days before because that would have wiped out 5 other hacks I'd made over the weekend.)

Anyway, I found the missing templates using phpMySql (again) in the "templates" table. Same thing ..... just change them from templatesetid 1 to whatever you're using.

Hope this helps ........ good luck!

Talis.
Reply With Quote
  #625  
Old 11-26-2002, 09:35 PM
influence influence is offline
 
Join Date: Jan 2002
Location: inside a bullet
Posts: 207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nevermind, I figured it out. My template ID was showing 26 to I change it to 1. fixed the problems.

thanks
Reply With Quote
  #626  
Old 11-26-2002, 11:19 PM
influence influence is offline
 
Join Date: Jan 2002
Location: inside a bullet
Posts: 207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am having this problem. I already checked this whole thread and few people asked why is it happening but no one give them any answer or help and I was wondering if anyone can help help me fix it.

When I add a question and then aprove it, then also on the "quiz questions" section, I click on modify and select a quiz but then it shows No questions foundd. why is that? and I do have questions added to the quizzes. Also when I go to my forum to take a question, it shows this error after I click on the Take This Quiz button. the error it show is this

vBulletin Message
Error: invalid quiz specified.

Back to Main Quiz Page

can anyone please hellllp me figure this out and why is it acting like this.

please

thanks
Reply With Quote
  #627  
Old 11-27-2002, 02:49 PM
cklaszlo cklaszlo is offline
 
Join Date: Nov 2001
Posts: 83
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I added this but we are getting an error:

Code:
Database error in vBulletin 2.2.6:

Invalid SQL: SELECT quizid, quiztitle, description, timestamp, userid, catid, imagename
                                FROM quiz
                                WHERE approve = 1
                                ORDER BY timestamp DESC
                                  LIMIT 
mysql error: You have an error in your SQL syntax near '' at line 5

mysql error number: 1064

Date: Wednesday 27th of November 2002 11:38:48 AM
Script: http://www.thrillnetwork.com/boards/boards/quiz.php
Referer:

I notice on the above it is duplicating the directory: boards/boards/quiz.php

The quiz should be on this page:

http://www.thrillnetwork.com/boards/quiz.php

All the DB's installed correctly and all the templates are installed.

We are running VB 2.2.6

Thanks!

Alex
Reply With Quote
  #628  
Old 12-02-2002, 09:46 AM
snout snout is offline
 
Join Date: Nov 2002
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

TWTCommish, in my books you are the master of VB !! Thanks for this great hack.... I had a few probs seting it up as I had multiple template sets and styles....

It now works like a treat.... big respect to ya for sharing this with us !!

Features for ver 2.0:
Would be great to see these in V2:

:- Timed Quizzes (Maybe a countdown feature)
:- Quiz Homepage
:- Admin Functions (so we can see what members have taken the test and who passed/who didnt) Kind of like a stats page for admins only

Also I had a lookie at ur site, bloody good work on that too m8

Thanks again


PS: Im running vb2.2.9 *clicks install*
Reply With Quote
  #629  
Old 12-02-2002, 10:27 AM
AdamJus AdamJus is offline
 
Join Date: Nov 2002
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great hack again TWT.

I agree with Snout - some form of reporting is a must for v.2.

Nice site too d00d.

*installed and clicked*
Reply With Quote
  #630  
Old 12-02-2002, 04:20 PM
cklaszlo cklaszlo is offline
 
Join Date: Nov 2001
Posts: 83
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can anyone help us with the above problem? Upon further looking into the DB I see that we added a quiz via the Admin of the the boards but no data was written to the Tables in the DB. The tables were created in the install.

Update: after looking into this more it seams that for some reason 3 different Vb option sections for the quizzes got installed. Very strange. We save the VB option page as instructed and nothing happened. I did it three times and on the thrid time it worked. So one of the installed sections didn't install properlly. All very wierd.
Reply With Quote
  #631  
Old 12-03-2002, 04:05 AM
LangTuDaTinh LangTuDaTinh is offline
 
Join Date: Dec 2001
Posts: 159
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

just a suggestion.... if possible...it allow users to add comments on a quiz.

thank...this hack is great.
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 11:03 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.05427 seconds
  • Memory Usage 2,312KB
  • 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_code
  • (1)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