Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Inferno Quiz v2.2 Details »»
Inferno Quiz v2.2
Version: 2.2, by Zero Tolerance Zero Tolerance is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.5.0 Beta 1 Rating:
Released: 06-14-2005 Last Update: 06-14-2005 Installs: 326
DB Changes Uses Plugins Template Edits
 
No support by the author.

Port of: https://vborg.vbsupport.ru/showthrea...threadid=80780

However, the system has a pretty big back-end, it's possible i over-looked a bit or 2, so if you encounter errors/php errors please feel free to let me know in this thread and i'll try to get them fixed asap

v2.2 Updates: (Upgrade instructions inside ZIP)
- Several areas of code otptimized (query reduction)
- Uncached templates now cached
- Ability in main options to choose default usergroups to participate/view results to be auto filled in when adding quizzes.

Enjoy,

- Zero Tolerance

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #362  
Old 06-09-2006, 01:50 PM
craiovaforum's Avatar
craiovaforum craiovaforum is offline
 
Join Date: Nov 2005
Location: Craiova
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Fatal error: Unable to proceed with save while $errors array is not empty in class vB_DataManager_PM in /includes/class_dm.php on line 756

anyone know how to solve this?
Reply With Quote
  #363  
Old 06-09-2006, 05:06 PM
Bubble #5 Bubble #5 is offline
 
Join Date: Apr 2005
Posts: 984
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this work with 3.6.X ?

Is there an option to pay/donate for an unbranded version?

:bunny:
Reply With Quote
  #364  
Old 06-09-2006, 05:08 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It seems to be working in 3.6. I haven't had time to really test it. Feel free to go to my site and take a quiz to see. (you don't have to register at my site to take quizzes. I've hacked it to work for guests)
Reply With Quote
  #365  
Old 06-10-2006, 08:32 PM
Bubble #5 Bubble #5 is offline
 
Join Date: Apr 2005
Posts: 984
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK thanks for that. Unfortunately this mod doesn't have several very important features that are needed, and Zero Tolerance doesn't seem to be around anymore to add them, so we can't use it
Reply With Quote
  #366  
Old 06-11-2006, 01:35 AM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sure you can It didn't have several features I needed either. I just added them myself. Webmonkey is a great place to learn the basics of php and nothing teaches you coding better than doing something to a mod that you really need and want.
Reply With Quote
  #367  
Old 06-11-2006, 04:00 AM
Bubble #5 Bubble #5 is offline
 
Join Date: Apr 2005
Posts: 984
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by amykhar
I just added them myself.
If it were only that easy. There's only 24 hours in each day, and we only get 4 hours of sleep from that. We're already 2 months behind in three projects. Sometimes it's more than just a matter of reading something from a website like Webmonkey
Reply With Quote
  #368  
Old 06-16-2006, 09:18 PM
bbcentral's Avatar
bbcentral bbcentral is offline
 
Join Date: Apr 2006
Location: Australia
Posts: 96
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK, I've been reading this thread for the past 5 hours now, been over it several times while I've been working on the quiz.

I think the original quiz was done brilliantly, it's just a shame that it hasn't been updated in so long. Most of the comments here are from people who couldn't get it to work because of some simple error that could be easily fixed.
Most of the suggestions here actually sounded like really good ideas, so I'm currently working on getting some of them up and running.

I've used:
The 'product-infernoquiz.xml' file posted by mtha (Post #212)
The template changes suggested by y2krazy (Post #114)
as the basis of my changes. I've also used many of the comments to fix the bugs (apart from those caused by 'user error').

I stress that I'm only doing this for myself, I'm adding features I think I may use or my members might find useful. But I figure it would be unfair not to share all that with everyone else here, I may even get someone inspired to continue working on it.

New Features I am working on

* I've already added a 'True/False' question type which works perfectly.

* Send a PM to admin when a new Quiz is submitted, already working. It shows the name of the quiz, the description, the image and contains a direct link to the Moderate Quiz Submissions page in AdminCP. This should also have 2 settings:
1) Send a PM to admin when new Quiz is submitted (On or Off)
2) Username(s) to receive notification? (may or may not do this)

