vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Inferno Quiz v2.1 (https://vborg.vbsupport.ru/showthread.php?t=80780)

Zero Tolerance 04-29-2005 10:00 PM

Inferno Quiz v2.1
 
Hey all, heres a system i decided to make for a couple of reasons, mainly because i had some spare time and had nothing better to do, but also because it will benefit my forums and probably yours too.

So, what is Inferno Quiz?
Basically it's a quiz system, allowing administrators to add quiz's and questions, and for users to take part in them, in generic anyway, but the full feature list is provided below.

Note: Support will only be given if you voted Inferno Quiz Hack Of The Month .... just kidding, but you know you wanna :p
  • Forum Features

    • View All Open Quiz's - Name/End Date/Take Quiz/View Stats
    • Confirmation Take Quiz Page (Also displays information on quiz time limit (if any)
    • Take Quiz Page - Shows all answer type formats + timer in window status bar (if time limit activated)
    • View stats shows all users who have participated in the quiz and an average score.
    • View user stats for a quiz, showing what a user answered for each question, and their overall score (user must have already taken part to view)
    • After taking part in a quiz, the results are PM'ed to you automatically giving all the details, scores and overall score.
  • Admin Features

    • Add/Edit/Delete A Quiz
      • Quiz Name
      • Quiz State (Open/Closed)
      • Usergroups Which Can Participate In This Quiz (Easy Selection System)
      • Usergroups Which Can View User Results In This Quiz (Easy Selection System)
      • Auto Close Quiz Option (Yes/No)
      • Quiz End Date (Only applies if auto close is set to Yes) [Day/Month/Year]
      • Quiz Time Limit (Specify a number of minutes a user has to complete the quiz - or 0 to disable the time limit)
      • Allow users who have finished the quiz to view the correct answers (Yes/No)
    • Add/Edit/Delete A Quiz Question
      • Select which quiz the question is for
      • Input Question
      • Answer Format Type
        • Single-Line Text Box
        • Answer (none-case sensitive)
        • Single-Selection Radio Buttons
        • Input all selectable answers
        • Answer (none-case sensitive)
        • Multiple-Selection Checkbox
        • Input all selectable answers
        • Input all correct answers
    • New Design ACP Confirmation Page
      • System Message
      • Available Actions (Shows several links to make administration faster for the quiz)
  • Installation Features

    • Fast easy installation
    • Includes uninstaller
    • Adds templates automatically to ALL styles
    • Only 2 file edits and 1 template edit required!

v1.1 Updates:
To upgrade, download the file again and follow the upgrade instructions provided
  • FireFox compatability for usergroup permissions in add/edit quiz
  • Score % rounded to full number (ie: 13.3333% becomes 13%)
  • Shows user in quiz on users online page

V2 Feature List: (in addition to the above ^)
https://vborg.vbsupport.ru/showpost....9&postcount=85

v2.1 Update:
- " to " fixed
- ' Chokes add question in submit quiz fixed
- Quote's in allow submission resulted in DB error fixed
- Templates now only added to "master" styles (styles without parents) to stop duplication of un-required templates

Now for the previews, what everyone likes to see..

Previews:
I guess that's all there is to say, apart from enjoy and post any comments below :)

- Zero Tolerance

anarchystar 04-30-2005 03:44 AM

Kewl mod! :cool:

Zero Tolerance 04-30-2005 03:52 AM

Updated - I forgot to add quiz.xml into the zip *feels stupid*

- Zero Tolerance

Reeve of shinra 04-30-2005 03:56 AM

Looks cool. I'll prob install this in the next few days.

Blam Forumz 04-30-2005 05:39 AM

Looks good, ive been wanting one of these for a while now :D

uae 04-30-2005 05:46 AM

ZT Rulessss

running to install it right away

Clicked install :)

FightRice.com 04-30-2005 05:57 AM

Awesome man work man.

you must have alot of free time :lol:

Zero Tolerance 04-30-2005 06:07 AM

Quote:

Originally Posted by FightRice.com
Awesome man work man.

you must have alot of free time :lol:

Not really, only took me about half a day to make, i just spread it over a few days :)

- Zero Tolerance

sabret00the 04-30-2005 06:20 AM

Competition's great :D looks great, can't wait to see if it develops further. :)

moley 04-30-2005 06:36 AM

Hehehe ZT your a "Master Coder" Good job I was using your survey hack like a quiz before but this seems much better :p

TheWolverine 04-30-2005 07:31 AM

Brilliant :) Been waiting for a quiz mod for quite a long time. Good work!

The Wolverine :D

johnbruce71 04-30-2005 09:18 AM

I keep getting this message when I try to take part in a quiz:

Quote:

An error has occured, the following message has been left below:

Your usergroup does not have access to participate in this particular quiz.
Any ideas why? Yes i have set the allow user groups in the quiz cp

j_86 04-30-2005 09:42 AM

/me drools

Nordinho 04-30-2005 11:14 AM

Quote:

Originally Posted by JimpsEd
[high]* JimpsEd drools[/high]

