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)

dookie 11-06-2005 05:27 AM

Quote:

Originally Posted by Hoffi
Is this Planned in a future Version?

Need this too for a christmas calendar.
A 1 Question per day feature. :)

Hoffi 11-06-2005 06:00 AM

Quote:

Originally Posted by dookie
Need this too for a christmas calendar.

That's also my Intention. ;)

Omranic 11-06-2005 11:45 AM

hey guys,
for those facing problems with Inferno quiz i had uninstalled it then re-install & it works good

try this it will fix your problem

*hint : i don't know if there is any additional reasons or not but try this you didn't lse any this
you can export your quizes as XML files before uninstalling

have fun

markantonie 11-06-2005 03:55 PM

Is there a way to reset the overall leader board? Thanks :)

SnowBot 11-07-2005 08:36 AM

OK we are on 14 pages so my appology if this has been said.

When you add a picture to the quiz it uploads it to

www.yoursite.com/forum/images/quiz

The picture shows fine in the admincp BUT when you look at the journal page for the quiz the image does not show as it is trying to point to

www.yoursite.com/images/quiz

How can this be fixed?

Thanks

Snowy

gael11 11-07-2005 09:49 AM

Excellent mod !!! Works fine with last version 3.5.1 :D
I have a suggestion. Is it possible (easy) to add a field ?
Actually, you have to fill the question name, the selectable answers and the answers, and me, I'd want to add a field called "cause", that explain the answer. This field would be screened with the answer.
If you don't understand, I can do a picture.

Forumi Shqiptar 11-10-2005 10:06 PM

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 758

i had it working perfect but suddenly it just gave me that message i dont know why and also im using vb 3.5.0 it works fine on adding quizes and its all showed on the board only when users submit the answers off the quiz it just replies with that message any ideas why is this happening?

I didnt find this error anywhere sorry if i have missed it.

and also how can i translate the quiz from english into another language which files do i have to edit and is thay any option that can enclude them all in one file?

am-fs 11-10-2005 10:43 PM

Quote:

Originally Posted by SnowBot
OK we are on 14 pages so my appology if this has been said.

When you add a picture to the quiz it uploads it to

www.yoursite.com/forum/images/quiz

The picture shows fine in the admincp BUT when you look at the journal page for the quiz the image does not show as it is trying to point to

www.yoursite.com/images/quiz

How can this be fixed?

Thanks

Snowy

I have the same problem :(

A rating system would be nice to have on this hack too and what gael11 said :)

dethfire 11-10-2005 10:59 PM

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 758

amykhar 11-11-2005 01:03 AM

The answer to your fatal error was already posted in this thread. You'll need to read the thread.

Forumi Shqiptar 11-11-2005 04:40 PM

Fatal errorr resolved but still got this question and no-one has replied yet many thanks for your help amykhar!

Quote:

how can i translate the quiz from english into another language which files do i have to edit and is that any option that can enclude them all in one file? (I have translated all the admincp thing and also some other things too but i cant find where to translate the ones that comes up for the visitors as that its the more important thing for me to change) Any ideas guys?

mtha 11-11-2005 07:15 PM

just play with this alittle bit, and make a product out of the install file.

with this product (XML), you dont have to run install file anymore

I just test on a new board, didnt fully test on previous install. if anyone wanna take a risk and use the advantage of the product, give it a try.

am-fs 11-13-2005 08:21 PM

To get the images to show, I edited lines 128, 290 & 770 in the quiz.php

Removed the {$vboptions[bburl]} and put your URL in its place on those 3 lines

I dont know why it dont work but that is a quick fix

lanoix 11-14-2005 02:49 PM

I tested it, it works perfectly with the product.xml file... Thank you! I will use it when I have some time to translate texts ;)

gameslover 11-14-2005 03:09 PM

Hello,

I installed it on a vb 3.5.1 and it works perfectly tanks !!

However I have a little suggestion... in the general Quiz Leaderboard is it possible to have an average per member in spite of every score at every quiz displayed ?

That would be really great to see what member is the best with a simple % no ?

dirtycrow 11-14-2005 04:01 PM

Quote:

Next, CHMOD the following files/folders to '0777':
includes/
includes/settings.quiz.php
images/
images/quiz/
is it really wise to allow 777 to all those folders? there's a lot of stuff in there.

do i understand this correctly?

777 to the entire includes/ folder? etc etc?

