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)

trancetopia 05-25-2005 03:29 PM

Quote:

Originally Posted by bluesteel
he he

More from me ZT. Sorry :P

I imported the Simpson quiz.

!st problem - no image next to it, but the image name does appear.

Second problem when choosing to take the quiz :
Fatal error: Call to undefined function: parse_bbcode2() in /home/alantimm/www/www/vB/includes/engine.quiz.php on line 435


I've got this exact same problem too :(

Lizard King 05-25-2005 03:35 PM

When I try to import a quiz I get the following error :

Edit : Didn't see the fix before :P fixed now.

bluesteel 05-25-2005 03:47 PM

I think mine was a blonde moment :)

I hadn't uploaded the new quiz.php file!

Apologies ZT!

axi 05-25-2005 03:50 PM

hey ZT.

i think theres another error, uploading an image and the error is:

Image Extension: gif OK
Upload Image Failed
CHMOD Directory (0777) /home/axi/public_html/forums/images/ Failed
CHMOD Directory (0777) /home/axi/public_html/forums/images/quiz/ Failed

Should I create/chmod 777 the folders manually and try again

by the way you only told me in the installation file to chmod includes folder. should have we done the images folder too?

axi 05-25-2005 04:12 PM

hmmm, ZT, i cant edit quiz categories or quizzes. the only options available is delete??

Zero Tolerance 05-25-2005 04:14 PM

Yeah you should chmod the image folder to 0777.
Also, the edit isn't appearing because the phrase is missing? It pulls the default "edit" phrase from your forum, i assume your using vb 3.0.7?

- Zero Tolerance

axi 05-25-2005 04:18 PM

yes 3.0.7 :s
what could the problem be

Zero Tolerance 05-25-2005 04:19 PM

Add a phrase to your system, variable name: edit, text: Edit, type: global

- Zero Tolerance

axi 05-25-2005 04:24 PM

ahh worked! thanks!! you are genius!!

Zero Tolerance 05-25-2005 04:29 PM

Alright, glad it's fully working then :)
Sorry for the inconveniance caused.

- Zero Tolerance

Rhoads 05-25-2005 04:41 PM

Thnx Zero Tolerance,

This is incredible beautiful hack, it works for 200% on vB 3.0.7
I have only CHMOD the settings.quiz.php and the quiz directory.
Once again, splendid :banana:

Zero Tolerance 05-25-2005 04:44 PM

Quote:

Originally Posted by drl2005
Thnx Zero Tolerance,

This is incredible beautiful hack, it works for 200% on vB 3.0.7
I have only CHMOD the settings.quiz.php and the quiz directory.
Once again, splendid :banana:

Just to ensure the system works perfectly, chmod the folders leading up the files + inner directories:
includes/
images/

:)

- Zero Tolerance

axi 05-25-2005 04:44 PM

ZT, theres an option for Moderate quiz submissions which i can understand, but theres also Moderate Quiz Results - Do i have to check each persons quiz results after they submit the answers to allow them to be uptaed onto the site, or is it all automatic?

Zero Tolerance 05-25-2005 04:46 PM

Quote:

Originally Posted by axi
ZT, theres an option for Moderate quiz submissions which i can understand, but theres also Moderate Quiz Results - Do i have to check each persons quiz results after they submit the answers to allow them to be uptaed onto the site, or is it all automatic?

Moderate Quiz Results allows you to modify/delete any answers from people, it is not "required", just gives you the functionality to check over any submisisons and correct them if needs be, ie: if a user asks you to check their results because they spelled something incorrectly, you can update it, and the users' results will be updated :)

- Zero Tolerance

Rhoads 05-25-2005 04:49 PM

Quote:

Originally Posted by Zero Tolerance
Just to ensure the system works perfectly, chmod the folders leading up the files + inner directories:
includes/
images/

:)

- Zero Tolerance

Oke, I do that for certainty, thnx

msgotit 05-25-2005 04:51 PM

Possible that something happened when I upgraded, or originally installed it, but it didn't update the quiz table, adding the column q_desc. Again this could be my problem, but just if people have problems. This occurred when I tried to "Edit Quiz". Other then that, this is an awesome hack!

Sorry I didn't see you had already fixed that problem... Thanks for the hack!

axi 05-25-2005 04:51 PM

cool, such an advantage. :D

Zero Tolerance 05-25-2005 04:52 PM

Quote:

Originally Posted by msgotit
Possible that something happened when I upgraded, or originally installed it, but it didn't update the quiz table, adding the column q_desc. Again this could be my problem, but just if people have problems. This occurred when I tried to "Edit Quiz". Other then that, this is an awesome hack!

It was fixed earlier, you must of downloaded it before i updated it:

https://vborg.vbsupport.ru/showpost....&postcount=149

- Zero Tolerance

Zero Tolerance 05-25-2005 04:54 PM

One more thing people, vote Inferno Quiz HOTM pweeease :p

- Zero Tolerance

amykhar 05-25-2005 04:58 PM

Well, I figured I would test out the export function and share a quiz with y'all.

This one is a dead or alive quiz. Given the name, guess if the person is dead or alive.

Amy

Zero Tolerance 05-25-2005 05:05 PM

*Imports*

Works perfectly :p

- Zero Tolerance

amykhar 05-25-2005 05:06 PM

I hate to do this after you've put so much work into this, but I have one request. Can you please store the quiz's author and allow them to take their own quiz to test it without the results being stored in the stats?

Amy

Zero Tolerance 05-25-2005 05:09 PM

Can it wait for v3? :p

I'm guessing something like this: Quiz author is displayed upon general viewing of quiz, author is able to select "Test Quiz", after taking the quiz the results are PM'ed to him/her, but they are not stored in the database. Or did i go wrong somewhere?

- Zero Tolerance

amykhar 05-25-2005 05:16 PM

Perfect :)

I'll keep other feature requests to myself and just start tinkering. But that one, I figured just about everybody would want.

Zero Tolerance 05-25-2005 05:17 PM

Personally i don't see it as a great feature, however it is additional functionality, always a plus :)

- Zero Tolerance

axi 05-25-2005 05:21 PM

Quote:

Originally Posted by Zero Tolerance
One more thing people, vote Inferno Quiz HOTM pweeease :p

- Zero Tolerance

sure, but how?

Zero Tolerance 05-25-2005 05:22 PM

Quote:

Originally Posted by axi
sure, but how?

https://vborg.vbsupport.ru/showthread.php?t=81498 :)

- Zero Tolerance

axi 05-25-2005 05:28 PM

there is a inferno quiz v1 in the vote list, does that still count as the new version?

Zero Tolerance 05-25-2005 05:30 PM

It's the same modification/hack so yeah :p

- Zero Tolerance

Rhoads 05-25-2005 05:32 PM

Quote:

Originally Posted by Zero Tolerance
One more thing people, vote Inferno Quiz HOTM pweeease :p

- Zero Tolerance

Done :up:

axi 05-25-2005 05:34 PM

done also

Vevina 05-25-2005 06:12 PM

Updated it .. took a lil but the blonde got there in the end :)

Thanks for including the XML Quiz Questions Zero

Snake 05-25-2005 06:24 PM

Quote:

Originally Posted by Zero Tolerance
Can it wait for v3? :p

I'm guessing something like this: Quiz author is displayed upon general viewing of quiz, author is able to select "Test Quiz", after taking the quiz the results are PM'ed to him/her, but they are not stored in the database. Or did i go wrong somewhere?

- Zero Tolerance

Do you have the feature list for v3 I wonder?

axi 05-25-2005 06:26 PM

one more question zt, when members answer the questions, can they do the quiz again? just wondering if i should have the can see answers for members that done the quiz.

amykhar 05-25-2005 06:29 PM

Bug report: It's choking on apostrophes in user submitted quizzes. I'm working on it now.

Snake 05-25-2005 06:38 PM

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

amykhar 05-25-2005 06:48 PM

OK. Fixed the bug - at least it appears to be fixed.

In admin_quiz.php

Find:
Code:

$DB->query("insert into ".TABLE_PREFIX."quiz
        (q_name,q_state,q_desc,q_forcat,q_image)
        values
        ('{$sub['s_name']}',0,'{$sub['s_desc']}',{$sub['s_cat']},'{$sub['s_image']}')");

Replace with:
Code:

$DB->query("insert into ".TABLE_PREFIX."quiz
        (q_name,q_state,q_desc,q_forcat,q_image)
        values
        ('".addslashes($sub['s_name'])."',0,'". addslashes($sub['s_desc'])."',{$sub['s_cat']},'{$sub['s_image']}')");

Find:
Code:

$QueryBits[] = "('{$Question['Q']}','{$Question['Type']}','".addslashes(serialize($Params))."',$ID)";
Replace with:
Code:

$QueryBits[] = "('".addslashes($Question['Q'])."','{$Question['Type']}','".addslashes(serialize($Params))."',$ID)";

axi 05-25-2005 07:12 PM

mines still stuffed, in the questions lists the stuff with " around it come out with &quot, etc.. why is that?

axi 05-25-2005 07:33 PM

zt, if you making version 3 you should also have where members uploading or submitting quizzes they can create or like suggest category for there new quiz, because maybe there quizzes wont fit the current cats, so therefore if admins like they can accept and category and quiz will be done at once. otherwise admin can also rename there category suggested to a better one if need be.

Just a suggestion? this way it wont restrict submittions.

Zero Tolerance 05-25-2005 08:22 PM

Quote:

Originally Posted by axi
mines still stuffed, in the questions lists the stuff with " around it come out with &quot, etc.. why is that?

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


All times are GMT. The time now is 11:11 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.01452 seconds
  • Memory Usage 1,819KB
  • 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
  • (10)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