This looks really good...thanks a lot!!

will there be an option for users to submit their own quizzes in future releases??

j_86 04-30-2005 11:37 AM

Suggestion: Option to create new thread in a particular forum with the results :)

Zero Tolerance 04-30-2005 01:11 PM

*Adds 2 suggestions to v2 feature list* :)

- Zero Tolerance

nexialys 04-30-2005 01:27 PM

another sugg: if we have shop, give points for perfect scores... (a simple query though!)

MauriceReed 04-30-2005 02:38 PM

yet again...ZT comes up with the goods.

with the greatest of respect for the other coders on here, your hacks are the most stable, easy to install, and functional on here m8....seriously.

Zero Tolerance 04-30-2005 03:09 PM

Quote:

Originally Posted by nexialys
another sugg: if we have shop, give points for perfect scores... (a simple query though!)

Yeah i was planning on adding this option to v2, along with compatability for uShop/RPG Inferno.

Quote:

yet again...ZT comes up with the goods.

with the greatest of respect for the other coders on here, your hacks are the most stable, easy to install, and functional on here m8....seriously.
Thanks, that means a lot to me, nice to know that my effort is not a waste of time :)

- Zero Tolerance

Mephisteus 04-30-2005 04:27 PM

Damn Zero Tolerance. You saved me a whole load of time with this :) I need a similar system for a clan approval question form :)

All I need to change is to have it change the usergroups at the end of the quiz and to have the questions in a random order :)

Zero Tolerance :pwnz: (that should really be a smilie :))

Marky 04-30-2005 04:41 PM

Super cool hack dude :)
Fantastic work ^_^

DR?@M W?@V?R 04-30-2005 04:56 PM

Quote:

Originally Posted by johnbruce71
I keep getting this message when I try to take part in a quiz:
Any ideas why? Yes i have set the allow user groups in the quiz cp

Are you useing Firefox? I got the same error with Firefox, I tryed IE and it worked fine, I reckon its cause the way Firefox handels javascript ?

uae 04-30-2005 07:04 PM

Suggestion: Option to have x usergroup OR "SuperMod" to EDIT / Add A New Quiz & Question from the MODCP page or maybe a new page within your forums!

wwesn1 04-30-2005 07:22 PM

Quote:

Originally Posted by johnbruce71
I keep getting this message when I try to take part in a quiz:



Any ideas why? Yes i have set the allow user groups in the quiz cp

I have that problem too...I set all the permissions but if I go back to edit again it reverts back to no permissions

wwesn1 04-30-2005 07:24 PM

Quote:

Originally Posted by DR?@M W?@V?R
Are you useing Firefox? I got the same error with Firefox, I tryed IE and it worked fine, I reckon its cause the way Firefox handels javascript ?

thanks, that worked for me

xtreme-mobile 04-30-2005 08:07 PM

screen shots look fantastic

good work gonna try and install this..................................now

Stalis 04-30-2005 08:09 PM

Nice hack. Installed :)

Ski-Whiz 04-30-2005 08:32 PM

ZT, I'm excited about this hack!! I'm just curious when you think v2 will be done??

I'd love the add it, but I think the ucash part is what I'm gonna wait for.. :D

This hack has a bright future!! Just curious.. Before I install. If v2 is going to be released in a week or two, I'll wait.. :D

Good job! I like you hacks!

DR?@M W?@V?R 04-30-2005 09:24 PM

Quote:

Originally Posted by uae
Suggestion: Option to have x usergroup OR "SuperMod" to EDIT / Add A New Quiz & Question from the MODCP page or maybe a new page within your forums!

that would be great I would like to allow all registered user groups to post quizzes and for all registered user groups to take part and view stats.

Could there be a option to email the quiz results rather than pm them?

Polo 04-30-2005 09:31 PM

Cool a free version of a quiz system for vbulletin, you rock Zero Tolerance!!

Thank you.. will definetly install it at my site..

mr.gamesbay 04-30-2005 09:45 PM

I test it on my local Server.
Great Hack! :)

But there is a way to cheat (Timelimit).
If you Start a Quiz, you can copy and past the text, gi back with the "Back" button from your Browser. Then you can start the quiz again.

johnbruce71 04-30-2005 09:56 PM

Thanks, a really great hack. I've installed it and the minor problem of having to go too and from FireFox and IE to set permissions could be looked at but i'm sure people can put up with this small problem for now.

Great hack, Keep up the good work.

OrangeFlea 04-30-2005 10:34 PM

Suggestion: Can you implement a scheduled task feature (cron job). Where admins would preload the questions ahead of time for a designated schedule, and it automatically starts a quiz thread. Like the Thread of the Week hack.

Vevina 04-30-2005 11:56 PM

ive got a few probs ... can you help me please :) in admincp/index.php mine shows like this:

// *************************************************

