![]() |
I am using 3.6.1 and I can approve, reject, open and close quizzes without any problems.
|
Quote:
|
Hello All,
Is there a tutorial that tells how to write the questions/XML file? Thanks. |
Amy, did you figure out how to address the apostrophe bug issue (when creating quizzes)? I can set up quizzes just fine while keeping them in mind, but I'm 100% sure that the members from the forum will be confused.
|
The apostrophe bug was fixed somewhere in either this thread or the 3.0 one. If I recall correctly, I posted it in the 3.0 version thread.
|
Quote:
Quote:
I fixed this for Icehawk today - the actual problem is that quiz.php is using the $vboptions[] variable, when it should be using $vbulletin->options[]. :cool: |
Quote:
|
Quote:
|
this versiyon works fine on 3.6.1. I use...
|
Quote:
BTW, the "export a quiz" doesn't work on 3.6.1 version. It brings the login window continuously. :tired: |
well, no way can I make this thing public for member use until the apostrophe issue has been resolved. I looked into both threads, but no 3.5 solution for any of them.
|
To fix the Export Problem in Version 3.6.x
Search "admin_quiz.php" for PHP Code:
PHP Code:
|
Quote:
|
Quote:
Anyway, here's where Zero said he fixed it: https://vborg.vbsupport.ru/showpost....&postcount=229 Okay, might have found the issue. Compare 2.1 to 2.2: 2.1 (the fixed version for 3.0) has this line and it refers to the quote thing: Code:
$Quest['q_question'] = parse_bbcode2(str_replace('"','"',$Quest['q_question']), 0, 0, 0, 1); Code:
$Quest['q_question'] = $bbcode_parser->parse(unhtmlspecialchars($Quest['q_question'])); |
Quote:
I am sure that isn't the fix. I wouldn't try swapping it out, at best bbcode won't work in the quiz, at worst I suspect you'll get a functions error. I have to say, I started off with the 3.0 version of the quiz which I installed back in February of this year, and the apostrophe bug was present then. So if he said he'd fixed it before then, he hadn't. |
I might as well uninstall the hack, if that's the case. It's a pretty significant bug. Oh well.
|
Quote:
Thanks :) |
Does it work on vB 3.6 ?
|
Quote:
|
Quote:
|
Quote:
Your Profile says 3.5.2 ! |
Quote:
|
Quote:
|
Ah, the one in the global - that one could just be removed.
|
Sigh, I've created too many quizzes to just delete this, but I desperately need a fix to this apostrophe issue for 3.5.
Willing to pay to have someone fix this, PM me. |
my code is so totally different that I can't begin to tell you what line or even what function to look for. But, to fix your apostrophe problems, all you have to do is use trim and addslashes on any text input that's going to be put in the database. Find where the quiz name or title variable is. Before it goes into the database, do something like this (appropriate variables of course)
Code:
$title = $trim(addslashesa($title)); |
Quote:
Code:
$title = trim(addslashes($title)); |
Looks like there is a lot of bug fixes to implement. Damn! >_<
|
Quote:
Code:
$to = $DB->query_first("select username, userid from ".TABLE_PREFIX."user where userid='{$to}'"); |
You missed a ) at the end of the title line:
$DataManager_PM->set('title', $title = trim(addslashes($title))); |
Besides those two spots, what other lines need to be adjusted. I'm not finding the question submission line in the file.
Quote:
|
sorry for my english,
I have 3.6.2 version. Inferno Quiz is not work for this?? Error message The following mistake has appeared: Their user group does not have to take part the authorisation in this quiz. Please, register or log in. If somebody can help me Cornie |
Still having problems with the apostrophe issue. Can someone paste their quiz.php code (for vB 3.5) if they have it fixed?
|
Dump!
|
Willing to pay for someone to fix the apostrophe issue with my quiz
|
I'm not getting the quiz image to appear. I upload the image and it shows in the admin cp, but when I open the quiz nothing is there. Any hints?
Also, any way to put images into the question? Thanks, rob |
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. |
Inferno QUIZ is awsome :-)
Is it possible to run this quiz with different that default style? I want to use dedicated style with different colors for this... THANKY! |
Can I also insert pictures in the questions? If how?
|
Thank you Cornie ;)
|
All times are GMT. The time now is 07:41 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|