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)

wolfgangm 05-25-2005 09:37 PM

Dear Zero Tolerance,

thank you very, very much for your quiz! It's exactly what our readers definitely like, creation of the quiz is a lot of fun for me too!

My forum is on legends, myths and fairy tales in Europe, so from this region I experience some problems, hoping they are suggestions for you:

- In one quiz we ask for "Dracula", but some regions here write "Drakula" and similar. I would suggest, to make some sort of wildcard as "Dra$ula$" to allow similar typings as correct answer.

- I would like to add pictures for some questions. Suggestion?
Dream of expansion on this idea would be, that the picture is shown in parts, and if candidate needs more parts (or more resolution) to recognise, looses percentage.

- Another definite popular demand here in Europe is a "Joker" (there is no translation to English, so I'll have to explain ;-). If there are four possible answers, the canditate might cry [click] "Joker" and the system reduces the possible four answers to two.

Kindest regards from Austria

Wolfgang

SAGEN.at
http://www.sagen.at

TopeeGuy 05-25-2005 10:22 PM

Firstly, excellent hack! It seems to be very well polished off!

Next, for v3, I think these suggestions are very good:

Quote:

Originally Posted by Snake
Zero, I got a suggestion for v3.0; Difficulties.

Quiz difficulties are dynamically created by the quiz system based on how well players perform on a quiz. If most people do really well on a quiz it may be rated as "Easy". If no one does well, probably "Impossible".

The order of difficulty:

Simple
Very Easy
Easy
Average
Tough
Difficult
Very Difficult
Impossible

Quote:

Originally Posted by wolfgangm
- In one quiz we ask for "Dracula", but some regions here write "Drakula" and similar. I would suggest, to make some sort of wildcard as "Dra$ula$" to allow similar typings as correct answer.

And one request by me... after someone finishes off a quiz, can you output a page with their results and the correct answers? On my forum i dont give everyone access to private messaging, so it would be very useful if they could see their results on the site rather then through PM...

Edit: actually that last request could probaby be done if on the "thank you for doing this quiz" page we provide a link to directly view the stats of that individual for that quiz? Anyone know what the code for such a link would be?

TopeeGuy 05-26-2005 12:21 AM

One more request :D

Explanatory notes... i.e., in the admincp, each question has a field where we can explain the answer in more depth. This isn't shown while doing the quiz, but when the user is given his/her results, and the answers, the system also shows him the explanatory notes.

Explanatory notes would be something like why an answer is true/false, a bit more information about the answer, etc.

axi 05-26-2005 03:55 AM

Quote:

Originally Posted by Zero Tolerance
Is that on add question/import quiz/user submission?

And thanks for the bug fix amy, i'll check it out tomorrow (time for sleep soon)

- Zero Tolerance


well so far its when i added the questions manually. So when i add something like with the "talking marks" it stuffs up and adds wierd codes around it.

bluesteel 05-26-2005 10:32 AM

I got round this problem by adding single quotes (') instead of (")
Hope that helps.

ecfcgraham 05-26-2005 11:03 AM

hmmm...

Admin CP >> Moderate Quiz Submissions

I tried to edit a particular answer in a members submissions and it completed blanked out all their answers.

Screeny:
https://vborg.vbsupport.ru/external/2005/05/1.jpg

https://vborg.vbsupport.ru/external/2005/05/1.jpg

Help?

Snake 05-26-2005 11:22 AM

Quote:

Originally Posted by Snake
Zero, I got a suggestion for v3.0; Difficulty.

Quiz difficulties are dynamically created by the quiz system based on how well players perform on a quiz. If most people do really well on a quiz it may be rated as "Easy". If no one does well, probably "Impossible".

The order of difficulty:

Simple
Very Easy
Easy
Average
Tough
Difficult
Very Difficult
Impossible

Well ZT, do you like my suggestion or what? Please include this for the next version. :disappointed:

amykhar 05-26-2005 11:23 AM

Quote:

Originally Posted by ecfcgraham
hmmm...

Admin CP >> Moderate Quiz Submissions

I tried to edit a particular answer in a members submissions and it completed blanked out all their answers.

Screeny:
http://img88.echo.cx/img88/7775/quiz21tt.th.jpg

http://img88.echo.cx/img88/7785/quiz39ea.th.jpg

Help?

I'm seeing the same problem. I'll look into it this morning.

Amy

amykhar 05-26-2005 12:21 PM

Quote:

Originally Posted by amykhar
I'm seeing the same problem. I'll look into it this morning.

Amy

Got it. Here's the fix.

In includes/engine.quiz.php Find:
Code:

print_input_row("{$Q['q_question']}<dfn><u>Actual Answer:</u> {$Params['answer']}</dfn>", 'question[$Q[qid]]',$Data);
Replace with:
Code:

print_input_row("{$Q['q_question']}<dfn><u>Actual Answer:</u> {$Params['answer']}</dfn>", "question[{$Q['qqid']}]",$Data);
I am not sure that you are going to be able to fix any of the already corrupt results from before this fix though.

Amy

ecfcgraham 05-26-2005 12:30 PM

Quote:

Originally Posted by amykhar
Got it. Here's the fix.

In includes/engine.quiz.php Find:
Code:

print_input_row("{$Q['q_question']}<dfn><u>Actual Answer:</u> {$Params['answer']}</dfn>", 'question[$Q[qid]]',$Data);
Replace with:
Code:

print_input_row("{$Q['q_question']}<dfn><u>Actual Answer:</u> {$Params['answer']}</dfn>", "question[{$Q['qqid']}]",$Data);
I am not sure that you are going to be able to fix any of the already corrupt results from before this fix though.

Amy


That did the trick! :)

Zero Tolerance 05-26-2005 12:46 PM

@ wolfgangm - Wild cards, sounds like a good idea, however this is the reason why the ability to moderate results was created, so you could check over answers and correct things like typo's, however i will keep it in mind. As for pictures, you are able t use BBCode within questions, so use a [img] tag. A joker, sounds like a 50/50 deduction.

@ Snake - I'll look into difficulty rankings :)

@ Topee Guy - Add a link to the results upon completion in the thanks note, sure sounds easy enough. Notes to explain answers, sure sounds like that would be very educational for some site's :)

@ amy - I'll go apply those bugs to the download, thanks a lot for taking care of things while i was alseep :)

- Zero Tolerance

Zero Tolerance 05-26-2005 12:54 PM

Alright, zip updated, those 2 bugs have been applied, thanks amy and sorry to everyone else for inconveniance.

- Zero Tolerance

bluesteel 05-26-2005 01:08 PM

Here's a couple of quizzes if anybody wants to use them.

amykhar 05-26-2005 01:25 PM

Quote:

Originally Posted by bluesteel
Here's a couple of quizzes if anybody wants to use them.

Thanks :) I tried the movie one and it was tough!

Amy

Snake 05-26-2005 02:38 PM

Quote:

Originally Posted by Zero Tolerance
@ Snake - I'll look into difficulty rankings :)

Great okay, and thanks for the bug fixes. :)

Lizard King 05-26-2005 03:56 PM

Zero is it possible to integrate this wich Ucash ? Like the winner of each quiz can get x points

mholtum 05-26-2005 05:43 PM

/me installs Excellent Job! Easy install.. Works perfect! Thanks

realace 05-26-2005 05:48 PM

Quote:

Originally Posted by TopeeGuy
One more request :D

Explanatory notes... i.e., in the admincp, each question has a field where we can explain the answer in more depth. This isn't shown while doing the quiz, but when the user is given his/her results, and the answers, the system also shows him the explanatory notes.

Explanatory notes would be something like why an answer is true/false, a bit more information about the answer, etc.


This is an awesome idea! Huge props on this one! This would help the quiz taker and the quiz giver. (great suggestion, TopeeGuy)

amykhar 05-26-2005 06:09 PM

Another bug. And this one's ooky javascript that I shall leave to you :D

When I go to create a quiz, if I have an apostrophe in the question, the javascript is truncating the question and then displaying the truncated question in the text field. This happens when I click the "Add Question to Quiz" button.

So, if you aren't paying attention, a truncated question gets submitted into the database.

Amy

Gemma 05-26-2005 06:12 PM

Great Stuff ZT!

For some reason I cannot Import Quizzes.It gives me a No File Found. [Back] error.No biggie though,I prefer writing all my own quizzes anyway :)

Here are a few if anyone wishes to use them.

One Music theme and 3 'Pub Quizzes' (General Knowlege/Multiple Choice).

Thanks again,
Gemma

DR?@M W?@V?R 05-26-2005 06:23 PM

Under
Quote:

'SubmitQuiz' => array(
'quiz_submit_quiz',
),


I Added
Quote:


'Leaderboard' => array(
'quiz_leaderboard_end',
'quiz_leaderboard_row',
'quiz_leaderboard_top',
),


To cache the 3 uncached templates, if you want to update the quiz.php for that one m8, nice addon BTW..super stuff.

Thanks for your 2 quizzes bluesteel :) thx darkworld going to install later.

jaks 05-26-2005 06:45 PM

Quote:

Originally Posted by anarchystar
Kewl mod! :cool:

Very cool addon. Installed easily and no probs adding new quizzes.

Thanks
Jaks

amykhar 05-26-2005 07:50 PM

Feature Request: (Please don't beat me. I think this one will be easy for you.) If possible, when somebody submits a quiz for moderation, can the admins be sent a private message letting them know?

Paul M 05-27-2005 01:10 AM

Great update :)

But ........ (you just knew this was coming)

A few things;

1. Adding questions - can there be answer field in the initial question add section.

2. If you edit the questions (to add answers etc) and then add another question, it clears all the existing questions data you have edited.

3. Can the default for part answer checking (in text questions) be yes rather than no.