$printhr = false;
if (can_administer('canadminsettings'))
{
$printhr = true;
construct_nav_option($vbphrase['vbulletin_options'], 'options.php?null=0', '<br />');
if ($debug == 1)
{
construct_nav_option($vbphrase['admin_help_manager'], 'help.php?do=manage&script=NOSCRIPT');
}
construct_nav_group($vbphrase['vbulletin_options'], '<hr />');
}
if ($printhr == true)
{
construct_nav_spacer();
}

// ###### ELITECODERS DOWNLOAD HACK ######
construct_nav_option("Settings", 'downloadadmin.php?do=settings', '<br />');
construct_nav_option("Categories", 'downloadadmin.php?do=category', '<br />');
construct_nav_group("Downloads", '<hr />');
// ###### ELITECODERS DOWNLOAD HACK ######

// *************************************************

can you tell me where to put :

$printhr = true ;
construct_nav_option("Control Inferno Quiz's", 'admin_quiz.php', '<br />');
construct_nav_option("Control Quiz Questions", 'admin_quiz.php?do=questions', '<br />');
construct_nav_group("Inferno Quiz Control", '<hr />');
$printhr = false;

Also in my navbar i don't have what you have stated mine is like this:

<!-- / breadcrumb, login, pm info -->










<!-- bottom table setup -->
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="60" align="left" valign="top"><img src="$stylevar[imgdir_misc]/tren_z_front_btm_table_ls.gif" width="60" height="14" alt=" " border="0" /></td>
<td width="100%" style="background-image:url($stylevar[imgdir_misc]/tren_z_front_btm_table_back.gif)"><img src="$stylevar[imgdir_misc]/clear.gif" width="100%" height="14" alt=" " border="0" /></td>
<td width="60" align="right" valign="top"><img src="$stylevar[imgdir_misc]/tren_z_front_btm_table_rs.gif" width="60" height="14" alt=" " border="0" /></td>
</tr>
</table>
<!-- End bottom table setup -->
<div style="padding: 7px 7px 7px 7px;"></div>

<if condition="$show['popups']">
<!-- NAVBAR POPUP MENUS -->

where do i put :

<td class="vbmenu_control"><a href="quiz.php?$session[sessionurl]">Quiz</a></td>

Thanks in advance :) "Blonde" :o

biagrin 05-01-2005 12:01 AM

Quote:

An error has occured, the following message has been left below:

Your usergroup does not have access to participate in this particular quiz.
i get that as well

Zero Tolerance 05-01-2005 01:38 AM

sweet2sweet:
Find:
Code:

$printhr = false;
if (can_administer('canadminsettings'))
{
$printhr = true;
construct_nav_option($vbphrase['vbulletin_options'], 'options.php?null=0', '<br />');
if ($debug == 1)
{
construct_nav_option($vbphrase['admin_help_manager'], 'help.php?do=manage&script=NOSCRIPT');
}
construct_nav_group($vbphrase['vbulletin_options'], '<hr />');
}
if ($printhr == true)
{
construct_nav_spacer();
}

Underneath Place:
Code:

$printhr = true ;
construct_nav_option("Control Inferno Quiz's", 'admin_quiz.php', '<br />');
construct_nav_option("Control Quiz Questions", 'admin_quiz.php?do=questions', '<br />');
construct_nav_group("Inferno Quiz Control", '<hr />');
$printhr = false;

Thats for admincp/index.php, as for the template, it seems you are using a skin with a custom header, you will have to ask the author of the skin how to add more navigation buttons i'm afraid.

Not sure when i'll get v2 out, but i'll be releasing v1.1 soon which fixes a couple of bugs, such as the FireFox incompatability for permissions control :)

- Zero Tolerance

Vevina 05-01-2005 01:50 AM

Thankyou :)

Zero Tolerance 05-01-2005 02:23 AM

v1.1 Has been released, the following updates were provided:

FireFox compatability for usergroup permissions in add/edit quiz
Score % rounded to full number (ie: 13.3333% becomes 13%)
Shows user in quiz on users online page

To upgrade, re-download Inferno Quiz, and follow the upgrade instructions :)

- Zero Tolerance

Intex 05-01-2005 07:18 AM

Nice work ZT.

Are you planning to have a general quiz area where all quizzes can be viewed / taken along with a leaderboard stats?

Paul M 05-01-2005 11:53 AM

Hi, I have installed this on our test system with a view to going live.

I have a few points & suggestions (some of which you may have covered already).

1. Add the ability for users to add quizes.

2. In the admin area, make the selecting of usergroups via tick boxes.

3. Add the ability in ACP to edit (moderate) peoples answers and re-submit.

4. Add the ability in ACP to delete a persons quiz submission.

5. Check if a person has previously submitted a quiz at the point of submission (I can backspace and re-submit a quiz as often as I want).

6. For timed quizes, check if a user has javascript enabled and prevent them taking part if not (otherwise they can bypass the timer simply by disabling JS).

7. For text answers, make the check more "fuzzy". For instance if the correct answer is "red" then if I enter "it's red" I will be marked as wrong, when in fact I'm correct.

Thanks.


All times are GMT. The time now is 01:23 AM.

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.01677 seconds
  • Memory Usage 1,844KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete