vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Inferno Quiz v2.2 (https://vborg.vbsupport.ru/showthread.php?t=83130)

Mum 07-18-2007 07:52 PM

Quote:

Originally Posted by txsbmw (Post 1289946)
I am using 3.6.7, do I need to install this differently or just use the mods installer that comes with it?

I'd like to know too :)

akoj 07-18-2007 08:57 PM

Quote:

Originally Posted by txsbmw (Post 1289946)
I am using 3.6.7, do I need to install this differently or just use the mods installer that comes with it?

I run it on 3.6.7 and did not need to do anything different during install.

jasculs 07-19-2007 04:00 AM

Does anyone know how to set up cookies for the timed quizzes?

akoj 07-20-2007 03:59 AM

Quote:

Originally Posted by amykhar (Post 900065)
Make sure the templates are installed on all styles.

I know in the morning I am going to laugh at what a dumb question this is but right now I am tired and can't think.........how can I copy the templates from my default skin where the quiz is working great to the new skin I installed today. I am getting the blank page on the new skin because the templates are not there. Surely, there is an easier way than recreating each one?

*EDIT* answered my own question. Since I have seen this asked a few times in this thread, you just need to upload the quiz.xml (found in the admincp file of the original zip) in the download/upload styles area. Merge into whatever skin you are trying to add to.

ShawneyJ 07-21-2007 03:28 AM

any reason why this hack would come up on a blank page on some styles and not others?

akoj 07-21-2007 09:54 PM

Yes, templates are probably not installed on those styles. Upload the quiz.xml and merge it into that style

AdmiralGeek 07-23-2007 07:28 PM

everything is installed, but when i go to allow quizes that are submitted, my admin keeps asking me to log in over and over again! I thought this was fixed, and also when making changes to the admin_quiz.php there are two instances of the same code when searching.

two instances of this one
Code:

$DB->query("insert into ".TABLE_PREFIX."quiz
        (q_name,q_state,q_perms,q_start,q_end,q_autoend,q_timelimit,q_viewanswer,q_desc,q_forcat,q_image)
        values
        ('{$q_name}',{$q_state},'{$Perms}',".time().",{$End_Time},{$q_autoend},{$q_timelimit},{$q_viewanswer},'{$q_desc}',$q_forcat,'{$q_image}')");

and also this one

Code:

$DB->query("update ".TABLE_PREFIX."quiz
        set q_name='{$q_name}',q_state={$q_state},q_perms='{$Perms}',q_end={$End_Time},q_autoend={$q_autoend},q_timelimit={$q_timelimit},q_viewanswer={$q_viewanswer},q_desc='{$q_desc}',q_forcat=$q_forcat,q_image='{$q_image}'
        where qid='{$quiz['qid']}'");


ShawneyJ 07-26-2007 05:01 AM

Quote:

Originally Posted by akoj (Post 1297757)
Yes, templates are probably not installed on those styles. Upload the quiz.xml and merge it into that style

sweet thanks.,

duongbe 07-26-2007 03:28 PM

Is it use for 3.6.7? Please help me.
I need bb code for <sub>, <sup>
My english is not high. Please help me.

PlymWS 08-06-2007 10:10 AM

The questions allow BB code but is there a way to display an image within img tags rather than a link ?

thompson 08-23-2007 08:37 AM

can i use the quiz hack for vb 3.6.8 ?

Steigeisen 08-23-2007 03:19 PM

I installed and tested it and found it very good. Then I noticed that there is a german translation, so I wanted to use that one. Since there is an uninstall I used it, not noticing that the uninstall cannot be used for 3.6.7

I tried to install it over the old one (as part of it was gone), and ever since I get database errors. I deleted files and everything, but the templates remain. I guess I have to get rid of them, too, before I can install it freshly.

How can I get rid of the Quiz-Templates? Deleting does not work. :(

Thanks
Steigeisen

ForYou 08-26-2007 08:02 AM

Hello ,

When i need to import quiz there is problem like this ,

Fatal error: Call to undefined function: globalize() in /home/darda/public_html/vb/admincp/admin_quiz.php on line 2463

It was work good with out any problem ,

Please help becuase i need this hack for important ,

Regards

ForYou 08-26-2007 07:29 PM

Hello ,

Please any one help me please ,

ForYou 08-27-2007 06:12 PM

Hello ,

There is problem is i need to Add Inferno Quiz Category !!

Fatal error: Call to undefined function: globalize() in /home/darda/public_html/monta/admincp/admin_quiz.php on line 583

any thing need globalize($_POS this will appear problem ,

// ###################### Do Add Quiz Category ########################
if ($_POST['do'] == "do_add_cat") {

globalize($_POST,
array(
'c_name' => STR_NOHTML,
'c_desc' => STR_NOHTML,
)
);

How can i fix it , becuase my Vb is 3.6.8 !!

I hope can i find solution ,

Regards

Cornie 09-03-2007 09:01 AM

Quote:

Originally Posted by Steigeisen (Post 1324054)
I installed and tested it and found it very good. Then I noticed that there is a german translation, so I wanted to use that one. Since there is an uninstall I used it, not noticing that the uninstall cannot be used for 3.6.7

I tried to install it over the old one (as part of it was gone), and ever since I get database errors. I deleted files and everything, but the templates remain. I guess I have to get rid of them, too, before I can install it freshly.

How can I get rid of the Quiz-Templates? Deleting does not work. :(

Thanks
Steigeisen


Du musst die Templates manuell vom Server l?schen

yahoooh 09-09-2007 07:02 PM

we need this hack to be updated and bugs free

inferno com.
could u update it for us plz

yahoooh 09-09-2007 07:03 PM

for version 3.6.8

PlymWS 09-18-2007 08:18 AM

So I take it there's no way to display images in a quiz then ? Although the BBCode will create a clickable link I would prefer to see images on my quizes. Is there noone who can alter the way quiz.php parses the link to display an image ? Or allow attachments to be used as they would create a thumbnail ?

satforce 09-18-2007 10:24 PM

Good job .. But how can I allow my users to take the quiz more than one time ??
An error has occured, the following message has been left below:

You have already taken this quiz

Please help !

Ballonggreven 09-20-2007 08:33 AM

I don't get the crrect answers in the PM with quiz results it says "This was 0% Correct. (Detta var: )"
Change the setting "Allow users who have finished the quiz to view the correct answers?" to "Yes".

What's wrong?

Booth 09-27-2007 12:11 PM

This would be great updated for 3.6.8 ;)

ang2el 09-28-2007 02:19 AM

is there a new version for 3.6.8? Is it working?

yoyoyoyo 10-02-2007 01:00 PM

it works perfectly for me in 3.6.8 as is (and I already have a heavily modified forum)... no need for the author to update as long as you follow the updates in this thread.

yoyoyoyo 10-06-2007 12:54 PM

the only thing that you need to do to get this to work in vb 3.6.8 is to do the changes mentioned in posts 231 and 452 of this thread.

https://vborg.vbsupport.ru/showpost....&postcount=452
https://vborg.vbsupport.ru/showpost....&postcount=231

also, if you are having more problems do these:

addslashes fix:
https://vborg.vbsupport.ru/showpost....&postcount=469
https://vborg.vbsupport.ru/showpost....&postcount=470
[also add another ) at the end of the messages line]

use this character fix on all uploaded quizzes you find in this thread:
https://vborg.vbsupport.ru/showpost....&postcount=487

custom styles fix:

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

here is a new layout that you can use if you want:
https://vborg.vbsupport.ru/showpost....&postcount=114

a product instead of using the installer (untested by me): https://vborg.vbsupport.ru/showpost....&postcount=212

Here is a list of all of the quizzes that have been uploaded to this thread:
https://vborg.vbsupport.ru/showpost....3&postcount=54
https://vborg.vbsupport.ru/showpost....4&postcount=63
https://vborg.vbsupport.ru/showpost....6&postcount=67
https://vborg.vbsupport.ru/showpost....7&postcount=92
https://vborg.vbsupport.ru/showpost....&postcount=118
https://vborg.vbsupport.ru/showpost....&postcount=126
https://vborg.vbsupport.ru/showpost....&postcount=253
https://vborg.vbsupport.ru/showpost....&postcount=268
https://vborg.vbsupport.ru/showpost....&postcount=284
https://vborg.vbsupport.ru/showpost....&postcount=292
https://vborg.vbsupport.ru/showpost....&postcount=294
https://vborg.vbsupport.ru/showpost....&postcount=315
https://vborg.vbsupport.ru/showpost....&postcount=323
https://vborg.vbsupport.ru/showpost....&postcount=412
https://vborg.vbsupport.ru/showpost....&postcount=487

NOTE: make sure you do the fix mentioned here if you get errors uploading any of these quizzes:
https://vborg.vbsupport.ru/showpost....&postcount=487

Stoneyreef 10-10-2007 05:36 PM

I did this https://vborg.vbsupport.ru/showpost....&postcount=231 in the quiz.php file right under where it says:

Code:

// ----------------------------
// Call System Engine
// ----------------------------

require_once("./includes/engine.quiz.php");

$Engine = new Quiz_Engine;

$NewestQuiz = $DB->query_first("select * from ".TABLE_PREFIX."quiz where q_state=1 order by qid desc limit 0,1");

$LB['link'] = "all";
$LB['text'] = "Overall Leaderboard";

        if($NewestQuiz['q_image'] != ''){
        $NewestQuiz['q_image'] = "<img src='{$vbulletin->options['bburl']}/images/quiz/{$NewestQuiz['q_image']}' alt='{$NewestQuiz['q_name']}' /><br />";
        }

        if(!$NewestQuiz['qid']){
        unset($NewestQuiz);

and bb code for images still do not show up.

ang2el 10-24-2007 05:45 AM

Thanks yoyoyoyo for your reply.

I have doubt as infernoquiz wouldn't be a stable hack since develper hasn't update it to 3.6.8 that shows this hack doesn't come in his priority list, therefore I was trying to find out what developer thinks about going to 3.6.8 and support to future vb releases hope zero tolerance would reply :)

TeeJokey 10-26-2007 11:58 AM

Hi all,

I have realized that the permissions of taking a quiz applies only to the primary group of the user, correct me if I'm wrong. I explain this better:

I'm using the promotion feature with Registered Users, I mean, when a user reaches 25 posts, that user obtains "Premium User" membership, as an aditional membership, "Registered Users" continues being the primary group.

So, what I want is to make Quizzes only be available for "Premium Users", for those who have "Premium User" as one of their aditional member groups, so then only users who have posted more than 25 times can submit the quiz.

Thanks.

akvaryumforum 11-10-2007 06:50 PM

How can we translate this hack in a different language?

dreamygirl 01-11-2008 03:50 PM

Would it be crazy for me to try to add it to my v3.70 Beta 3? Probably...

zac439 01-27-2008 03:35 AM

Just out of curiosity, how am I supposed to know what the XML syntax is for creating and importing a quiz is? There are NO instructions, the example quizzes are CRYPTIC, and I can't even export my quizzes to try and learn from, because I get prompted login repeatedly when I try to do so.

I'm just extremely curious, to say the least. Is there some sort of script/program anyone has made that makes the process easier? I have many quizzes to get put up, and the backend is too cumbersome to use. The import option is my only hope if I want to keep my sanity.

Please...help!

zac439 01-27-2008 06:02 PM

Actually, scratch that. I just noticed there was a front-end that made things a lot less cumbersome.

Still, you might want to document your features more carefully (or even at all) in the future, Zero_Tolerance.

reismarktq2 02-10-2008 01:52 AM

Good hack (installed), but something I'd like to see is an additional security feature on timed quizzes that will submit the quiz automatically if the user tries to refresh or close the window so that they can come back to it later and get more time. I tried implementing it with a onunload() event in a separate BODY tag but it did nothing.

Has anyone (Amy?) managed to get something like that working? I don't need it but would certainly appreciate it if someone knew how to do that.

reismarktq2 03-05-2008 01:26 AM

Turns out I was using the wrong event handler... Adding the following line to the quiz_do_top did pretty much everything I was hoping for. :)

Code:

<body onbeforeunload="document.forms['quiz_form'].submit(true)">
It wasn't perfect... you could still click Back in IE7 and it wouldn't submit, but it prevented circumvention via closing the window in both IE and Firefox and by the back button in Firefox. (To fix the oversight, I used a pop-up window with the toolbar disabled to open the quiz page and added a Javascript function to disable right-clicking.)

mofeu 03-24-2008 09:23 PM

If I install these quiz in my board
a lot of questions and take the right answers?

For example I have one exercise like

Vul in met het juiste woord:

daar - door - helemaal - hier - koop - leeftijd - nog - precies - reis - taxi - verzamelen - water - wil - zeker - zou -

1. Βεβαίως! Σαφώς! > Ja,............ !
2. Είναι ακόμα μακριά; > Is het .................ver?
3. Θα ήθελα μια σαλάτα με λαδολέμονο. > Ik............... graag salade met een dressing van olie en citroen.
4. Θα μας περιμένει εκεί. > Hij zal..............op ons wachten.
5. Καλό ταξίδι! > Goede.............. !
6. Σημειώστε το όνομα και τη διεύθυνσή σας εδώ. > Schrijft u .............uw naam en adres.
7. έξη δια δύο ίσον τρία > zes gedeeld .............twee is drie
8. ακριβώς απέναντι > ...........tegenover
9. απολύτως τίποτα > ..............niets
10. θα προτιμούσα > ik ..........liever
11. μαζεύω γραμματόσημα > postzegels............
12. πέφτω στο νερό > in het ...........springen
13. προς πούλημα > te...................
14. σε ηλικία πενήντα χρονών > op vijftigjarige...............
15. ταξί ελεύθερο > ..............vrij


and the member for example answer the quiz.
After tooks the quiz
the member have to take the correct answers

for example

1. Βεβαίως! Σαφώς! > Ja, zeker !
2. Είναι ακόμα μακριά; > Is het nog ver?
3. Θα ήθελα μια σαλάτα με λαδολέμονο. > Ik wil graag salade met een dressing van olie en citroen.
4. Θα μας περιμένει εκεί. > Hij zal daarop ons wachten.
5. Καλό ταξίδι! > Goede reis !
6. Σημειώστε το όνομα και τη διεύθυνσή σας εδώ. > Schrijft u hier uw naam en adres.
7. έξη δια δύο ίσον τρία > zes gedeeld door twee is drie
8. ακριβώς απέναντι > precies tegenover
9. απολύτως τίποτα > helemaal niets
10. θα προτιμούσα > ik zou liever
11. μαζεύω γραμματόσημα > postzegels verzamelen
12. πέφτω στο νερό > in het water springen
13. προς πούλημα > te koop
14. σε ηλικία πενήντα χρονών > op vijftigjarige leeftijd
15. ταξί ελεύθερο > taxi vrij



When the user gives a correct answer ,the word to be green and when the user gives a wrong answer the word to be red

Is this the quiz that I need?
If no,which quiz I have to use?

Thanks in advance :)

RvG2 04-10-2008 02:22 AM

Quote:

Originally Posted by yoyoyoyo (Post 1354080)
the only thing that you need to do to get this to work in vb 3.6.8 is to do the changes mentioned in posts 231 and 452 of this thread.

https://vborg.vbsupport.ru/showpost....&postcount=452
https://vborg.vbsupport.ru/showpost....&postcount=231

also, if you are having more problems do these:

addslashes fix:
https://vborg.vbsupport.ru/showpost....&postcount=469
https://vborg.vbsupport.ru/showpost....&postcount=470
[also add another ) at the end of the messages line]

use this character fix on all uploaded quizzes you find in this thread:
https://vborg.vbsupport.ru/showpost....&postcount=487

custom styles fix:

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

here is a new layout that you can use if you want:
https://vborg.vbsupport.ru/showpost....&postcount=114

a product instead of using the installer (untested by me): https://vborg.vbsupport.ru/showpost....&postcount=212

Here is a list of all of the quizzes that have been uploaded to this thread:
https://vborg.vbsupport.ru/showpost....3&postcount=54
https://vborg.vbsupport.ru/showpost....4&postcount=63
https://vborg.vbsupport.ru/showpost....6&postcount=67
https://vborg.vbsupport.ru/showpost....7&postcount=92
https://vborg.vbsupport.ru/showpost....&postcount=118
https://vborg.vbsupport.ru/showpost....&postcount=126
https://vborg.vbsupport.ru/showpost....&postcount=253
https://vborg.vbsupport.ru/showpost....&postcount=268
https://vborg.vbsupport.ru/showpost....&postcount=284
https://vborg.vbsupport.ru/showpost....&postcount=292
https://vborg.vbsupport.ru/showpost....&postcount=294
https://vborg.vbsupport.ru/showpost....&postcount=315
https://vborg.vbsupport.ru/showpost....&postcount=323
https://vborg.vbsupport.ru/showpost....&postcount=412
https://vborg.vbsupport.ru/showpost....&postcount=487

NOTE: make sure you do the fix mentioned here if you get errors uploading any of these quizzes:
https://vborg.vbsupport.ru/showpost....&postcount=487

Question: will this work in 3.7? :)

shadowevil 04-14-2008 01:47 AM

Quote:

Originally Posted by RvG2 (Post 1487172)
Question: will this work in 3.7? :)

Great Work with 3.7.x :)

Alfa1 04-15-2008 06:16 PM

Yes, this works with vb 3.7. But so far I have not been able to get amy's hack Test Your Members' Knowledge Before Allowing Them to Post in Certain Forums working.
it does not show up in the forum manager.

Stefano Virgill 04-25-2008 02:15 AM

Hi guys,
I'm using Inferno quiz with vB Credits integration.
A question.
I noticed that in the quiz settings there are 2 options:
  • Prize for Completing Quiz
  • Vary Prize by Score

If I set the first one to 1000 and the second to no, people who doesn't complete the quiz, take 1000 credits anyway. Instead I would like to make sure that only people that complete the quiz with 100% right answers can get the full jackpot. And people that doesn't get 100% right, simply take zero credits.

Any idea on how to solve this?

Regards

Stefano

thompson 04-25-2008 12:41 PM

how did you do the integration in vbcredits ?


All times are GMT. The time now is 11:47 PM.

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.02007 seconds
  • Memory Usage 1,867KB
  • 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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