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
  #422  
Old 07-08-2002, 12:42 AM
Itworx4me's Avatar
Itworx4me Itworx4me is offline
 
Join Date: Feb 2002
Posts: 210
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

TWTCommish, How hard would it be to add a image to the quiz? I want to use an image of a person and have them guess who the picture is.
Reply With Quote
  #423  
Old 07-08-2002, 07:56 PM
morrow's Avatar
morrow morrow is offline
 
Join Date: Mar 2002
Location: NJ
Posts: 370
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've installed this hack but when I try to run the admin, I get a blank page. Any suggestions?

Thanks in advance!
Reply With Quote
  #424  
Old 07-09-2002, 12:03 AM
bitbender's Avatar
bitbender bitbender is offline
 
Join Date: Jan 2002
Location: Sorta near Dallas, Texas
Posts: 166
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

TWC - OUTSTANDING hack - I've been following along for a month. Installed yesterday - Functional today - VB 2.2.3 !!

Thank you very Much !!

There are oodles of free quizzes to be had, by just doing a "google" search on quizzes.. You will have to 'make' up incorrect answers for the questions, and that can take some research, but I know my members will love it !!
Reply With Quote
  #425  
Old 07-09-2002, 08:10 PM
Demascus's Avatar
Demascus Demascus is offline
 
Join Date: Dec 2001
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

WOW TWT,

Good hack!!! I read the instructiobns properly, followed them to the letter, and it worked 1st time for me.

Only thing I had to do is link to the quiz from my header template, which is of coutrse basic.

I bet you don't write an update though, not after 29 pages of people asking the same questions, some that were explained in the instructions.

Infact, I'd be suprised if you ever post a hack again man!

Damn fine work!
Reply With Quote
  #426  
Old 07-09-2002, 08:17 PM
bitbender's Avatar
bitbender bitbender is offline
 
Join Date: Jan 2002
Location: Sorta near Dallas, Texas
Posts: 166
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thats a Fact, I agree, Demascus !!

I do have one question, thou.. from analysis of the adm_index code, it seems fairly simple to open it up for mods...
Or am I exposing something bad by changing that first require statement ? I tried it on my test server, and it worked well from the forum/mod/ folder, and allowed my dummy mod username to perform all functions...

thanks, Bits
Reply With Quote
  #427  
Old 07-09-2002, 09:02 PM
Smoothie Smoothie is offline
 
Join Date: Oct 2001
Location: New York
Posts: 1,834
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would interested in what code you have to change (if any) to allow mods, or even a certain user group to add quizzes.

Anyone?
Reply With Quote
  #428  
Old 07-10-2002, 12:02 AM
bitbender's Avatar
bitbender bitbender is offline
 
Join Date: Jan 2002
Location: Sorta near Dallas, Texas
Posts: 166
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well, if TWTcomish says what I did was ok, Is fine with me, but imo, I did it clumsy, and redundant. I read thru the admin_quiz.php code and saw how it was doing it's outside directory references. In my "limited" knowledge, that seemed to be the only problem it was going to have in it's execution, if it were copied to the /mod folder for access via MOD Cp .

My board uses PHPortal as a front end, so I was able to alter the copy of admin_quiz.php I put in the /mod folder, nd it seemed to work. I tested it using a username who is SUPERMODERATOR usergroup on my test server.

WHAT I changed was the require statement for the globals..

from:
Quote:
require("./global.php");
To:
Quote:
require("$nukeurl/BBF/admin/global.php");


Be kind...Career Programmer, but relative n00b to PHP..Just 9 months young...
Reply With Quote
  #429  
Old 07-10-2002, 04:26 PM
RobAC RobAC is offline
 
Join Date: Oct 2001
Posts: 314
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Chris,

Any progress on adding a comment field in addition to the answers as I described previously?

-Rob
Reply With Quote
  #430  
Old 07-12-2002, 12:53 AM
CFde CFde is offline
 
Join Date: Nov 2001
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The hack ist great and workes fine for me. But as said before I think the hardest and easiest quiz funktion says nothing without a percentage scoring. Is this addition to hard to do for version1 of the hack ? But again - its one of the best addition for vBB !

Quote:
Originally posted by Martin64
Here's the attached instructions, please backup your files before starting :classic:
workes great - can you also make an addion witch display the latest new quiz below the easieast and hardest quiz on forumhome ?
Reply With Quote
  #431  
Old 07-12-2002, 03:34 PM
bitbender's Avatar
bitbender bitbender is offline
 
Join Date: Jan 2002
Location: Sorta near Dallas, Texas
Posts: 166
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For those wanting to use the quiz entry outside the admin range, wait for VBquiz 2.0. The method I used was unreliable, and unrepeatable on my live server.

The differences between my two environments are the PHP level, and Red Hat levels, but moreso the fact that the rack I lease uses Ensim as a domain manager, and it file system mapping is very different than my test server. The global includes are not processing the same as they do on my local server, so the script just flushes thru; none of it's IF statements are true.

I am still trying to find out why it works ok locally (test server), but I didnt want to mislead anyone by my earlier post (#428).

Rather than hack apart a manificent piece of work as this, I'll defer until the authors publish an upgrade.

I apologize if I have wasted anyones time, other than my own..
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 08: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.05950 seconds
  • Memory Usage 2,316KB
  • 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