![]() |
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 756
anyone know how to solve this? |
Does this work with 3.6.X ?
Is there an option to pay/donate for an unbranded version? :bunny: |
It seems to be working in 3.6. I haven't had time to really test it. Feel free to go to my site and take a quiz to see. (you don't have to register at my site to take quizzes. I've hacked it to work for guests)
|
OK thanks for that. Unfortunately this mod doesn't have several very important features that are needed, and Zero Tolerance doesn't seem to be around anymore to add them, so we can't use it :(
|
sure you can :D It didn't have several features I needed either. I just added them myself. Webmonkey is a great place to learn the basics of php and nothing teaches you coding better than doing something to a mod that you really need and want. ;)
|
Quote:
|
OK, I've been reading this thread for the past 5 hours now, been over it several times while I've been working on the quiz.
I think the original quiz was done brilliantly, it's just a shame that it hasn't been updated in so long. Most of the comments here are from people who couldn't get it to work because of some simple error that could be easily fixed. Most of the suggestions here actually sounded like really good ideas, so I'm currently working on getting some of them up and running. I've used: The 'product-infernoquiz.xml' file posted by mtha (Post #212) The template changes suggested by y2krazy (Post #114) as the basis of my changes. I've also used many of the comments to fix the bugs (apart from those caused by 'user error'). I stress that I'm only doing this for myself, I'm adding features I think I may use or my members might find useful. But I figure it would be unfair not to share all that with everyone else here, I may even get someone inspired to continue working on it. New Features I am working on * I've already added a 'True/False' question type which works perfectly. * Send a PM to admin when a new Quiz is submitted, already working. It shows the name of the quiz, the description, the image and contains a direct link to the Moderate Quiz Submissions page in AdminCP. This should also have 2 settings: 1) Send a PM to admin when new Quiz is submitted (On or Off) 2) Username(s) to receive notification? (may or may not do this) * Control over how the questions are ordered (thanks Bubble #5 for this idea!) When you create a quiz, I'm going to try to add a select box to choose how the questions should be ordered: -First->Last (Currently forced to this) -Last->First (Should be easy enough) -Random/Shuffled (To make cheating harder) * When creating a quiz, allow/disallow users from taking the test more than once. * Control over how scores are kept, a setting in AdminCP -Percentage (eg 10 questions, 5 correct, 50% score) -Points (eg 14 questions, 8 correct, 8 point score) This has to be sitewide, rather than per-quiz, to ensure the Overall Leaderboard works correctly. * Explanation of Answer option for each question, an optional textbox that allows the Quiz author to elaborate on the answer and explain why it is correct. I will try my best on this, but it doesn't sound terribly complex. * Who is Online page should display that the user is on the Quiz section, rather than just 'Unknown Location' as it currently does. * Maximum Question Length setting, currently locked to 100 characters but should be a user-defined setting. * A vBulletin Options settings page for this quiz, because I see quite a few settings being required. Here are some screenshots of how it's turned out so far, the layout itself is all thanks to y2krazy, but you can see some of the features I've added. Creating true/false question Attachment 49512 PM Notification of new Quiz Submission (includes direct link to AdminCP at bottom) Attachment 49513 Taking the test with a true/false question (layout thanks to y2krazy) Attachment 49514 Quiz Results PM Attachment 49515 Quiz Stats for above test Attachment 49516 I guess the ultimate goal here is to add all these features, get it working and stable, and make sure the installation is as simple as: 1) Upload files 2) CHMOD images folder (nothing else) 3) Import Product 4) Configure 5) Add link to navbar I'm working on a local server, my changes are still fairly unstable, and there's a lot to go, but I need this thing working properly before I unleash it on my 10,000 or so forum members, so I will try to post as I work on it. If anyone with good knowledge wants to contribute code or ideas, go right ahead (you can PM me if you like). Anything to save me some time would be most appreciated :) |
would be cool to get this updated and /or a new RLS? this was a great start, but so much more can be done with it.
|
Quote:
I guess it might need a new thread. Keeping track of bugs might be easier that way. It also would mean we can confirm it works with 3.5.4 and list it that way. Bubble #5 suggested I try to get it working with 3.6.x, which I might do when it's finished. It would only save time later on when we have to upgrade to the new version. At the moment I'm just trying to clean up all the code. I've made some SQL and template changes, including: -Renaming the db tables to infernoquiz_* (eg vb_infernoquiz_submissions) -Renaming the templates to infernoquiz_* (eg infernoquiz_leaderboard_end) -Grouped the templates under "Inferno Quiz Templates", for neatness I was finding it very hard to work with the other way: Custom Templates -QUIZ -quiz_cat_end -quiz_cat_row etc... Now it looks like this: Attachment 49538 And I always prefer to keep the name of the product in the db tables. The actual table structure is the same as before, and I'm hoping too many changes won't be required. |
Whoa sexy man! Is this going to be for 3.5.x or 3.6.x?
|
Quote:
So hopefully both :) By the way, installation AND uninstallation of the product work perfectly now. That was hard work :p Also, the Who is Online page used to be: Unknown Location /forum/quiz.php Now it is: Browsing Quizzes Inferno Quiz Any suggestions on how to word that better? Browsing is the only word I could think of that covers just about anything you can do in the quiz section. |
Well you could try "Viewing Quizzes" since most of the vBulletin system refer as "viewing". ;)
So bbcentral, when do you intend to release it? |
Quote:
I've just added the setting for disabling Private Messaging of the results. So now it just displays the results on the page instead of sending them via PM. Also, if a quiz author says they will let people take the quiz more than once, it will only save the results if the score is higher than the previous time, or if they haven't taken the quiz yet. And you can control how big the questions can be too, the default is 100 characters. I guess the downside is that you'll have to paste a long question in a single line text box, rather than a multi-line textarea. Should be ok for 90% of people, only a problem for people who allow full paragraph questions :p |
Another screenshot.
This is the results screen after you complete a quiz. Attachment 49581 And this is the NEW Inferno Quiz Settings page that I've added. I don't like the idea of the script modifying a settings.inc.php file (hence the need to CHMOD that folder). Attachment 49582 It's coming along nicely. |
One more screenshot, of the PM received upon completing a quiz (if enabled in AdminCP)
Attachment 49583 Also, it's looking like it will just be too much work to give a choice between Points and Percentage. I may try another time, but it probably won't be an option when I first release this. The percentage code is buried all the way through the system. I would have to completely rewrite all this to switch it over to Points, and if Percentage is enabled then it just calculates: (Number of Points / Number of Questions) * 100 to give you the percentage. Trying to turn a percentage back into points is a headache (and bad programming), especially for questions that have multiple answers. Also there's some neat 'cheat protection' built in, which I've managed to improve upon (it wasn't scoring properly) Question: What words contain the letter 'A': 1) Hello 2) Water 3) Night 4) Mechanic 5) Award 6) Juice So you can see that 3 of those answers are correct. To get 100% you need to choose those 3 answers, and ONLY those 3. Answers: 1) Hello 2) Water 3) Night 1/3 gives you 33% 2) Water 4) Mechanic 6) Juice 2/3 gives you 66% 2) Water 4) Mechanic 5) Award 3/3 gives you 100% 2) Water 4) Mechanic 5) Award 6) Juice 3/3 gives you 100%, but you choose 1 too many answers, so you get 66% 1) Hello 2) Water 4) Mechanic 5) Award 6) Juice 3/3 gives you 100%, but you choose 2 too many answers, so you get 33% 1) Hello 2) Water 3) Night 4) Mechanic 5) Award 6) Juice 3/3 gives you 100%, but you choose 3 too many answers, so you get 0% This should handle every possible combination :) |
bbcentral, if it's going to use this code, you cannot start a new thread with your release without the original author's permission.
|
Quote:
I think now I just have to get the admin panel working properly to handle the new field, and also fix some of the bugs. I keep getting an 'invalid date' error when I allow a submitted quiz, something to do with the unix timestamps being used. Not sure of the best way to handle the image uploads, I think for now the administrator can just save and resize uploaded quiz images themselves, if they are too big. Might have a zip file for people to try out sometime soon. I'd also like to remove the need for legacy functions in this. I know ZT was planning to do it (his comment says he'll get to it eventually), but I might as well have a go at it. |
Great Hack! TY!
Anyone have any quiz exports they'd like to share ;) Clicks installed |
Quote:
|
ROFL! Let me go stop my three kids from killing each orher and Ill get right on that ;) heheTY
Also, looking forward to your update! the true false is a awesome add to this hack...Also. is there anyway we can phrase bb code in the questions? Like the the actual Q asks who is this a picture of with multi answers :) This is a feature I need :) |
The picture being rendered with img bbcode.
I also like the idea in post #229 :) |
I think adding BBCode to the questions should be ok.
Let me try it.... Attachment 49636 Looks like it already supported it! (Good work ZT!) The idea in #229 is a good one, but it's not something I have time to put in. The scoring system is too complex. I'm just trying to add some basic features I need, and make sure it works properly. Hopefully if ZT gets back on it, he can continue from what I've done. |
Looking good bbcentral :) Here are a few new ideas for features that you could add very simply. One is a space reserved at the top of the quiz which contains the quiz instructions, and any limitations (such as a time limitation). A simple radio button or check box could turn this feature on/off. An image could also optionally be posted in this area. (see screenshot below).
Also finishing actions, which will tell the quiz what to do (or where to send the quiz taker) if the quiz has been passed or failed. It would either close the quiz normally or send the quiz taker to another URL (page) which the admin could then pre-make and customize to fit their forum. (see screenshot below). |
request: add the posibility to create a question without an answer and after a while the admins could insert the correct answer and all the stats should be updated. I'm using this hack for the WC matches (like a betting service with prizes) and obviously I don't know the answers before (match results). This could be usefull for this kind of "competitions".
|
Quote:
|
Once this has been released we will be reworking it for Mac users, so that it can use the new Growl technology in OS X :bunny:
|
Quote:
for each game there is a question... and 3 answers: 1 x and 2 |
All interesting ideas.
I think the quiz instructions field is something I definitely want, although I wonder what the point of the checkbox is. If you don't want quiz instructions, leave the box blank and I'll make sure the code doesn't try to display anything. The pass/fail thing is just too much work for me. I'll have a look but I really doubt I can do something like that in the limited time I have. Pretty much anything that involves the results/score is complicated, and I've found it hard to work with. craiovaforum, you just described a completely different product which I have absolutely no use for :) I'm taking some time to work on other parts of my site, as well as the 3 other projects I have going. I figure I'll let things sit here for a little while, see what people suggest, get some feedback, before I get stuck into coding this again. Adding a new field is quite a messy process, I'd like to have a complete list of what's needed before adding them again, rather than doing them as they are suggested. |
Quote:
|
thank you Zero Tolerance :)
anyone got any quizes they want to share :) |
No more news so far?
|
Awesome to hear someone is going to help out Zero Tolerance :)
I've been dyin for an update. The answer explanation field is my biggest want but sounds like you are tackling some wicked improvements. One thing I didn't see in your plans was a VBA module. That would be a mighty slick addon. Pain in the ass to do it manually. Last 10 Quizzes added, Top ten scores, Most popular quizzes. Preferrably the first one...:cool: Can't wait....:banana: Jaks |
Thanks ZT, another quality hack from Inferno - installed no wuckas.
Just one query for you - is it possible to have a single-selection drop-down? Quote:
Here's the changes I've made to facilitate this: - disabled the PM's upon quiz completion (via commenting out the PM sections of /admincp/admin_quiz.php and /quiz.php) - modified the 'quiz_thanks' template from 'Thank you for taking the quiz, your results have been PM'ed to you, check your Inbox to see them.' to 'Thank you for submitting your tips. Results will be posted next week.' - Created a quiz, but left the 'correct answer' blank for each question - The quiz is set to close the day before game day - allow the users to take the quiz.. questions such as 'pick the result: wallabies, draw, all blecks' and 'who will score first try? Tuqiri, Latham, any other Wallaby' - after the game I then 'Control Quiz Questions' and edit each question to input the now correct answer - I then need to 'Moderate Quiz Results' and click 'Edit' followed by 'Update' for each user. It would be really nice if there were a query I could run that does a bulk update of all results.. but this is working for now. - Finally I check all users who have 0% as I could have missed them. Hope this helps, Moses. |
doesn't work for 3.5.4
|
Any news? :cool:
|
It works for 3.5.4. It's still working in 3.6
|
Quote:
|
Quote:
Error - //quiz.xml not found - Please upload it to continue. And yes I have all files Uploaded like written in .txt file: Quote:
|
the xml file goes in the xml directory, which is in the includes directory.
|
Quote:
Error - //quiz.xml not found - Please upload it to continue. |
All times are GMT. The time now is 11:38 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:
|