or just 777 to includes/settings.quiz.php & images/quiz/?

Forumi Shqiptar 11-15-2005 11:27 AM

I got a problem again with this quiz on my computer it works fine and on some other ones it works just perfect and no errorrs but in the computer of some other ones it doesnt work all the quiz shows when they submit the quiz it comes up this errorr

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 758

Checked back to the admincp on the vb options and the pm where set to 0 i dont know why they getting still this errorr can someone help me on this matter??

teamgofast 11-17-2005 02:01 AM

installed and working!!

Mikal 11-19-2005 03:36 PM

Very nice hack :)

Is there a way to add a picture to every question. since I want to use this hack for armor recognition, which is a bit hard without a picture ;)

Thanks in advance!

*Clicks installed*

Pvtiste 11-19-2005 04:04 PM

Great Job, thanks 4 sharing !

2fast4ya 11-19-2005 06:46 PM

none of the screen shots work, is ther eanyway that i can see them?

teamgofast 11-21-2005 11:35 PM

ok heres an issue i could use help with. say you have a multiple answer question. lets use 3 as the example. the user selects 2 out of 3 correct. his score should be 66% but since he selected a wrong answer with the 2 correct answers, the system is giving the user a 33% score for the question.
Is there an easy way to fix it other then having no multiple answer questions?

dethfire 11-21-2005 11:39 PM

I think the templates need to be updated, they are very hard to view with a billion tables in tables and such without a clear hierarchy of elements.

amykhar 11-22-2005 01:43 AM

That sounds like a good idea dethfire. When you get them updated, will you please share your work with other users of this mod?

Snake 11-22-2005 11:01 AM

Yes that sounds good to me, dethfire. Please do not forget to share your work with us.

mcyates 11-26-2005 01:10 PM

Quote:

Originally Posted by amykhar
Yes. Change the name of the conflicting functions in one of the mods AND change the calls to them to use the new names.

How can this be done, i'm a newbie so i'll need step by step guide. If thats not too much to ask for :) thanks in advance.

mcyates 11-26-2005 01:13 PM

I deleted this from the quiz.php and it works, but i doubt think the pms won't send now:

Code:

// ---------------------------------------------------
        // Start Globalized Function - SendPM
        // ---------------------------------------------------

        function SendPM($message,$title,$to,$from = 0){
        global $vbulletin, $DB;


        $to            = $DB->query_first("select username, userid from ".TABLE_PREFIX."user where userid='{$to}'");
        $DataManager_PM =& datamanager_init('PM', $vbulletin, ERRTYPE_ARRAY);
        $DataManager_PM->set('fromuserid', $to['userid']);
        $DataManager_PM->set('fromusername', $to['username']);
        $DataManager_PM->set('title', $title);
        $DataManager_PM->set('message', $message);
        $DataManager_PM->set_recipients($to['username'],$to['permissions']);
        $DataManager_PM->set('dateline', TIMENOW);
        $DataManager_PM->save();
        }

        // ---------------------------------------------------
        // End Globalized Function - SendPM
        // ---------------------------------------------------

        // ---------------------------------------------------
        // Start Globalized Function - Error Page
        // ---------------------------------------------------

        function RunError($message){
        global $vbulletin, $session, $stylevar, $_POST, $vbphrase,$navbits,$show,$header;
        global $templatecache, $db, $vboptions, $style,$headinclude,$footer;
        global $tempusagecache, $templateassoc, $pmbox, $pmtext, $quiz_page, $NewestQuiz;

        // Navigation
        $navbits    = array("quiz.php?$session[sessionurl]do=main" => "Quizzes");
        $navbits[""] = "Error!";

        eval('$quiz_page .= "' . fetch_template('quiz_error') . '";');
        $navbits = construct_navbits($navbits);
        eval('$navbar = "' . fetch_template('navbar') . '";');

        eval('print_output("' . fetch_template('QUIZ') . '");');
        exit;
        }

        // ---------------------------------------------------
        // End Globalized Function - Error Page
        // ---------------------------------------------------


Calisse 12-05-2005 10:51 PM

amazing extension (obviously) just wanted to post my approval! a million out of ten. Easy to use and control. Thanks xx

Nam 12-09-2005 08:10 AM

I'm not sure this has been suggested before, but it'd be wonderful if Inferno Quiz has a feature like personality test, mean you take a serial of questions, and the scores are based on your answers, then calculated into a pre-defined result, and tell who you are.

