View Full Version : Inferno Quiz v2.2
Zero Tolerance
06-14-2005, 10:00 PM
Port of: https://vborg.vbsupport.ru/showthread.php?s=&threadid=80780
However, the system has a pretty big back-end, it's possible i over-looked a bit or 2, so if you encounter errors/php errors please feel free to let me know in this thread and i'll try to get them fixed asap :)
v2.2 Updates: (Upgrade instructions inside ZIP)
- Several areas of code otptimized (query reduction)
- Uncached templates now cached
- Ability in main options to choose default usergroups to participate/view results to be auto filled in when adding quizzes.
Enjoy,
- Zero Tolerance
Erwin
06-15-2005, 10:20 AM
ZT, you are on a roll with the updating of your hacks. :) Good job.
Zero Tolerance
06-15-2005, 10:23 AM
ZT, you are on a roll with the updating of your hacks. :) Good job.
Thanks, just trying to get them out of the way so i have less on my mind =)
- Zero Tolerance
Joep11
06-15-2005, 11:03 AM
I get this error: Your usergroup does not have permission to submit quizzes
...?
Zero Tolerance
06-15-2005, 11:05 AM
I get this error: Your usergroup does not have permission to submit quizzes
...?
Did you allow your usergroup in the main quiz settings?
- Zero Tolerance
Joep11
06-15-2005, 11:27 AM
Owwwwwwwww had not seen that file, sorry ^_^
But now where can administrators approve submitted quizzes, I can't find it :(
*feels stupid*
Great hack by the way!!! :up:
Zero Tolerance
06-15-2005, 11:29 AM
Moderate Submissions would be where you can view/allow/delete quizzes that have been submitted :)
- Zero Tolerance
Joep11
06-15-2005, 11:33 AM
Well...I am logged in as administrator, but cannot see them :(
Zero Tolerance
06-15-2005, 11:35 AM
Inferno Quiz Control -> Moderate Quiz Submissions
If there are no quiz submissions, then it will say there are none.
- Zero Tolerance
Joep11
06-15-2005, 11:38 AM
Where can I find Inferno Quiz Control; I don't see it in the admin
Also when I submit a quiz as administrator, it says "Thank you for submitting a quiz, it will become available after an administrator has moderated it and allowed it. "
Thanks for the quick respons :up:
Zero Tolerance
06-15-2005, 11:45 AM
Did you upload includes/xml/cpnav_quiz.xml ? It's the new way of adding custom nav to the vB ACP, however it appears at the very bottom of the nav.
- Zero Tolerance
Joep11
06-15-2005, 11:47 AM
no because it's not included in Inferno Quiz v2.1.zip :D
Zero Tolerance
06-15-2005, 11:48 AM
That would be a decent explanation .. my bad, it's in there now :p
- Zero Tolerance
MrSDavidson
06-15-2005, 11:55 AM
dont want to be a pest but shouldn't the cpnav_quiz.xml be in the following folder
[Inferno Quiz v2.1\UPLOAD\includes\xml\cpnav_quiz.xml]
and not this one?
[Inferno Quiz v2.1\UPLOAD\images\xml\cpnav_quiz.xml]
Zero Tolerance
06-15-2005, 11:58 AM
Indeed, thats where i went wrong when compiling it for release, i'll update in about 20 mins, just preping v2.2 for release :)
- Zero Tolerance
MrSDavidson
06-15-2005, 12:00 PM
D'oh
and I just installed it too LOL
Joep11
06-15-2005, 12:01 PM
It works great now...thanks!!!
Zero Tolerance
06-15-2005, 12:04 PM
D'oh
and I just installed it too LOL
Don't worry, upgrading is pish-posh.
Glad to hear it Joep11 :)
- Zero Tolerance
MrSDavidson
06-15-2005, 12:10 PM
Clicked Install btw :D just remembered to :roll: one of those days
MrSDavidson
06-15-2005, 12:13 PM
Q: How do I get it to show up on the "Who's online" rather than have this
Unknown Location
/forum/quiz.php?
Zero Tolerance
06-15-2005, 12:17 PM
Hmm, the plugins should cover it, do you have plugins enabled? And did i you upload the plugins?
- Zero Tolerance
MrSDavidson
06-15-2005, 12:23 PM
Wont be showing up as that by any chance because I dont have this code added
<td class="vbmenu_control"><a href="quiz.php?$session[sessionurl]">Quiz</a></td>
Zero Tolerance
06-15-2005, 12:25 PM
Nah that wouldn't cause the problem that's just the link to it.
- Zero Tolerance
MrSDavidson
06-15-2005, 12:28 PM
oh well, maybe the update will fix whatever my board doesnt like :roll:
Zero Tolerance
06-15-2005, 01:08 PM
Version 2.2 updated, main post contains info. :)
- Zero Tolerance
C.Birch
06-15-2005, 01:20 PM
works fine here and less then 1 min install thanx to vb plugs :)
MrSDavidson
06-15-2005, 01:31 PM
Working 100% Now!
Think my forum didnt like something originally...
chariotdriver
07-09-2005, 04:25 PM
Sorry for having to ask this simple question, but If I'm just now installing the 3.0.7 as I have never had this Forum up before. Will any Mods that are created for the Beta VB work on the earlier VB?
Phil
chariotdriver
07-09-2005, 04:26 PM
Or should I just go ahead and get the Beta, is it secure enough to use?
amykhar
07-09-2005, 04:30 PM
Sorry for having to ask this simple question, but If I'm just now installing the 3.0.7 as I have never had this Forum up before. Will any Mods that are created for the Beta VB work on the earlier VB?
Phil
This mod was earlier released for 3.0.x
Amy
Christine
07-09-2005, 04:48 PM
I many have missed it, but it didn't appear that there are any code changes to the core php files in this?
Is this an extension or a code modification?
amykhar
07-09-2005, 05:06 PM
It's an extension now.
Hoang Tu Ao Den
07-14-2005, 02:32 AM
Ok, may be this is a dump question.
I'm still not clear wheather this version (or the upgraded instruction) worked for VB 3.0.7 ?
amykhar
07-14-2005, 02:33 AM
This one:
https://vborg.vbsupport.ru/showthread.php?s=&threadid=80780
FASherman
07-14-2005, 11:24 AM
Ok, may be this is a dump question.
I'm still not clear wheather this version (or the upgraded instruction) worked for VB 3.0.7 ?
How is this not clear?
"vB3.5 Modifications"
Simple math: 3.5 > 3.0.7, not equal.
Hoang Tu Ao Den
07-15-2005, 06:38 PM
Ok thanks.
I wasn't sure since I see several people in here still showing that they are using 3.0.7. Anyway, I already know it's a dump question.
So, the next dump question would be : Is anyway to make the new features work with 3.0.7 ?
amykhar
07-15-2005, 07:43 PM
There are no new features in this version that I know of.
Hoang Tu Ao Den
07-16-2005, 03:42 PM
Ability in main options to choose default usergroups to participate/view results to be auto filled in when adding quizzes
I thought it's new feature. Never mind then.
jesus likes pie
07-16-2005, 08:03 PM
does this work on beta 4?
does this work on beta 4?
"vB Version: 3.5.0 Beta 1" .. guess that means no 'eh :squareeyed:
jesus likes pie
07-16-2005, 08:13 PM
well, it was made for 1 but maybe it works for later versions anyways?
:P
amykhar
07-16-2005, 10:14 PM
I thought it's new feature. Never mind then.
Ah. I forgot he added that in. I had it hacked in to mine from the very beginning. :D
seangworld
08-03-2005, 12:09 AM
easy install.
i clicked install. :nervous:
GrendelKhan{TSU
08-03-2005, 07:56 AM
installed 3.5 RC (I'm a crazy man like that :p) and everything seems to be working EXCEPT one thing...
the QUIZ IMAGE doesn't show up in the forums (I get an "X" where the image should be).
The file exists in the server images/quiz folder, the url is correct AND it shows up in the quiz ACP, just not in the actual live forums.
:ermm:
Any ideas or suggestions what might be wrong?
---------------
also on a friends computer...when he finishes the quiz he gets a
"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 748"
though he is the only one that seems to get it. :ermm:
GrendelKhan{TSU
08-05-2005, 03:11 AM
installed 3.5 RC (I'm a crazy man like that :p) and everything seems to be working EXCEPT one thing...
the QUIZ IMAGE doesn't show up in the forums (I get an "X" where the image should be).
The file exists in the server images/quiz folder, the url is correct AND it shows up in the quiz ACP, just not in the actual live forums.
:ermm:
Any ideas or suggestions what might be wrong?
---------------
also on a friends computer...when he finishes the quiz he gets a
though he is the only one that seems to get it. :ermm:
bump :)
amykhar
08-05-2005, 03:14 AM
I'm having the same problem, but haven't had time to look at the code yet. If I fix it for myself, I'll pass on the knowledge.
GrendelKhan{TSU
08-05-2005, 09:04 AM
I'm having the same problem, but haven't had time to look at the code yet. If I fix it for myself, I'll pass on the knowledge.
cool. much appreciated.
I did notice one thing though:
the link to the image in the quiz AdminCP is correct.
http:/ /www.SITENAME.com/forums/images/quiz/simpsons.gif
but the url link in the actual live quiz is missing the folder "forums" (for me).
http:/ /www.SITENAME.com/images/quiz/simpsons.gif
whereever the code that generates the image path is where the problem seems to arise.
:ermm:
don't know what up with the other error yet though. :(
UltraVR
08-05-2005, 05:50 PM
I had the same problem too, sorta. My images worked in the admin cp, but not in quiz.php
I just opened quiz.php, searched for every instance of:
$vboptions[bburl]}/images
And replaced it with:
$vboptions[bburl]}/forums/images
It seemed to do the trick.
(I also checked my vBulletin Options to make sure the path was set correctly, and it was, so I don't know why it didn't work.)
Anyhow, that code modification fixed it.
GrendelKhan{TSU
08-08-2005, 03:56 AM
GREAT!! Thanks!! that did it!! :D :D
badblu
08-08-2005, 09:55 AM
how do you make new quizzes ?
ForYou
08-09-2005, 10:08 AM
Hello ,
Is this Work on RC2 ,
Regards
Boofo
08-09-2005, 10:18 AM
Hello ,
Is this Work on RC2 ,
Regards
It should work just fine. ;)
badblu
08-09-2005, 10:32 AM
hello can anyone help me make some new quizzes or tell me how to edit the current quizzes please
Attached 3 quizzes you might like to add.
Bad Guys
Hero's
Oscars
Boofo
08-09-2005, 11:35 AM
Attached 3 quizzes you might like to add.
Bad Guys
Hero's
Oscars
Do you have any images to go with these by chance and maybe category suggestions? ;.)
Do you have any images to go with these by chance and maybe category suggestions? ;.)
You want blood :rolleyes:
Images attached ..
I just made a Miscellaneous category
ForYou
08-09-2005, 12:07 PM
Hello ,
When i need to answer Q there is Error ,
Warning: in_array(): Wrong datatype for second argument in /quiz.php on line 352
what is this ,
Regards
Boofo
08-09-2005, 12:12 PM
You want blood :rolleyes:
Images attached ..
I just made a Miscellaneous category
You also might want to change the Multi to Radio in the xmls as I can choose more than 1 answer for each question now. ;)
And who is Al Mineo? Isn't that supposed to be Sal Mineo (in the bad guys)? ;)
Thank you for the pics. ;)
If you come across any more quizzes, I'd be interested. ;)
Boofo
08-09-2005, 12:14 PM
Hello ,
When i need to answer Q there is Error ,
Warning: in_array(): Wrong datatype for second argument in /quiz.php on line 352
what is this ,
Regards
Sounds like you have a bad quiz xml. ;)
Import another one and see if that works ok.
ForYou
08-09-2005, 12:49 PM
Hello ,
I need to ask ,
Can i do quiz like this ,
France * Barzil there is three options 1 , 2 , X
Italy * Argantina there is three options 1 , 2 , X
and i need the users choese what options they think ,
How can i do that ,
Regards
Boofo
08-09-2005, 03:06 PM
Is there a way to change the button select for a question wihtout having to redo the whole question?
Boofo
08-09-2005, 06:12 PM
Anyone else have any more quizzes they don't mind sharing? ;)
4 more quizzes :- Category "Animals & Nature" ( I'll add a few nature quizzes later)
Monkeys
Wild Pets
Dinosaurs
Sharks
Images included Boofo:)
Boofo
08-09-2005, 09:53 PM
4 more quizzes :- Category "Animals & Nature" ( I'll add a few nature quizzes later)
Monkeys
Wild Pets
Dinosaurs
Sharks
Images included Boofo:)
Thank you, sir. ;)
You do know there is a 255 character limit for the description, right? ;)
Thank you, sir. ;)
You do know there is a 255 character limit for the description, right? ;)
Yeah .. forgot about that.
I'll keep the rest of 'em nice and simple :rolleyes:
Boofo
08-09-2005, 10:16 PM
Yeah .. forgot about that.
I'll keep the rest of 'em nice and simple :rolleyes:
Oh, I like your descriptions. They are really good. They just get cut off at the last few words. Keep them the way they are but at 255, if you can. Good work and thank you. ;)
3 More + images .. category "History"
WWII
Adventurers
Law Enforcement
Boofo
08-10-2005, 01:31 AM
Excellent! Thank you! ;)
I think I'm on a quiz rush right now. ;)
If ZT could update this hack and allow us to add picture questions, I could add quite a few more.
amykhar
08-10-2005, 04:02 PM
you can add picture questions. use the img tag.
Boofo
08-10-2005, 04:04 PM
you can add picture questions. use the img tag.
I think he means in the actual quizzes themselves.
badblu
08-10-2005, 08:20 PM
Thanks for some of the new quizzes but i am really looking for some Scifi quizzes or a way to make them.
illusions
08-12-2005, 02:49 PM
Hi... I have installed quizz..but am geting the following error when i try to open the page via the link in the forum...and in admin cp.. :
Fatal error: Cannot instantiate non-existent class: quiz_engine in /home/illusion/public_html/forums/admincp/admin_quiz.php on line 32 :ermm:
what can i do to make the right changes?
I am wondering whether i got the above error..because i didnt do the following as per instructions :
Next, CHMOD the following files/folders to '0777':
includes/
includes/settings.quiz.php
images/
images/quiz/
What is meant by CHMOD? and 0777 ? can someone please help there... I did not really understand what was being said..
Thanks
Hi... I have installed quizz..but am geting the following error when i try to open the page via the link in the forum...and in admin cp.. :
Fatal error: Cannot instantiate non-existent class: quiz_engine in /home/illusion/public_html/forums/admincp/admin_quiz.php on line 32 :ermm:
what can i do to make the right changes?
I am wondering whether i got the above error..because i didnt do the following as per instructions :
Next, CHMOD the following files/folders to '0777':
includes/
includes/settings.quiz.php
images/
images/quiz/
What is meant by CHMOD? and 0777 ? can someone please help there... I did not really understand what was being said..
Thanks
You obviously used an FTP to upload the files .. right click on the folders / files listed by the install which need chmod 777 and select properties, you should see a numeric value .. you need to change that value to 777
illusions
08-13-2005, 07:58 AM
Thanks TTG... I have made the changes...but I am still recieving errors..its not loading up when going onto the link... I get the following error:
Fatal error: Cannot instantiate non-existent class: quiz_engine in /home/illusion/public_html/forums/quiz.php on line 114
And from Admincp when i try to bring up the menu i get the following error:
Fatal error: Cannot instantiate non-existent class: quiz_engine in /home/illusion/public_html/forums/admincp/admin_quiz.php on line 32
Anyone have idea what the problem is?
Scooterpig
08-13-2005, 08:53 AM
Is it possible to have the Quiz Control listed underneath the main VB options instead of above it like it is now please?
I get the following error:
Fatal error: Cannot instantiate non-existent class: quiz_engine in /home/illusion/public_html/forums/quiz.php on line 114
And from Admincp when i try to bring up the menu i get the following error:
Fatal error: Cannot instantiate non-existent class: quiz_engine in /home/illusion/public_html/forums/admincp/admin_quiz.php on line 32
Anyone have idea what the problem is?
You sure you uploaded all the files into the right areas .. call is not finding the files !?
Boofo
08-13-2005, 09:50 AM
Anyone have any more quizzes to share? ;)
Kurisu
08-15-2005, 08:22 PM
Am I the only one who gets this error?
Parse error: parse error in Parse error: parse error in /home/htdocs/web1/html/av/vb/includes/class_postbit.php(279) : eval()'d code on line 11
Vizionz
08-18-2005, 01:40 PM
<a href="http://www.eaforums.com/forums/quiz.php" target="_blank">http://www.eaforums.com/forums/quiz.php</a> check out amys she hooked that bad boy up good job on that amy
amykhar
08-18-2005, 02:08 PM
http://www.eaforums.com/forums/quiz.php check out amys she hooked that bad boy up good job on that amy
Actually, it's not ready to look at just this moment. I accidentally wiped out my quiz-creation templates, which is where most of my work has been.
My code barely resembles zero's anymore :D
Boofo
08-18-2005, 02:11 PM
Actually, it's not ready to look at just this moment. I accidentally wiped out my quiz-creation templates, which is where most of my work has been.
My code barely resembles zero's anymore :D
Wanna share some of those quizzes? ;)
vBintense
08-18-2005, 02:15 PM
Wanna share some of those quizzes? ;)
I will second boobos idea (I think they call ya boobo or was it boboo I must search)
* vBintense laughs and runs from boofo.
Boofo
08-18-2005, 02:20 PM
* Boofo thinks Instant-Coffee can't run that fast. ;)
vBintense
08-18-2005, 02:22 PM
/me thinks I can, but really I wish I had chosen the name I.T lol
Vizionz
08-18-2005, 02:23 PM
Actually, it's not ready to look at just this moment. I accidentally wiped out my quiz-creation templates, which is where most of my work has been.
My code barely resembles zero's anymore :D
i love how the template looks and the categories
Boofo
08-18-2005, 02:23 PM
Oh, I could have had even more fun with that name. ;)
amykhar
08-18-2005, 02:25 PM
Wanna share some of those quizzes? ;)
I did. In the original 3.0 inferno quiz thread.
Thank you vizionz. That's not where my real changes are though. I've reworked the entire submission process to stream-line it. I've added report cards, author accredation, the ability to find quizzes by a given author, quizzes posted since last login, reworked the approval process, hooked it into the forums, and a few other things that I don't remember right now :D
Amy
Vizionz
08-18-2005, 02:55 PM
wow good job. i am not a coder so that is amazing to me between you and zt your both are changing the game around here lately :) i really need to learn how to code haha
taffy056
08-18-2005, 03:23 PM
Hi Zero,
Thank you very much for this hack, this will blow my users away :)
taffy
Michael-DLR
08-20-2005, 03:35 AM
Hi,
This is a great hack! I am running into an issue though. After selecting all the questions, I click submit and it hangs until it times out. I am receiving the private message, the results are hitting the database. I did review the thread here and the 3.0.7 version and the only answer I came up with was to optimize my database. I did do that but the quiz.php?do=Take&id=2 page freezes at that point.
Help! Thank you!
Michael
badblu
08-20-2005, 08:32 AM
I have made a quiz for scifi fans its based on Stargate Sg1 its easy
Michael-DLR
08-21-2005, 02:17 AM
Hi,
This is a great hack! I am running into an issue though. After selecting all the questions, I click submit and it hangs until it times out. I am receiving the private message, the results are hitting the database. I did review the thread here and the 3.0.7 version and the only answer I came up with was to optimize my database. I did do that but the quiz.php?do=Take&id=2 page freezes at that point.
Help! Thank you!
Michael
Hi,
Just wondering if anyone can help or suggest anything about this problem I am having?
Thank you!
Michael
Michael-DLR
08-24-2005, 12:45 AM
Hi there,
Is this hack no longer supported?
Thank You,
Michael
amykhar
08-24-2005, 02:00 AM
The author is a high school student and it's back to school time. I'd give him some time.
I'm sorry, but I don't have an answer for your question.
GrendelKhan{TSU
08-24-2005, 02:37 AM
The author is a high school student and it's back to school time.
I knew that but everytime I hear it I still can't tell if I find that more impressive...or depressing. lol :p :D
wonder how he does in his computer sci class. ;) Zero rocks!!
Gizmo5h1t3
08-24-2005, 06:44 AM
keepposting your quizzes guys!!..ure saving me hours in doin em...lmao
FrozenCreations
08-25-2005, 02:51 PM
umm, i was wonderign if this mods could instead or letting the in 1 fourm, if it could set them to different usergroups? like if teh got a 90+ they go 2 Usergroup #1, if they get 75+ they go to Usergroup #2, if they get 45+ they go to Usergroup #3, if they get 0+ they go to Usergroup #4
ive been looking for somethign like this 4 a long long long time! i hope someone could do it!!
+ can this be used on 3.5 rc2? because, if not, i would love it if some1 upgraded it!
Boofo
08-25-2005, 03:05 PM
It works fine on RC 2. ;)
FrozenCreations
08-25-2005, 03:13 PM
kool ,how about my first question, about teh usergroup thing?
FrozenCreations
08-25-2005, 11:51 PM
bump ^^;
Hmm, I have a question. Is there a way to make the quizzes give an answer based on the choices the user makes, then have an output based on those choices? For instance:
"What kind of animal are you?" and if the user answers the questions, it will output that animal.
Thanks for your help.
rinkrat
08-28-2005, 04:47 PM
Easy install, works great.
amykhar
08-28-2005, 07:25 PM
Easy to modify too :D
Boofo
08-28-2005, 07:28 PM
Easy to modify too :D
If you know what you are doing it is.
Michael-DLR
08-28-2005, 08:13 PM
Easy install, works great.
And does your quiz work properly using windows internet explorer 6.0?
Thank you,
Michael
Forumi Shqiptar
08-30-2005, 05:44 PM
love it its great thanks clicked install :)
peterska2
09-03-2005, 08:44 PM
installed. thanks.
Michael-DLR
09-05-2005, 03:29 AM
Just checking in to see is this will still be supported or not.
Thank You,
Michael
y2krazy
09-05-2005, 03:52 AM
Installed and modding the ____ out of the templates atm. They're much more oriented towards the original look of the board, so when my site goes live, I'll send a link your way. ;)
Hmm...
The Quiz name links on my Leaderboard don't appear to do anything. They link to the leaderboard page with a # at the end.
Anyone?
Zelda-King
09-07-2005, 06:11 PM
Funny, I just downloaded and installed this on 3.5 RC2, then got the following error after taking my own quiz as an admin;
Warning: in_array(): Wrong datatype for second argument in /quiz.php on line 352
and the following message;
An error has occured, the following message has been left below:
Your usergroup does not have access to participate in this particular quiz.
I checked and administrators ARE set to have the permissions.
Update: Figured it out. I needed to set the permissions in the admin cp. But.. it's still weird getting the PHP error.
Suggestion: It would be nice to be able to set the userid of the PM sender for the results.
Still, very nice feature!
Update 2: Something seems to be bugged in the Multiple Selection Checkbox: I set two answers, got one of them correct and it gave me 0% for that question.
amykhar
09-08-2005, 01:47 AM
If you set an extra answer that's not correct, it cancels out the correct one.
y2krazy
09-08-2005, 04:41 PM
I made several changes to the basic templates and I added a footer to most of them as well, like I do with all the other hacks to make them look more streamlined with the forums. Screenshots are included.
Phrase Manager -> Add New Phrase
Varname: quiz_footer
Text: Powered by <b>Inferno Quiz</b> v2.2 by <a href="http://www.infernotechnologies.net/" target="_blank">Zero Tolerance</a>
Style Manager -> Choose the Style to Edit -> "QUIZ"
Replace entire template with:
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<title>$vboptions[bbtitle] - $pagetitle</title>
$headinclude
</head>
<body>
$header
$navbar
<if condition="$bbuserinfo[userid]=='0'">
<table class="tborder" cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr>
<td class="tcat" colspan="3">Guest - No Permissions</td>
</tr>
<tr>
<td class="thead">Unable To View</td>
</tr>
<tr>
<td class="alt1" colspan="1">Guests Are Unable To Use The Inferno Quiz System</td>
</tr>
</table>
<br/>
<else />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<tr align="center">
<td class="alt1"><span class="smallfont"><b><a href="quiz.php">Quiz Home</a></b> | <b><a href='quiz.php?{$session[sessionurl]}do=Leaderboard&type={$LB['link']}'>{$LB['text']}</a></b> | <b><a href='quiz.php?{$session[sessionurl]}do=SubmitQuiz'>Submit A Quiz</a></b></span></td>
</tr>
</table>
<br/>
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr>
<td width='175' valign='top'>
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="175" align="center">
<if condition="is_array($NewestQuiz)">
<tr>
<td class="tcat" style="white-space:nowrap">Newest Quiz</td>
</tr>
<tr>
<td class="alt2" align='center'>
<span class="smallfont">{$NewestQuiz['q_name']}<br />
{$NewestQuiz['q_image']}</span>
<br />
<span class="smallfont"><a href='quiz.php?{$session['sessionurl']}do=Take&id={$NewestQuiz['qid']}'>Take Quiz</a> | <a href='quiz.php?{$session['sessionurl']}do=Stats&id={$NewestQuiz['qid']}'>View Stats</a></span>
</td>
</tr>
</if>
</table>
</td>
<!-- Spacer Cell -->
<td width="15"><img alt="" src="$vboptions[bburl]/$vboptions[cleargifurl]" width="15" /></td>
<!-- / Spacer Cell -->
<td width='100%' valign='top'>
{$quiz_page}
</td>
</tr>
</table>
{$MenuBuild}
</if>
$footer
</body>
</html>
Style Manager -> Choose the Style to Edit -> "quiz_do_end"
Replace entire template with:
</tbody>
<tr>
<td class='tfoot' colspan='2' align='center'>
<input type='submit' value='Submit' class='button' />
</td>
</tr>
<tr>
<td class="tcat" align="right" colspan="2"><span class="smallfont">$vbphrase[quiz_footer]</span></td>
</tr>
</table>
</form>
Style Manager -> Choose the Style to Edit -> "quiz_do_question"
Replace entire template with:
<tr>
<td class='thead' colspan='2' width='100%'>
Question Number: {$n}
</td>
</tr>
<tr>
<td class='alt2' align='left' width='60%'>
<span class="smallfont"><b>Question:</b> {$Q['q_question']}</span>
</td>
<td class='alt1' align='center' width='40%'>
<span class="smallfont">{$Select}</span>
</td>
</tr>
Style Manager -> Choose the Style to Edit -> "quiz_do_top"
Replace entire template with:
<if condition="$Quiz['q_timelimit'] > 0">
<script type='text/javascript'>
<!--
TimeLeft = 60 * {$Quiz['q_timelimit']}
Submit = false
function QuizTime(){
TimeLeft--
if(TimeLeft < 1){
Submit = true
document.forms['quiz_form'].submit(true)
}
Minutes = Math.floor(TimeLeft / 60)
Seconds = (TimeLeft - (Minutes * 60))
window.status = "Time Left: "+Minutes+" minute(s), "+Seconds+" second(s)"
if(!Submit){
setTimeout("QuizTime()",1000)
}
}
setTimeout("QuizTime()",1000)
-->
</script>
</if>
<form action="quiz.php?$session[sessionurl]" method="post" name="quiz_form">
<input type='hidden' name='do' value='subQuiz' />
<input type='hidden' name='qid' value='{$Quiz['qid']}' />
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan='2'>
<a style="float:right" href="#top" onclick="return toggle_collapse('forumhome_quiz_take')"><img id="collapseimg_forumhome_quiz_take" src="$stylevar[imgdir_button]/collapse_tcat.gif" alt="" border="0" /></a>
<div>Quiz: {$Quiz['q_name']}</div></td>
</tr>
</thead>
<tbody id="collapseobj_forumhome_quiz_take" style="{$vbcollapse['collapseobj_forumhome_quiz_take']}">
<tr>
<td class='thead' align='center' width='60%'>
Question
</td>
<td class='thead' align='center' width='40%'>
Answer
</td>
</tr>
Style Manager -> Choose the Style to Edit -> "quiz_leaderboard_end"
Replace entire template with:
</tbody>
<tr>
<td class='tfoot' colspan='4'>
<span class="smallfont"><a href='quiz.php?$session[sessionurl]do=Leaderboard&type={$Type}&num=10'>Top 10</a> |
<a href='quiz.php?$session[sessionurl]do=Leaderboard&type={$Type}&num=20'>Top 20</a> |
<a href='quiz.php?$session[sessionurl]do=Leaderboard&type={$Type}&num=30'>Top 30</a> |
<a href='quiz.php?$session[sessionurl]do=Leaderboard&type={$Type}&num=40'>Top 40</a> |
<a href='quiz.php?$session[sessionurl]do=Leaderboard&type={$Type}&num=50'>Top 50</a> |
<a href='quiz.php?$session[sessionurl]do=Leaderboard&type={$Type}&num=60'>Top 60</a> |
<a href='quiz.php?$session[sessionurl]do=Leaderboard&type={$Type}&num=70'>Top 70</a> |
<a href='quiz.php?$session[sessionurl]do=Leaderboard&type={$Type}&num=80'>Top 80</a> |
<a href='quiz.php?$session[sessionurl]do=Leaderboard&type={$Type}&num=90'>Top 90</a> |
<a href='quiz.php?$session[sessionurl]do=Leaderboard&type={$Type}&num=100'>Top 100</a></span>
</td>
</tr>
<tr>
<td class="tcat" align="right" colspan="4"><span class="smallfont">$vbphrase[quiz_footer]</span></td>
</tr>
</table>
Style Manager -> Choose the Style to Edit -> "quiz_leaderboard_row"
Replace entire template with:
<tr>
<td class='alt2' align='center' width='1%'>
<span class="smallfont">{$Count})</span>
</td>
<td class='alt2' align='center' width='40%'>
<span class="smallfont"><a href='quiz.php?{$session['sessionurl']}do=UserStat&userid={$gData['r_userid']}&id={$gData['qid']}'>{$gData['username']}</a></span>
</td>
<td class='alt2' align='center' width='1%'>
<span class="smallfont">{$gData['r_score']}%</span>
</td>
<td class='alt2' align='center' width='40%'>
<div id="leaderboard_{$gData['rid']}" width='1%' style='white-space:nowrap;'><span class="smallfont"><a href="#">{$gData['q_name']}</a> <script type="text/javascript"> vbmenu_register("leaderboard_{$gData['rid']}",1); </script></span></div>
</td>
</tr>
Style Manager -> Choose the Style to Edit -> "quiz_main_end"
Replace entire template with:
</tbody>
<tr>
<td class="tcat" align="right" colspan="4"><span class="smallfont">$vbphrase[quiz_footer]</span></td>
</tr>
</table>
Style Manager -> Choose the Style to Edit -> "quiz_main_row"
Replace entire template with:
<tr>
<td class='alt2' align='center' width='1%'>
<table border='0' width='100%' cellpadding='3' cellspacing='0'>
<tr>
<if condition="$Quiz[q_image] != ''"><td width='1%'>{$Quiz['q_image']}</td></if>
<td>
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
<tr>
<td class="thead" colspan='4'>{$Quiz['q_name']}</td>
</tr>
<tr>
<td class="alt2" colspan='4'><span class="smallfont">{$Quiz['q_desc']}</span></td>
</tr>
<tr>
<td class="thead">End Date</td>
<td class="thead">Take Quiz</td>
<td class="thead">View Stats</td>
<td class="thead">View Leaderboard</td>
</tr>
<tr>
<td class="alt2"><span class="smallfont">{$Quiz['q_autoend']}</span></td>
<td class="alt2"><span class="smallfont"><a href="quiz.php?$session[sessionurl]do=Take&id={$Quiz['qid']}">Take Quiz</a></span></td>
<td class="alt2"><span class="smallfont"><a href="quiz.php?$session[sessionurl]do=Stats&id={$Quiz['qid']}">View Stats</a></span></td>
<td class="alt2"><span class="smallfont"><a href="quiz.php?$session[sessionurl]do=Leaderboard&type={$Quiz['qid']}">View Leaderboard</a></span></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
Style Manager -> Choose the Style to Edit -> "quiz_start"
Replace entire template with:
<script type='text/javascript'>
<!--
function rectifyForm(Form){
Form.action = 'quiz.php?$session[sessionurl]do=Take&id=$_GET[id]'
}
-->
</script>
<form action="quiz.php?nojs=1" method="post" onsubmit='rectifyForm(this)'>
<input type='hidden' name='quiz_start' value='1' />
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan='2'>
<a style="float:right" href="#top" onclick="return toggle_collapse('forumhome_quiz_start')"><img id="collapseimg_forumhome_quiz_start" src="$stylevar[imgdir_button]/collapse_tcat.gif" alt="" border="0" /></a>
<div>Start Quiz: {$Quiz['q_name']}</div></td>
</tr>
</thead>
<tbody id="collapseobj_forumhome_quiz_start" style="{$vbcollapse['collapseobj_forumhome_quiz_start']}">
<tr>
<td class='alt2' colspan='2' align='center'>
<if condition="$Quiz['q_timelimit'] > 0">
<span class="smallfont">You are about to start this quiz, a time limit has been set, you have exactly {$Quiz['q_timelimit']} minute(s) to complete this quiz, if you don't finish in time, the quiz will auto submit.</span>
<else />
<span class="smallfont">You are about to start this quiz, there is no time limit set.</span>
</if>
<br /><br />
<span class="smallfont">Click "Start Quiz" below when you are ready.</span>
</td>
</tr>
</tbody>
<tr>
<td class='tfoot' colspan='2' align='center'>
<input type='submit' value='Start Quiz' class='button' />
</td>
</tr>
<tr>
<td class="tcat" align="right" colspan="2"><span class="smallfont">$vbphrase[quiz_footer]</span></td>
</tr>
</table>
</form>
Style Manager -> Choose the Style to Edit -> "quiz_stats"
Replace entire template with:
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan='2'>
<a style="float:right" href="#top" onclick="return toggle_collapse('forumhome_quiz_stat')"><img id="collapseimg_forumhome_quiz_stat" src="$stylevar[imgdir_button]/collapse_tcat.gif" alt="" border="0" /></a>
<div>Quiz Stats: {$Quiz['q_name']}</div></td>
</tr>
</thead>
<tbody id="collapseobj_forumhome_quiz_stat" style="{$vbcollapse['collapseobj_forumhome_quiz_stat']}">
<tr>
<td class='thead' align='center'>
Average Score
</td>
<td class='thead' align='center'>
Submissions
</td>
</tr>
<tr>
<td class='alt2' align='center'>
<span class="smallfont">{$Average}</span>
</td>
<td class='alt2' align='center'>
<span class="smallfont">{$Done}</span>
</td>
</tr>
<tr>
<td class='thead' colspan='2' align='left'>
Submissions From (Click To View Results)
</td>
</tr>
<tr>
<td class='alt1' colspan='2' align='left'>
<span class="smallfont">{$Submissions}</span>
</td>
</tr>
</tbody>
<tr>
<td class="tcat" align="right" colspan="2"><span class="smallfont">$vbphrase[quiz_footer]</span></td>
</tr>
</table>
Style Manager -> Choose the Style to Edit -> "quiz_submit_quiz"
Replace entire template with:
<script type='text/javascript'>
<!--
Counter = 1
function PA(){
txt = "'Part-Answer' enables a more fluxuating answer check, and example would be:\n"
txt += "User Answer: in london\n"
txt += "Actual Answer: London\n\n"
txt += "This would be classed as correct with 'Part-Answer' turned on."
txt += "\n\n - This is recommended to be used for answers which contain 'one' (1) word."
alert(txt)
return false
}
function isBlank(Value){
if(!Value || Value.replace(/ /g,'') == ''){
return true
} else {
return false
}
}
function stripNQ(Data){
if(Data.match(/No Questions Currently Added/i)){
Data = Data.replace(/No Questions Currently Added/i,'')
}
return Data
}
function getAnswerType(Type){
OptA = "<textarea class='bginput' name=\"QuestionData["+Counter+"][Options]\" cols='40' rows='3'></textarea>"
AnsA = "<input type='text' class='bginput' name=\"QuestionData["+Counter+"][Answer]\" />"
AnsB = "<textarea class='bginput' name=\"QuestionData["+Counter+"][Answer]\" cols='40' rows='3'></textarea>"
AllowPA = false
switch(Type){
case '1':
Options = '<i>You do not need to fill this out for this answer format.</i>'
Answers = AnsA
AllowPA = true
break
case '2':
Options = OptA
Answers = AnsA
break
case '3':
Options = OptA
Answers = AnsB
break
default:
alert('Invalid answer format type specified')
return false
break
}
return [Options,Answers,AllowPA,Type]
}
function removeQ(Obj){
Obj.parentNode.parentNode.parentNode.removeChild(O bj.parentNode.parentNode)
if(document.getElementById('quiz_questions').inner HTML.replace(/ /g) == ''){
document.getElementById('quiz_questions').innerHTM L = "No Questions Currently Added"
}
return false
}
function wrapBuild(Build){
return "<tr><td class='panelsurround' align='center'><div class='panel'><div style='width:$stylevar[formwidth_usercp]' align='$stylevar[left]'>"+Build+"</div></div></td></tr>"
}
function clearAQForm(){
document.forms['quiz'].q_new_question.value = ''
document.forms['quiz'].q_new_type.options.selectedIndex = 0
}
function addQuestion(){
Question = document.forms['quiz'].q_new_question.value.replace(/'/g,"'") // Stop ' choke - change to HTML entity
AnsType = document.forms['quiz'].q_new_type
AnsType = AnsType.options[AnsType.options.selectedIndex].value
AnsType = getAnswerType(AnsType)
TypeText = []
TypeText[1] = "TextBox"
TypeText[2] = "Radio"
TypeText[3] = "Multi"
if(isBlank(Question)){
alert('You must enter a question!')
return false
}
Build = "<fieldset class='fieldset'>"
Build += "<legend class='legend'>Question [<a href='#' title='Remove Question?' onclick='return removeQ(this)'><b>Delete This Question</b></a>]</legend>"
Build += "<table cellpadding='0' cellspacing='$stylevar[formspacer]' border='0' width='100%'>"
Build += "<tr>"
Build += "<td>Type the question you would like to ask here. <a href='misc.php?do=bbcode' target='_blank'>vB Code</a> may be used.<input type='hidden' name='QuestionData["+Counter+"][Type]' value='"+TypeText[AnsType[3]]+"' /></td>"
Build += "</tr>"
Build += "<tr>"
Build += "<td><input type='text' class='bginput' name='QuestionData["+Counter+"][Q]' value='"+Question+"' size='25' maxlength='100' /></td>"
Build += "</tr>"
Build += "</table>"
Build += "</fieldset>"
Build += "<fieldset class='fieldset'>"
Build += "<legend>Answer Options</legend>"
Build += "<table cellpadding='0' cellspacing='$stylevar[formspacer]' border='0' width='100%'>"
Build += "<tr>"
Build += "<td>Enter the answers you would like the user to choose from here. Split each answer option with a line-break.</td>"
Build += "</tr>"
Build += "<tr>"
Build += "<td>"+AnsType[0]+"</td>"
Build += "</tr>"
Build += "</table>"
Build += "</fieldset>"
Build += "<fieldset class='fieldset'>"
Build += "<legend>Actual Answer(s)</legend>"
Build += "<table cellpadding='0' cellspacing='$stylevar[formspacer]' border='0' width='100%'>"
Build += "<tr>"
Build += "<td>Enter the correct answer(s) to this question here. Split each answer with a line-break(if applicable). What you type here must be <u>exactly</u> the same as one or more of your answer options.</td>"
Build += "</tr>"
Build += "<tr>"
Build += "<td>"+AnsType[1]+"</td>"
Build += "</tr>"
Build += "</table>"
Build += "</fieldset>"
if(AnsType[2]){
Build += "<fieldset class='fieldset'>"
Build += "<legend>Enable Part Answer For This Question</legend>"
Build += "<table cellpadding='0' cellspacing='$stylevar[formspacer]' border='0' width='100%'>"
Build += "<tr>"
Build += "<td><span style='float:$stylevar[right]'><select name=\"QuestionData["+Counter+"][QA]\" class='bginput'><option value='0'>No</option><option value='1'>Yes</option></select></span><a href='#' onclick='return PA()'>What's This?</a></td>"
Build += "</tr>"
Build += "</table>"
Build += "</fieldset>"
}
Build = wrapBuild(Build)
document.getElementById('quiz_questions').innerHTM L = stripNQ(document.getElementById('quiz_questions'). innerHTML)
document.getElementById('quiz_questions').innerHTM L += Build
Counter++
clearAQForm()
return false
}
-->
</script>
<form action="quiz.php?do=doSubmitQuiz" enctype="multipart/form-data" name="quiz" method="post">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat">Submit A Quiz</td>
</tr>
<tr>
<td class="thead">Quiz Settings</td>
</tr>
<tr>
<td class="panelsurround" align="center">
<div class="panel">
<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">
<fieldset class="fieldset">
<legend>Quiz Title</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
<tr>
<td>What would you like your quiz to be called? Use this as a <i>general</i> overview of what the quiz will be asking the user questions over.</td>
</tr>
<tr>
<td><input type="text" class="bginput" name="q_name" size="25" maxlength="30" /></td>
</tr>
</table>
</fieldset>
<fieldset class="fieldset">
<legend>Quiz Description</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
<tr>
<td>Give a brief description of what your quiz is about. Keep in mind that there is a limit of 255 characters, so if you run out of space, go back and revise your description to be more specific to what your quiz is about.</td>
</tr>
<tr>
<td><input type="text" class="bginput" name="q_desc" size="25" maxlength="255" /></td>
</tr>
</table>
</fieldset>
<fieldset class="fieldset">
<legend>Quiz Category</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
<tr>
<td>Choose what category your quiz falls under.</td>
</tr>
<tr>
<td><span style="float:$stylevar[right]"><select name="q_cat" />{$CatBuild}</select></span>
Quiz Category:</td>
</tr>
</table>
</fieldset>
<fieldset class="fieldset">
<legend>Quiz Image</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<tr>
<td>As an additional feature to the Quiz system, you are allowed to upload an image that will help users identify with what you quiz is to be about, such as if it were for a specific TV show, you could include a picture of the cast to prevent confusion with a smiliar quiz.</td>
</tr>
<tr>
<td>
<input type="hidden" name="MAX_FILE_SIZE" value="999999999" />
<input type="file" class="bginput" name="q_image" size="50" />
</td>
</tr>
<tr>
<td>Allowed Extensions: .gif, .bmp, .png, .jpg, .jpeg</td>
</tr>
</table>
</fieldset>
</div>
</div>
</td>
</tr>
</table>
<br />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="thead">Quiz Questions</td>
</tr>
<tr>
<td class="panelsurround" align="center">
<div class="panel">
<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">
<fieldset class="fieldset">
<legend>Add a Question</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
<tr>
<td>Type the question you would like to ask here. Each time you add a question to your quiz, this field will go blank so that you can add another question if you choose to do so.</td>
</tr>
<tr>
<td><input type="text" class="bginput" name="q_new_question" size="25" maxlength="100" /></td>
</tr>
</table>
</fieldset>
<fieldset class="fieldset">
<legend>Answer Format</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
<tr>
<td>Choose what format you wish your question's answers to be displayed in. The text box will allow the user to <b>type</b> in his or her answer, the radio buttons will allow the user to select only <b>one</b> answer for the question and the checkboxes will allow the user to select <b>one or more</b> of the answers that you specify.</td>
</tr>
<tr>
<td><span style="float:$stylevar[right]"><select name="q_new_type" />
<option value='1'>Single-Line Text Box</option>
<option value='2'>Single-Selection Radio Buttons</option>
<option value='3'>Multiple-Selection Checkbox</option>
</select></span>
Answer Format:</td>
</tr>
</table>
</fieldset>
<div style="margin-top:$stylevar[cellpadding]px" align="center">
<input type="button" class="button" value="Add This Question To Your Quiz" onclick="addQuestion()" />
</div>
</div>
</div>
</td>
</tr>
<tr>
<td id="quiz_questions" align="center">
No Questions Currently Added
</td>
</tr>
<tr>
<td class='tfoot' colspan='2' align='center'>
<div style="margin-top:$stylevar[cellpadding]px">
<input type="submit" class="button" value="Submit Quiz" accesskey="s" />
<input type="reset" class="button" value="$vbphrase[reset_fields]" accesskey="r" />
</div>
</td>
</tr>
<tr>
<td class="tcat" align="right" colspan="2"><span class="smallfont">$vbphrase[quiz_footer]</span></td>
</tr>
</table>
</form>
Style Manager -> Choose the Style to Edit -> "quiz_userstats_end"
Replace entire template with:
</tbody>
<tr>
<td align="center" colspan="4"><span class="smallfont">Overall Score: {$Overall}%</span></td>
</tr>
<tr>
<td class="tcat" align="right" colspan="4"><span class="smallfont">$vbphrase[quiz_footer]</span></td>
</tr>
</table>
Style Manager -> Choose the Style to Edit -> "quiz_userstats_row"
Replace entire template with:
<tr>
<td class='alt2' align='left' width='50%'>
<span class="smallfont"><b>{$Count})</b> {$Quest['q_question']}</span>
</td>
<td class='alt2' align='center' width='10%'>
<span class="smallfont">{$Result[0]}%</span>
</td>
<td class='alt1' align='center' width='20%'>
<span class="smallfont">{$User_Answers}</span>
</td>
<td class='alt1' align='center' width='20%'>
<span class="smallfont">{$Real_Answers}</span>
</td>
</tr>
Style Manager -> Choose the Style to Edit -> "quiz_userstats_top"
Replace entire template with:
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan='4'>
<a style="float:right" href="#top" onclick="return toggle_collapse('forumhome_quiz_userstat')"><img id="collapseimg_forumhome_quiz_userstat" src="$stylevar[imgdir_button]/collapse_tcat.gif" alt="" border="0" /></a>
<div>Quiz Stats For User: {$Quiz['username']}</div></td>
</tr>
</thead>
<tbody id="collapseobj_forumhome_quiz_userstat" style="{$vbcollapse['collapseobj_forumhome_quiz_userstat']}">
<tr>
<td class='thead' align='left' width='50%'>
Question
</td>
<td class='thead' align='center' width='10%'>
Correct
</td>
<td class='thead' align='center' width='20%'>
Users Answer(s)
</td>
<td class='thead' align='center' width='20%'>
Actual Answer(s)
</td>
</tr>
You can test the Inferno Quiz out yourself at my site if you wish, too(see my sig for a link).
Paul_Hollibone
09-15-2005, 11:17 PM
This may sound crazy, but from a noobs point of view, I believe I have a good question.
How do you "remove" this addition?
*engages AWOOGA subroutine*
Conflict Alert!!
Cannot redeclare pm_send (or whatever it is) when using AWS Advanced Warning hack.
I temp fixed it by adding an IF THIS_SCRIPT != 'quiz'{ wrapper to the global thing from AWS. :)
*engages AWOOGA subroutine*
Conflict Alert!!
Cannot redeclare pm_send (or whatever it is) when using AWS Advanced Warning hack.
I temp fixed it by adding an IF THIS_SCRIPT != 'quiz'{ wrapper to the global thing from AWS. :)
I have this problem but don't really understand how you fixed it? :(
freebase69
09-16-2005, 10:09 PM
I got 4 quizzes, with images, I would like to share with everyone. They are Star Wars quizzes that I think most people will enjoy. Check em out.
Laterz
-woops almost forgot. I don't know if it makes any difference but I am running 3.5 RC3. I guess they will work unless someone tells me differently hehe.
sportfishermen
09-17-2005, 02:43 PM
Hi
this quiz only allows a user to take the quiz once. is there a way that users can take the quiz more than once. i'll be using this quiz for a practice test site.
Thanks in advance.
kylek
09-17-2005, 06:54 PM
Is there any way to increase the amount of characters allowed for the questions, looks like it is set for 100 only, have some questions that cant be shortened or edited down.
Boofo
09-18-2005, 12:11 AM
Has anyone noticed on the upgrade the RC 3 that the phrase for the admin permissions in now gone? Any idea how to get it back?
Has anyone noticed on the upgrade the RC 3 that the phrase for the admin permissions in now gone? Any idea how to get it back?
No changes since I upgraded to RC3, all seems to be working as it did before upgrading .. just uploaded another 4 quizes !
amykhar
09-18-2005, 01:00 AM
I haven't noticed any missing phrases. Of course, my installation can barely be called Inferno Quiz anymore.
Andreas
09-18-2005, 01:05 AM
Jelsoft introduced new phrasegroups with RC3, so this might be an issue (Phrases in Phrasegroups that are not longer being loaded).
Boofo
09-18-2005, 01:23 AM
Does anyone have the phrase name and settings so I can re-add it? I couldn't find it in the files for the mod. It seems to only be the Admin Permissions phrase for some reason.
peterska2
09-24-2005, 08:38 PM
I just thought I'd share some of my quizzes with you lot.
They are a bit of a mixed bag.
Zip includes:
UK Driving Theory Test
Simpsons Quiz (Brand new just this minute created it!)
Mythology
Man-made Wonders
1980's Song Lyrics
Feedback always good.
stan111
09-26-2005, 02:11 PM
I just thought I'd share some of my quizzes with you lot.
They are a bit of a mixed bag.
Zip includes:
UK Driving Theory Test
Simpsons Quiz (Brand new just this minute created it!)
Mythology
Man-made Wonders
1980's Song Lyrics
Feedback always good.
thanks a ton peterska2
that is very nice of you
is there any place i can look for quiz like this ?
thanks in advance
Gizmo5h1t3
09-26-2005, 03:15 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
get this with the driving theory test quiz????
peterska2
09-26-2005, 05:42 PM
get this with the driving theory test quiz????
You shouldn't do. PM me your email and I'll send you another copy.
thanks a ton peterska2
that is very nice of you
is there any place i can look for quiz like this ?
thanks in advance
I just google Quiz or "[subject] Quiz" then spend the next 15-30 mins inputting all the data. It's easier to create as a submission then approve via the ACP then input direct into the ACP though.
amykhar
09-26-2005, 07:23 PM
Are you saying that you are plagiarizing the quizzes that others work hard to create?
I just google Quiz or "[subject] Quiz" then spend the next 15-30 mins inputting all the data. It's easier to create as a submission then approve via the ACP then input direct into the ACP though.
peterska2
09-26-2005, 07:40 PM
I have started making one of my own. I just haven't finished it yet.
amykhar
09-26-2005, 08:02 PM
And that justifies stealing somebody else's?
TheComputerGuy
09-28-2005, 03:08 AM
And that justifies stealing somebody else's?
lmao...
I have a great one about desperate house wives...
I'm sorry..just joking.
amykhar
09-28-2005, 07:21 PM
Here is some open source trivia that you guys may freely use to create quizzes:
http://www.opentrivia.com/
Boofo
09-28-2005, 08:02 PM
Can anyone help me with the missing admin permissiona phrase (post 125)?
VaaKo
10-01-2005, 06:47 PM
any screenshots or demos?
soniceffect
10-01-2005, 06:57 PM
Loads on the original thread on VB3.07 version .. is the same just ported over for 3.5
https://vborg.vbsupport.ru/show...&threadid=80780
TruthElixirX
10-01-2005, 11:17 PM
Error. Not sure if it is you or the AWS hack. The two don't seem to get along."
Fatal error: Cannot redeclare sendpm() (previously declared in /home/httpd/vhosts/supportcore.org/httpdocs/testvb/quiz.php:139) in /home/httpd/vhosts/supportcore.org/httpdocs/testvb/includes/functions_warning.php on line 23
ZT, will you export this as a product?
trilljester
10-03-2005, 05:05 PM
Question about this mod: How do you check/know if the people taking the quiz aren't using Google to get all the answers? I guess it's an honor system for the most part.
I'd probably use this to write a Mensa quiz or something. Does anyone have examples of their quiz system using something besides trivia that can be looked up on Google?
jribz
10-03-2005, 05:06 PM
Question about this mod: How do you check/know if the people taking the quiz aren't using Google to get all the answers? I guess it's an honor system for the most part.
I'd probably use this to write a Mensa quiz or something. Does anyone have examples of their quiz system using something besides trivia that can be looked up on Google?Stand behind them while they take it. :ermm: Yeah there would be no way to know this.
trilljester
10-03-2005, 05:08 PM
Unless you make a quiz that using Google wouldn't help much, like an IQ test.
Boofo
10-04-2005, 12:08 AM
Question about this mod: How do you check/know if the people taking the quiz aren't using Google to get all the answers? I guess it's an honor system for the most part.
I'd probably use this to write a Mensa quiz or something. Does anyone have examples of their quiz system using something besides trivia that can be looked up on Google?
That's what the time limit on taking a quiz is for. Set it at 2 minutes and they don't have enough time to look up all the answers. ;)
Ebolender
10-04-2005, 03:45 AM
Thank you so much for the upgrade. Everything worked just fine. :glasses:
q8-star
10-04-2005, 11:59 AM
I am wondering whether i got the above error..because i didnt do the following as per instructions :
Next, CHMOD the following files/folders to '0777':
includes/
includes/settings.quiz.php
images/
images/quiz/
What is meant by CHMOD? and 0777 ? can someone please help there... I did not really understand what was being said..
Thanks
You obviously used an FTP to upload the files .. right click on the folders / files listed by the install which need chmod 777 and select properties, you should see a numeric value .. you need to change that value to 777
I think this feature is for UNIX ,but the server I'm working with is windows .Now will that be of a problem as the steps is irrelevant ...???
One more thing ,it doesn't seem that phrases have been used here .I know I will have a heart attack trying translate all that :tired: .
Bubble #5
10-04-2005, 05:56 PM
When a person is done taking the quiz, would there be any way to have it output the correct answers in green, and the wrong answers in red?
Allan
10-04-2005, 06:10 PM
work with vB 3.5 ? no update ?
trilljester
10-04-2005, 06:37 PM
That's what the time limit on taking a quiz is for. Set it at 2 minutes and they don't have enough time to look up all the answers. ;)
Ooh, I like it. I might have to try this out. :glasses:
Mr_Bob
10-04-2005, 10:28 PM
work with vB 3.5 ? no update ?
Yes, could this be updated to be in a product file as to not have to run an installer and just upload the files and one plugin? This looks really awesome and I have a few plans for it, but I want to be certain it is gold compatible.
q8-star
10-06-2005, 05:45 PM
I am wondering whether i got the above error..because i didnt do the following as per instructions :
Next, CHMOD the following files/folders to '0777':
includes/
includes/settings.quiz.php
images/
images/quiz/
What is meant by CHMOD? and 0777 ? can someone please help there... I did not really understand what was being said..
Thanks
I think this feature is for UNIX ,but the server I'm working with is windows .Now will that be of a problem as the steps is irrelevant ...???
I got error message when tried to delete photo from a quiz ,this is the message:
Unable to delete image - Please check it exists and CHMOD permissions are set to 0777.
SO what should I do now ....???
trilljester
10-06-2005, 06:35 PM
For Windows, you need to check the Security tab on the folder where the images are being uploaded. Make sure that the Web server process can write to the directory that the images are being uploaded.
FYI: Chmod is a way of setting permissions on Unix systems. chmod 0777 (the 0 can be excluded to make it easier for you to understand), means that everyone and their brother has access to the folder and/or file. Permissions can be set by permission masks, where 7 is full access and 0 is no access. Each number is a position of the permission mask. First number is for the USER, second number is for the GROUP, and the last number is OTHER or EVERYONE. (Anyone who's not in your group and not the user who owns the file/directory). So, chmod 777 means the file can be read/written/deleted/executed by anyone on the system.
It's a little confusing at first, but once you start using it more, you understand it. I can explain it a little more in depth, but it's beyond the scope of this forum.
Annie^.^
10-06-2005, 08:06 PM
Couple of problems.
When I set user permission ins the main admin control of quiz it doesn't see it in the quiz, because each time I submit a quiz it requires me to set the persmissions (allow, deny) in each quiz. Plus the pictures doesn't show up beside the quiz (chmod 777) :nervous:
mcyates
10-07-2005, 03:26 PM
i get this error:
Fatal error: Cannot redeclare sendpm() (previously declared in /home/myfootba/public_html/quiz.php:139) in /home/myfootba/public_html/includes/functions_warning.php on line 23
mcyates
10-07-2005, 03:37 PM
it works fine whent he AWS is disabled.
echee
10-10-2005, 08:21 AM
wow this is amazing stuff! Exactly what I need! Thanks ZT! Can I ask whether your code allows for every quiz question to be displayed on its own page (ie: 1 page per question)?
swantonio
10-10-2005, 08:53 PM
help
error vbulletin 3.5.0 gold
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
10-12-2005, 02:37 AM
A bit off topic for this thread, but since we just discussed quiz plagiarism a few posts back, I must note that I am FUMING mad. A large news site lifted verbatim from two of my quizzes and paraphrased the other questions based on my work.
I half expected it from 13-year old webmasters, but this is a BIG site.
Amy
Sooner95
10-12-2005, 12:07 PM
damn Amy, that sucks..
Is this version good for 3.5 Gold? seems to be some issues, would it be best to wait for an updated version of this? My members would really get a kick out of it..
swantonio
10-12-2005, 05:30 PM
thanks I hope that decoy soon a refresh... and the error as it is explained?
www.alfisti.net
10-15-2005, 11:42 AM
Hi,
I like this hack :) But to use I need images for each question.
I found a solution to use bbcodes in the questions. OK, but they don?t work like the bbcodes in a normal post. IMG only display a link to the imgage, not the image itself.
I created a own bbcode with a BR to brake the line between question and image and it also don?t work :(
What must I do to let own bbcode running in this hack?
Thanks
Andr?
theodonnells
10-16-2005, 11:10 AM
I am also getting this error message after finishing quiz and submitting answers. Any ideas?
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
Rabbitoh Warren
10-16-2005, 01:25 PM
What do I need to edit to change the path to the quiz images dir?
VaaKo
10-17-2005, 09:04 PM
is it still on BETA 1?
amykhar
10-18-2005, 12:26 AM
The hack is not beta 1. It was released when vbulletin 3.5 was beta 1. It still works.
Sooner95
10-18-2005, 01:06 AM
installed, so far so good. Thx!
Chris Croft
10-18-2005, 01:08 PM
Ok, I also have the Advanced Warning deal installed, and I'm getting this error when trying to go to the quiz:
Fatal error: Cannot redeclare sendpm() (previously declared in /home/chrisbay/public_html/Forum/quiz.php:139) in /home/chrisbay/public_html/Forum/includes/functions_warning.php on line 23
So I went into quiz.php and deleted the PM thingy because I didn't feel that I really needed that portion of it, but then it also made me delete the RunError... So now it doesn't work. So put it all back together, and I'm back to square one. lol Any ideas?
And I noticed a previous post with the same problem, but the only solution to it was to disable AWS, which is a crutial program on my website...
So is there an alternative solution?
amykhar
10-18-2005, 01:59 PM
Yes. Change the name of the conflicting functions in one of the mods AND change the calls to them to use the new names.
MarsNIIT
10-21-2005, 11:03 AM
An error has occured, the following message has been left below:
You have already taken this quiz.
I need 1 people can test many times :D, please help me.
And how to any member can post quiz but don't need wait admin confirm.
Thanks.
guvner
10-23-2005, 01:38 AM
help
error vbulletin 3.5.0 gold
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 758I was getting this error as well with a large (35 question) quiz I created and what fixed it for me was the changing the default setting under (VBulletin Options) for the maximum number of characters allowed in PMs.
Try changing it to no limit (0) and see if it works for you.
Mike :)
Omranic
10-23-2005, 06:56 PM
thanks man very very much
its very good
but there is a sentence missing in one templete
It is the templete (quiz_cat_row_none) look No Caegories Are Currently Available
missing the letter (t) :)
TheComputerGuy
10-25-2005, 08:16 PM
Does this thing allow you to have a quiz...and fill it out and you show the results...like
If you answer a certain number of A's you are result A..or so on?
Parture
10-27-2005, 03:17 AM
<a href="http://biblocality.com/forums/quiz.php?" target="_blank">http://biblocality.com/forums/quiz.php?</a>
Why doesn't the picture show up for the WWII pic?
Parture
10-27-2005, 10:00 PM
I figured out the problem. When a quiz picture is loaded it gets loaded to your forum directory images quiz folder, but when you take the quiz it loads the quiz picture from the images folder that is above your main directory above the forums. How do we fix that?
moonclamp
10-27-2005, 10:40 PM
Is there a way for members to submit quizzes that do not have to be moderated and have default usergroup permission to access them?
Hoffi
10-28-2005, 01:25 PM
I am missing the function to start a quiz at a special Date.
The Background is, that I plan to create an advent Calendar for my Users, where they can win Prizes every Day. And the Questions should not be visible before the day starts.
theodonnells
10-28-2005, 08:55 PM
error vbulletin 3.5.0 gold
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 was getting this error as well with a large (35 question) quiz I created and what fixed it for me was the changing the default setting under (VBulletin Options) for the maximum number of characters allowed in PMs.
Try changing it to no limit (0) and see if it works for you.
Mike :)
This worked for me too Thanks.....
Bounce
10-28-2005, 10:19 PM
Brilliant :rolleyes:
Casperddc
10-29-2005, 02:41 PM
I finally started making my own quizzes and am went into 'Moderate Quiz Results' and am getting this for some members:
Warning: in_array(): Wrong datatype for second argument in /includes/engine.quiz.php on line 540
Warning: in_array(): Wrong datatype for second argument in /includes/engine.quiz.php on line 540
Warning: in_array(): Wrong datatype for second argument in /includes/engine.quiz.php on line 540
Warning: in_array(): Wrong datatype for second argument in /includes/engine.quiz.php on line 540
Warning: in_array(): Wrong datatype for second argument in /includes/engine.quiz.php on line 540
Warning: in_array(): Wrong datatype for second argument in /includes/engine.quiz.php on line 540
Warning: in_array(): Wrong datatype for second argument in /includes/engine.quiz.php on line 540
Warning: in_array(): Wrong datatype for second argument in /includes/engine.quiz.php on line 540
Warning: in_array(): Wrong datatype for second argument in /includes/engine.quiz.php on line 540
Warning: in_array(): Wrong datatype for second argument in /includes/engine.quiz.php on line 540
Warning: in_array(): Wrong datatype for second argument in /includes/engine.quiz.php on line 540
Some answers were put in. but some were blank. There are registered members that didn't get this error when I looked up the results, but some did - any reason?
Lea Verou
10-30-2005, 02:37 PM
Installed, thanks! :)
Some feature suggestions that I really need:
-phrases!! It's a pain in the @ss to translate it! I still can't find how to translate the pms sent.
-image max and min resolution so that the listing looks nice :)
dookie
10-30-2005, 04:44 PM
Terrible without phrases! :(
There are a few more languages in the whole wide world...
Great Hack ... for english speaking users ...
Lea Verou
10-30-2005, 06:13 PM
Terrible without phrases! :(
There are a few more languages in the whole wide world...
Great Hack ... for english speaking users ...
You can translate most of it from the templates, its not very difficult, just takes time :)
amykhar
10-30-2005, 06:41 PM
So, phrase it for him and attach it if you think it needs to be phrased. That can be your contribution to the place, dookie.
Amy
Lea Verou
10-30-2005, 06:50 PM
So, phrase it for him and attach it if you think it needs to be phrased. That can be your contribution to the place, dookie.
Amy
Do you find it necessary to be so impolite? I wasn't moaning about it, I just suggested. :(
amykhar
10-30-2005, 06:53 PM
I wasn't replying to you ;) I was replying to the person who asked for the phrases. And, I don't think suggesting that the person do it and share the work if it's something worth having is impolite. This is supposed to be a community effort after all ;)
Snake
10-30-2005, 07:09 PM
Hey ZT, where are you man? I'm hoping to see some major updates to this hack. Can't wait. ;)
Lea Verou
10-30-2005, 08:08 PM
I wasn't replying to you ;) I was replying to the person who asked for the phrases. And, I don't think suggesting that the person do it and share the work if it's something worth having is impolite. This is supposed to be a community effort after all ;)
I just thought that the way you told it was a bit rude, mainly because I haven't noticed that his nick was actually dookie so I thought you were calling him names lol :p
btw will your modifications for the quiz work in this version? :)
amykhar
10-30-2005, 08:12 PM
With some changes, yes they will work.
Lea Verou
11-01-2005, 01:12 PM
Amy can you please give me some guidelines (raw code is also acceptable! :p :p) of how to make this store the userid and display the username (display username from userid w/o additional query if possible :nervous: )
Thanks in advance! :)
amykhar
11-01-2005, 02:30 PM
I simply added two columns to the quiz table. One for userid, the other for username. At the time of quiz creation, I insert the author's userid and username in the table. No added queries.
At display time, I pull both userid and username and set up the link. Again, no added query because it's in the quiz table and is pulled when the quiz title, etc. are pulled.
Amy
Lea Verou
11-01-2005, 02:35 PM
Yep, but what happens if the username is changed? This way it would need manual updating, if I understood you well...
swantonio
11-01-2005, 03:04 PM
I was getting this error as well with a large (35 question) quiz I created and what fixed it for me was the changing the default setting under (VBulletin Options) for the maximum number of characters allowed in PMs.
Try changing it to no limit (0) and see if it works for you.
Mike :)
it is not changed
:disappointed: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
the problem persists alone with it puts into effect records them to you and not with the new ones
amykhar
11-01-2005, 03:09 PM
Yep, but what happens if the username is changed? This way it would need manual updating, if I understood you well...
I don't allow username changes on my site, and because I'm not releasing my quiz mods, I can write to suit my own needs ;). You could always just add only the userid, but that would mean adding a left join on the query to pull the quizzes so that you could get the username too.
Amy
Lea Verou
11-01-2005, 04:52 PM
I don't allow username changes on my site, and because I'm not releasing my quiz mods, I can write to suit my own needs ;). You could always just add only the userid, but that would mean adding a left join on the query to pull the quizzes so that you could get the username too.
Amy
I'll probably do it that way...
Can I please have a look at your code? I'm now learning php so it will be quite difficult for me to figure it out without any help... :nervous:
amykhar
11-01-2005, 05:25 PM
My code wouldn't help you. Sorry. I have way too much other stuff going on.
Amy
Parture
11-05-2005, 10:50 AM
How do I properly uninstall the quiz?
Database error in vBulletin 3.5.1:
Invalid SQL:
drop table vb_quiz;
MySQL Error : Unknown table 'vb_quiz'
Error Number : 1051
Date : Saturday, November 5th 2005 @ 04:47:17 AM
Snake
11-05-2005, 04:08 PM
Looks like the hack ain't working on 3.5.1. I don't know but you gotta wait until ZT is done with Inferno.
C.Birch
11-05-2005, 05:20 PM
It works for me in 3.5.1
in reply to post number 196
the error is due to you missing the vb_quiz table from the database.
Hoffi
11-05-2005, 09:41 PM
I am missing the function to start a quiz at a special Date.
Is this Planned in a future Version?
amykhar
11-06-2005, 02:00 AM
It works just fine for me in 3.5.1 as well - even with all my tweaks.
Parture
11-06-2005, 03:13 AM
We are unable to uninstall the quiz. I have 3.5.1. We should be able to unistall this, but now it is stuck on our systems. Is this going to get resolved anytime soon?
dookie
11-06-2005, 05:27 AM
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
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
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!
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?
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
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
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:
// ---------------------------------------------------
// 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
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 $vboptions[bburl] in the quiz.php and Replace with $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
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:
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:
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
Hello..
Its really a nice extension..this quiz..
but we are facing a worst problem...seemed everything keep running well..
Still can play a quiz by clicking "Take a Quiz"
After replying while trying to submit the score...it returns with an error message :disappointed:
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
Some time it says probs on line 352
How could we solve it....We need help urgently....Plzz
Thanks
--------
Zia.
chairman miaow
12-22-2005, 02:00 PM
I think that error occurs with a large quiz - you have to change the default setting for the maximum number of characters allowed in PMs (under vBulletin options) - change it to 0 - no limit
I think that error occurs with a large quiz - you have to change the default setting for the maximum number of characters allowed in PMs (under vBulletin options) - change it to 0 - no limit
let me do it...n i will let u know the result..
bashy
12-22-2005, 03:15 PM
Hi
I have set PM caracters to 0 and i now have NO more errors when
posting the score results to PM
Thanks guys
Bashy
ReadOrDie
12-22-2005, 04:10 PM
Database error in vBulletin 3.5.0:
Invalid SQL:
select * from quiz where q_state=1 order by qid desc limit 0,1;
MySQL Error : Table 'VBGaia.quiz' doesn't exist
Error Number : 1146
Date : Thursday, December 22nd 2005 @ 10:09:45 AM
Script : http://www.gaiaevolved.com/forum/quiz.php?
Referrer : http://www.gaiaevolved.com/forum/online.php
What does this mean?
docvader
12-22-2005, 04:43 PM
HI gang
I haven't had much luck upgradiing from the vb3.0x version of this wonderful hack, so, I was thinking about just wiping the quiz databases from my upgraded 3.52 board, and reinstalling the hack fresh.
Can anyone suggest the queries necessary so that I can install this hack fresh?
Thanks!
rich
ReadOrDie
12-22-2005, 04:48 PM
Help me on my database error!
ReadOrDie
12-22-2005, 05:04 PM
nvm i accidently didnt read the top of the readme everythings fine now :D
ReadOrDie
12-22-2005, 05:13 PM
Im trying to edit the questions to change what type of question they are likne single lined etc...but i cant...
Lea Verou
12-24-2005, 01:49 AM
I have a problem with the quiz images. When the user tries to upload an image for the quiz everything seems fine but nothing is uploaded :confused:
I've CHMODed the appropriate folders to 777 but no luck :(
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.