* Control over how the questions are ordered (thanks Bubble #5 for this idea!)
When you create a quiz, I'm going to try to add a select box to choose how the questions should be ordered:
-First->Last (Currently forced to this)
-Last->First (Should be easy enough)
-Random/Shuffled (To make cheating harder)

* When creating a quiz, allow/disallow users from taking the test more than once.

* Control over how scores are kept, a setting in AdminCP
-Percentage (eg 10 questions, 5 correct, 50% score)
-Points (eg 14 questions, 8 correct, 8 point score)
This has to be sitewide, rather than per-quiz, to ensure the Overall Leaderboard works correctly.

* Explanation of Answer option for each question, an optional textbox that allows the Quiz author to elaborate on the answer and explain why it is correct. I will try my best on this, but it doesn't sound terribly complex.

* Who is Online page should display that the user is on the Quiz section, rather than just 'Unknown Location' as it currently does.

* Maximum Question Length setting, currently locked to 100 characters but should be a user-defined setting.

* A vBulletin Options settings page for this quiz, because I see quite a few settings being required.


Here are some screenshots of how it's turned out so far, the layout itself is all thanks to y2krazy, but you can see some of the features I've added.

Creating true/false question
Attachment 49512

PM Notification of new Quiz Submission (includes direct link to AdminCP at bottom)
Attachment 49513

Taking the test with a true/false question (layout thanks to y2krazy)
Attachment 49514

Quiz Results PM
Attachment 49515

Quiz Stats for above test
Attachment 49516


I guess the ultimate goal here is to add all these features, get it working and stable, and make sure the installation is as simple as:
1) Upload files
2) CHMOD images folder (nothing else)
3) Import Product
4) Configure
5) Add link to navbar


I'm working on a local server, my changes are still fairly unstable, and there's a lot to go, but I need this thing working properly before I unleash it on my 10,000 or so forum members, so I will try to post as I work on it.

If anyone with good knowledge wants to contribute code or ideas, go right ahead (you can PM me if you like). Anything to save me some time would be most appreciated
Reply With Quote
  #369  
Old 06-17-2006, 01:10 AM
Sooner95 Sooner95 is offline
 
Join Date: Apr 2003
Location: I don't know
Posts: 535
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

would be cool to get this updated and /or a new RLS? this was a great start, but so much more can be done with it.
Reply With Quote
  #370  
Old 06-17-2006, 06:50 AM
bbcentral's Avatar
bbcentral bbcentral is offline
 
Join Date: Apr 2006
Location: Australia
Posts: 96
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Sooner95
would be cool to get this updated and /or a new RLS? this was a great start, but so much more can be done with it.
Agreed. Not sure exactly how I'm going to post this. I'm thinking of just attaching the files to this thread, unless you think the changes will warrant setting up a new thread?
I guess it might need a new thread. Keeping track of bugs might be easier that way. It also would mean we can confirm it works with 3.5.4 and list it that way. Bubble #5 suggested I try to get it working with 3.6.x, which I might do when it's finished. It would only save time later on when we have to upgrade to the new version.

At the moment I'm just trying to clean up all the code. I've made some SQL and template changes, including:
-Renaming the db tables to infernoquiz_* (eg vb_infernoquiz_submissions)
-Renaming the templates to infernoquiz_* (eg infernoquiz_leaderboard_end)
-Grouped the templates under "Inferno Quiz Templates", for neatness
I was finding it very hard to work with the other way:
Custom Templates
-QUIZ
-quiz_cat_end
-quiz_cat_row
etc...

Now it looks like this:
Attachment 49538

And I always prefer to keep the name of the product in the db tables. The actual table structure is the same as before, and I'm hoping too many changes won't be required.
Reply With Quote
  #371  
Old 06-17-2006, 12:12 PM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Whoa sexy man! Is this going to be for 3.5.x or 3.6.x?
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 03:56 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.10280 seconds
  • Memory Usage 2,321KB
  • 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_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
  • (2)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