Hope it could be done in the future version, thanks.

ang2el 12-13-2005 07:54 AM

I would love the quiz features present in http://www.medschoolguide.co.uk/

OneShot 12-13-2005 11:59 PM

For those who use this great hack and have trouble with the images. It looks like ZT has forgotten to fix a holdover from an earlier version in the quiz.php.

Just look for
PHP Code:

$vboptions[bburl

in the quiz.php and Replace with
PHP Code:

$vbulletin->options['bburl'

Voil?

Cheers
OS

ForYou 12-16-2005 08:04 AM

Hello ,

I was try answer the quiz and when i click on submit there is blank page ,

is there any solution ,

Regards

Justdave 12-17-2005 05:06 PM

Anyone write anymore quiz packs?

These are great, thanks in advance!!!

:squareeyed: Dave

docvader 12-18-2005 08:41 PM

Quote:

Originally Posted by Justdave
Anyone write anymore quiz packs?

These are great, thanks in advance!!!

:squareeyed: Dave

I'm not exactly sure, from the instructions, how to upgrade the Inferno Quiz that I had running (successfully) on vb 3.07, to this current version.

I have upgraded by vb 3.07 to vb 3.52 without problems.

Now, to upgrade the quiz....

I tried the 2.1 to 2.2 instructions. No good.

I tried the "full install", and got this:
Quote:

Database error in vBulletin 3.5.2:

Invalid SQL:
CREATE TABLE `quiz` (
`qid` INT( 15 ) NOT NULL AUTO_INCREMENT ,
`q_name` VARCHAR( 255 ) NOT NULL default '0',
`q_state` TINYINT( 2 ) NOT NULL default '0',
`q_perms` text not null,
`q_start` int(15) not null default '0',
`q_end` int(15) not null default '0',
`q_autoend` tinyint(2) not null default '0',
`q_timelimit` int(8) not null default '0',
`q_viewanswer` tinyint(2) not null default '0',
PRIMARY KEY ( `qid` )
) TYPE = MYISAM;;

MySQL Error : Table 'quiz' already exists
Error Number : 1050
Date : Sunday, December 18th 2005 @ 02:43:55 PM
Script : http://x.russbo.com/vbtest/admincp/install_quiz.php
I guess I'm just not sure how to upgrade the quiz, now that I've upgraded my vb that has an older version of the quiz on it.

The link to the quiz page now gives me this:
Database error in vBulletin 3.5.2:

Invalid SQL:
select * from quiz where q_state=1 order by qid desc limit 0,1;

MySQL Error : Unknown column 'q_state' in 'where clause'
Error Number : 1054
Date : Sunday, December 18th 2005 @ 02:53:24 PM
Script : http://x.russbo.com/vbtest/quiz.php?
Referrer : http://x.russbo.com/vbtest/index.php
IP Address : 67.77.47.30
Username : doc
Classname : vb_database

Any suggestions?

Thanks
rich

Lea Verou 12-20-2005 12:04 PM

amykhar can you please, please please post the query? (the one that writes the quiz creator's username in the database)
I'm quite afraid to write to the database :o
If you notice, none of my hacks writes to the database, only reads from it :o
Please?
Thanks in advance :nervous:

Zia 12-21-2005 04:16 AM

oh yeah man.. this is too kool
*kliks install* **kliks hotm*

any one make any more quiz pack??/ pls

Thanks

bashy 12-21-2005 06:13 AM

Nice hack thanks....:)

Bashy

bashy 12-21-2005 02:26 PM

Hi...

Just tried to submit my answers for the Theory Test and got this error:

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 758

Please advise cause i cant submit my excellent answers :( lol

Bashy

www.bashys-place.com

banjolawyer 12-21-2005 05:49 PM

PM me if you have a quiz related to beer. I'll trade you one I created for yours.

ForYou 12-21-2005 09:17 PM

Hello ,

I need to ask if i can creat quiz that have to make user just click on 2 options when they answer , I mean if there is qustion like ,

What is the team that will win the World Cup ?

Brazil
Germany
Argantina
France
Holand

Then I need the user just chose 2 answers , not one and not all , and i dont need them write the answer ,

I hope there is away to do that ,

Regards


All times are GMT. The time now is 12:04 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.01696 seconds
  • Memory Usage 1,836KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_php_printable
  • (8)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