4. On installation - please only add the templates to styles that have the "master style" as their parent - all the child styles will then pick the templates up anyway - otherwise you have loads of duplicate templates you don't need - and every change has to be made in every style, rather than them being inherited as they should.

5. Add a link to "allow" quizes from within the preview screen.

6. In the settings, can certain groups be set to default as "allowed" to take quizes.

7. In the quiz editing can there be a button in the "allowed to view results" to copy the groups from the "allowed to take" screen. I really can't imagine why I would ever allow a group to take a quiz, but then deny them the right to view the results.

wwesn1 05-27-2005 03:11 AM

Quote:

Originally Posted by Zero Tolerance
Yeah i was planning on adding this option to v2, along with compatability for uShop/RPG Inferno.
- Zero Tolerance

is this feature coming soon?!

mholtum 05-27-2005 03:18 AM

when creating quiz's, it doesnt like quotes. :(

TopeeGuy 05-27-2005 07:46 AM

Quote:

Originally Posted by mholtum
when creating quiz's, it doesnt like quotes. :(

Yep, I saw that too. If a user submits a quiz with ' in them, and I go to moderate the submission, it gives a server PHP/mySQL error... can't seem to approve the submitted quix.

DR?@M W?@V?R 05-27-2005 07:59 AM

Any chance that a icon could be used in the postbit to show the quiz king/top leader ?

Zero Tolerance 05-27-2005 09:58 AM

v2.1 Update:
- " to &quot; 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

- Zero Tolerance

Lizard King 05-27-2005 10:16 AM

Quote:

Originally Posted by Zero Tolerance
v2.1 Update:
- " to &quot; 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

- Zero Tolerance

Any info about ucash integration :p I know we are asking a lot from you Zero :p

Snake 05-27-2005 10:20 AM

Think you can integrate it with Inferno? That sounds great. :D

Zero Tolerance 05-27-2005 10:23 AM

Well right now i'd prefer the system to "fully" work before actually implementing more features, i think people would prefer the system to work rather than more features. :)

- Zero Tolerance

sabret00the 05-27-2005 10:50 AM

regarding this quiz hack, can users set up quizzes where if you get XXX questions right it shows XXXXXX.gif and gives them the right little "quote" to go with it?

i.e. personality quizzes

Zero Tolerance 05-27-2005 11:34 AM

Quote:

Originally Posted by sabret00the
regarding this quiz hack, can users set up quizzes where if you get XXX questions right it shows XXXXXX.gif and gives them the right little "quote" to go with it?

i.e. personality quizzes

That feature isn't available but it sounds good *adds to notes* :)

- Zero Tolerance

sabret00the 05-27-2005 03:49 PM

Quote:

Originally Posted by Zero Tolerance
That feature isn't available but it sounds good *adds to notes* :)

- Zero Tolerance

alot like this;

http://bleachportal.net/interactive/pquiz/cimg/7.gif
Take The quiz yourself!

sanereddy 05-27-2005 04:21 PM

Is there any option for user to retake the quiz.... ?

DR?@M W?@V?R 05-27-2005 06:36 PM

what are the chances of "postbit top leader icon" "retake quiz option" no staff needed for submited quiz option" for the next version?

mtha 05-27-2005 08:25 PM

Suggestions:

if someone doesnt have permission to some area, the link (or block should not be appeard).

says if member is not allowed to "Submit A Quiz", the submission block will NOT be displayed.

same as take quiz, view start, view leaderboard ...

if member is not allowed to see UserStat, the name should appear as normal text, without link.

all these could easily be done by using conditions in template, right?

biagrin 05-27-2005 09:03 PM

im getting this error

[sql]
Warning: fopen(./includes/settings.quiz.php): failed to open stream: Permission denied in /includes/engine.quiz.php on line 662

Warning: fwrite(): supplied argument is not a valid stream resource in /includes/engine.quiz.php on line 663

Warning: fclose(): supplied argument is not a valid stream resource in /includes/engine.quiz.php on line 664[/sql]

i take it this is because i havent changed the chmod. i dont know much about servers but according to my webhost, changing it to 777 makes that folder available to everybody who shares with me on the server. is this true?

amykhar 05-27-2005 10:44 PM

Quote:

Originally Posted by biagrin
im getting this error

[sql]
Warning: fopen(./includes/settings.quiz.php): failed to open stream: Permission denied in /includes/engine.quiz.php on line 662

Warning: fwrite(): supplied argument is not a valid stream resource in /includes/engine.quiz.php on line 663

Warning: fclose(): supplied argument is not a valid stream resource in /includes/engine.quiz.php on line 664[/sql]

i take it this is because i havent changed the chmod. i dont know much about servers but according to my webhost, changing it to 777 makes that folder available to everybody who shares with me on the server. is this true?

You need to make the files and directories writeable. Otherwise, it won't work.

Amy


All times are GMT. The time now is 11:29 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.02210 seconds
  • Memory Usage 1,846KB
  • 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
  • (4)bbcode_code_printable
  • (19)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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