![]() |
Here's a quick and dirty mod to PM the person of your choice when a quiz has been submitted and is ready for review.
In quiz.php Find: Code:
header("Location: quiz.php?sub=1"); Code:
$PM = "A quiz has been submitted for review."; |
First of all i must say ...
ZT & Inferno Quiz ROCKS !!!! Thank You !!!! Quote:
Quote:
And Lastly, a member should have the facility of taking the same quiz more than once. This is a must be there feature in my view. Thanks and Best Regards |
It would appear that error is caused from the answer not being an array for some form of reason. You can change on line 540 of engine.quiz.php this:
PHP Code:
PHP Code:
- Zero Tolerance |
Feature requests for the next version:
I love the quiz system, but I find two things tiresome. 1. When I create a quiz and start adding questions to the quiz, I don't like having to select the quiz from the dropdown each time I add a new question. Is it possible to store the name of the latest quiz that a question was added to, and remember that value in the dropdown for subsequent question additions? Then, if I need to change quizzes, I can but for those of us who generally add 10 or more questions at a time to the same quiz, we won't have to keep making that selection, which gets cumbersome once you have a significant number of quizzes. 2. If possible, allow us to set default permissions for taking quizzes and viewing the stats of quizzes. Then, we can use the default settings for most quizzes, but adjust for special quizzes that we want to restrict to certain user groups. I'm willing to do the coding and send it to you if you are busy or need help. The only reason I make the suggestion here is that I am trying to keep my own private version from making two many forks from your standard. Also Zero, give me a yell if you want my code to have quizzes show who wrote them, allow quiz authors to take their own quiz multiple times without showing their score, and to show a "Quiz already Taken" message for people who have taken a given quiz instead of the Take Quiz link. Amy |
I installed this hack and love it, however I use the quiz for contests for prizes. So it is hard to see what peoples scores are so i modified the quiz.php so it sorts the usernames and shows the %. Making it easy to see who the top Members are.
I hope this isn't against the rules if it is just delete the post Modify the SQL statment to order the results by score so the highest scores are listed at the top. Code:
// Get All The Results Code:
$Results[] = "<tr><td><a href='quiz.php?$session[sessionurl]do=UserStat&userid={$Result['r_userid']}&id={$Quiz['qid']}'>{$Result['username']} |
Quote:
|
And yeah i forgot to thank you for Quiz Packs... Thanks !!!!
|
For those of you who downloaded my dead or alive quiz, you need to remove the Eddie Albert question or change the answer. He died this weekend.
Amy |
r.i.p.
updated :) |
Here's a little mod that some of you may find useful.
Right now, whenever you add a quiz question, the dropdown box comes up to the first Quiz in the list. This little mod makes the dropdown remember the last quiz that you added a question to. The next time you add a question, the dropdown list of Quizzes will be set to that last quiz. |
I hacked up a quick CMPS module for y'all. The screenshot I've provided does NOT look like the code I've given you. My quiz code stores the quiz's author's name and userid. The default Inferno Quiz does not. So, the version I have uploaded shows only the title of and link to the latest quiz.
|
And, one more quiz for y'all. This one is on the U.S. Memorial Day holiday.
|
Thanks for this hack. Installed !
I have one small question, the last step on your instructions said: CHMOD the following files/folders to '0777': includes/ images/ Is is neccesary ? Thanks |
Quote:
|
Another Mod. This one improves the Who's Online Page to show which quiz the viewer is taking or which stats the user is viewing. This borrows heavily from the ibproarcade hack.
Amy |
Great hack,
I saw this question on page 16 but didn't see any response. Is there an option for retaking a quiz? It would be nice for some sort of time option aswell. ( Time between taking a quiz a second time). Jaks |
Thanks amykhar for these useful hacks... :)
|
I modified this to work with vBa. Borrowed heavily from tcs random arcade hack.
https://vborg.vbsupport.ru/showthrea...184#post660184 |
Nice addons Amy. :)
|
Quote:
|
any chance so guests can view only?
|
Yes. In the Quiz Template, remove the if clause that prohibits Guests from viewing. Then, set each quiz so that Guests may not take the quiz.
|
Quote:
I had a slight problem with this mod in that it put a bunch of commas above the result table. To solve that, I changed: Code:
$Submissions = implode(",",$Results); Code:
$Submissions = implode(" ",$Results); |
When I click submit at the end of a quiz I always get the "You have already taken this quiz" error.
It also takes about 5 minutes to come back with results. I just installed it and I know I haven't taken them yet, any ideas? |
Quote:
|
Just what I downloaded from the first post.
|
Great Hack.
I have one suggestion, There's a big way to cheat this Quiz system, user can Take The Quiz. And when it show up, they can remember / copy/ print all the questions out and close the browser. At that time, they have all the questions, and the system won't show that they took the quiz. I used this hack for award prize, so ... it's a big problem for me... if it is so easy to cheat like this. Anyway to make it, if they see it, then they can't take it again ? Or, make it where the user close the browser then it will pop up an error like : You haven't finish the quiz, are you sure you want to quit ? ... or we will only grade what you have done so far if you close the browser ......... ? |
Quote:
|
Well I use it for contests to but I make it so they can not see the answers to the quiz when completed. I don't want them giving all the answers away to other members.
|
This is what I consider a bug-fix. Y'all may consider it a mod. Either way, it changes how quizzes are scored.
Right now, if you take a quiz that has questions with multiple correct answers, it is possible for you to score higher than 100% on the entire quiz. This change fixes that. (This is because the old version checked all the actual right answers, but didn't keep a count of the possible number of right answers) |
Ok, this looks awesome! I am gonna try it out tonight. A Ucash addon would be even 'mobetter'
|
Quote:
I get this exact same problem any ideas people. |
Quote:
|
Another mod for lazy admins like me. I love the ability to set usergroup permissions on a per-quiz basis. I HATE having to put them in using the javascript interface every time I add a quiz. Most times, I want the same usergroups to be able to use most quizzes.
So, I hacked this up to save me time. It's not pretty like Scot's javascript, but it gets the job done AND it maintains the ability for me to edit a quiz and change the permissions for a specific quiz. Change the default usergroups to suit your needs. Obviously, mine won't work for you. Amy |
Quote:
Sorry for the delay. |
Quote:
By the way, you didn't change the Eddie Albert question. He died last month :D |
Quote:
Must be an IE thing, I had a problem with IE and vBChat as well. After a bout a month it was figured out. I don't know how this could relate though. Maybe have to look at what function happens when you click the submit button. I'm going to try one of yours with IE and see what happens. I know yours is way modded, but just to check. Thanks for looking, it figures it's an IE thing. PS - I know he died, but I've been lazy. Dennis EDIT: Okay, it works fine on yours. Which means I screwed something up. Damnit!!! |
Okay, I took one of mine. After about 4 miutes of waiting I just hit stop and went to view the scores. The score I submitted was there, but the page had never come back.
Any ideas on what could cause this? |
Try optimizing your database. Also, try pinging your server from your isp and see if you are lagging somehow. It sounds like it's timing out on you for some reason, and it shouldn't. It's a really simple function that does the submit. How does it behave on your site with firefox? I'm pretty much stumped because I don't see the problem happening.
Amy |
Here's a King of the Hill quiz. How about sharing some of yours if you have an original one?
|
All times are GMT. The time now is 03:55 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:
|