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)

Talisman 12-17-2006 04:52 AM

Reading through this thread made a bit leery of this one, but I installed and it works great for 3.6.4. All I've had to do thus far is change the image variable in quiz.php that Paul M. mentioned. Haven't noticed any other problems.

Thanks, as always, ZT.

:bunny:

Cornie 12-17-2006 06:30 AM

bbcode is not going to 3.6.3 and 3.6.4 by me.

Bielikov 12-22-2006 05:47 PM

Thanks for your hard work. To make a loooooong story short, I am having trouble finding a quiz software that sends me email results with a peson's name and percentage score. Some do, but there are problems with pop-up blockers and so on. So I figured a vBulleting add-in might exist. So ...

Do you know of a vBulleting that has posted a quiz I can take with your software, to get an idea of how it works?

What is the cost to your program?

Finally, I owe a lot of favors to our Webmaster. Will this take much of his time to install?

Best,

Gregorio

Will.Spencer 12-25-2006 01:55 PM

One option that would be really great would be if each quiz question opened in a new screen -- just like in certification tests and most trivia games.

Right now, I have a quiz with 57 questions that just intimidates most visitors.

Also, the software prevents users from taking the quiz more than once. With certification quizzes -- my users want to take them again and again.

Will.Spencer 12-25-2006 02:10 PM

Quote:

Originally Posted by catfish_pete (Post 1122300)
Hi,

There’s a problem on my site, where when you answer the questions and click on “Submit” it sends you to this error page:


Fatal error:
• The text that you have entered is too long (12182 characters). Please shorten it to 5000 characters long.
Unable to proceed with save while $errors array is not empty in class vB_DataManager_PM in /includes/class_dm.php on line 763 ”

Is this to do with how long the questions/answers are? Help would be appreciated with this.

Pete:

I had the same problem and resolved it by raising the "Maximum Characters Per Private Message" option in vBulletin Private Messaging Options to 15,000 characters.

Will.Spencer 12-26-2006 01:14 AM

Quote:

Originally Posted by Paul M (Post 1093069)
Search quiz.php for $vboptions and replace it with $vbulletin->options

Paul:

When you do that, this error starts appearing in your Apache log files:

Code:

[Mon Dec 25 20:20:41 2006] [error] [client 64.233.178.136] PHP Parse error:  syntax error, unexpected T_OBJECT_OPERATOR, expecting ',' or ';' in /usr/local/www/data/tech-faq.com/forum/quiz.php on line 164
Line 164 is:
Code:

global $templatecache, $db, $vbulletin->options, $style,$headinclude,$footer;

PJSkiboy 01-05-2007 05:45 AM

Quote:

Originally Posted by OneShot (Post 848185)
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

For those of you that can't find the correction for the image issues, here is the post that solved those issues; at least for me. I believe it was only two instances of the $vboptions[bburl] that have to be replaced as instructed above to fix things right up. Easy enough.

And some of you have had reported issues with uploading some of the .xml files that have quizzes people have already submitted in this thread. I looked up the particular error I was getting using some of these and from what I can tell, you simply can't use the following three characters when creating questions. (Not sure if this applies to answers as well or not.) But don't use &, <, > when creating questions.

& (ampersand, must be encoded as &amp;)
< (left angle bracket, must be encoded as &lt;)
> (right angle bracket, must be encoded as &gt;)

Thanks to EduPerl over at Microsoft's MSDN forums for the information.

I would like to attach the quiz I made with all 50 U.S. capitals here, but I'm currently having issues getting it to allow me to download the .xml file once it has created it. It simply wants me to continue to log in over and over into the admin panel. I'll see if I can solve my own problem and edit this post later to include the quiz.

OK, found the answer to that problem in the thread as well. Amazing what one can accomplish with a little elbow grease. :D

Thanks again to everyone that has contributed to this wonderful mod. I truly hope ZeroT can find his way back and created an updated version of this mod. My forum members love this.

Will.Spencer 01-06-2007 01:03 AM

Quote:

Originally Posted by PJSkiboy (Post 1151184)
For those of you that can't find the correction for the image issues, here is the post that solved those issues; at least for me. I believe it was only two instances of the $vboptions[bburl] that have to be replaced as instructed above to fix things right up. Easy enough.

Thanks man! I had implemented this fix incorrectly and was very confused. :o

Cornie 01-06-2007 04:40 PM

Can someone leave a functioning version for 3.6.4 to me?

Thank you

Warlord 01-11-2007 09:16 PM

Quote:

Originally Posted by Paul M (Post 1093466)
Ah, the one in the global - that one could just be removed.

Ok, I get that global error thing when trying to import a quiz. I have two questions though.

1. By removing this global, does it make it so that I can't import quizzes? (Not that I'll really be doing it that much anyway, but meh.)

2. What line(s) of code do I need to remove to remove the global?

I am running vBulletin v3.6.4 and Inferno Quiz v2.1.

Thanks in advance.


All times are GMT. The time now is 07:58 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.01770 seconds
  • Memory Usage 1,751KB
  • 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
  • (2)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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