Closed (outdated)
Project:
Quiz
Version:
6.x-5.x-dev
Component:
Code - Quiz core
Priority:
Normal
Category:
Feature request
Assigned:
Issue tags:
Reporter:
Created:
25 Mar 2009 at 10:49 UTC
Updated:
15 Jul 2016 at 20:57 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
mbutcher commentedThere have been other requests for this feature. However, it is not currently on the roadmap. It would be a welcome addition if somebody were to write this.
Comment #2
GN commentedActually, I have found out that there is a software called Quandary (by www.halfbakedsoftware.com; currently $10 shareware, but becoming free since September 1, 2009) able to do things like that; they call it "Web-based Action Mazes." The result is exported to XHTML and can be viewed as a stand-alone web page. I don't know - maybe it could be an easier job to integrate web mazes created by Quandary into Drupal than to implement in Drupal the adaptive quiz functionality?
Comment #3
sivaji_ganesh_jojodae commentedNo We would like to have our own adaptive quiz engine. I am currently working on quiz import/export feature. This is a frequently asked request adding this feature to quiz "ToDo" list.
Comment #4
sivaji_ganesh_jojodae commentedNo time to implement this in quiz 4.x. Moving it for 5.x
Comment #5
michaelcrm commentedwww.halfbakedsoftware.com is helpful
Comment #6
cmjns commentedI have a client who is requesting this. They are looking at Moodle, as well. But it looks like Moodle (http://docs.moodle.org/en/Adaptive_questions) does not do it either. I'd consider working on it, if my client wants it badly enough. But would anyone briefly lay out the issues involved here?
Comment #7
mjasonbaker commentedI believe I am looking for this feature as well.
I need to offer a block that says "Do you meet the requirements below?" If yes, it will direct them to another page that again asks if they meet the requirements below. If yes, then a final pages says "Congratulations, You Qualify!" and have a link or forward the user to a desired page.
If they do not meet all the requirements listed, then it would guide the user through other series of questions on different pages. When the qualifying questions are exhausted, it would say "Sorry. it looks like you do not qualify" and have a link or forward the user to a desired page.
Am I asking for the same feature?
Comment #8
julianmancera commentedHi all,
I'm working the adaptative feature for the quiz module , here is my approach any comments will be really useful. ( Is anyone working this feature alredy?)
1. Adding a database column called next_step to the quiz_node_relationship, that will store the adaptative conditions based on the answer for the current question.
2. Modify the way that function quiz_take_quiz function handles the $_SESSION questions array variable( avoid using the array_shift), so the user can go back and forward in the quiz depending on the defined adaptative conditions. If you have any suggestion on doing this without hacking the core module will be nice.
3. Adding to multichoise questions type and true/false question type a column on edit interface to let the user select the next quiz question( the user should create all the questions before setting the adaptative conditions) for each answer.
4. Store the submitted information in the next_step column from the step number 1.
Any comment will be apprecited
Regards,
Julian
Comment #9
julianmancera commentedGood day every one,
I'm done with the adaptative quiz development, I'd like you to give it a try and let me know your comments. The beta release only includes adaptative questions of the Multichoice type.
I need you feedback on the user interface too. Special thanks to Worldwide Affinity who sponsor the development.
Regards
Julian Mancera
Comment #10
julianmancera commentedHere is the patch that must be applied in the quiz.module and multichoice.module files
Any questions let me know.
--- quiz.module
+++ quiz.module
@@ -533,7 +538,7 @@ Unless you know what you are doing, it i
function quiz_view($node, $teaser = FALSE, $page = FALSE) {
drupal_alter('quiz_view', $node, $teaser, $page);
if (!$teaser && $page) {
//load the questions in the view page
//$node->content['body']['#value'] = quiz_take_quiz($node);
- $node->content['quiz'] = quiz_take_quiz($node);
+ if ($node -> adaptative)
+ $node->content['quiz'] = adaptative_quiz_take_quiz($node);
+ else
+ $node->content['quiz'] = quiz_take_quiz($node);
--- multichoice.module
+++ multichoice.module
@@ -1129,7 +1127,7 @@ Unless you know what you are doing, it i
if (user_access('allow feedback')) {
$header[] = array('data' => t('Feedback'), 'style' => 'width:250px;');
}
+ $header[] = array('data' => t('Next Step'));
@@ -1144,7 +1146,7 @@ Unless you know what you are doing, it i
if (user_access('allow feedback')) {
$row[] = drupal_render($form[$key]['feedback']);
}
+ $row[] = drupal_render($form[$key]['next_question']);
Comment #11
julianmancera commentedJus t assigning my self the feature request
Comment #12
falcon commentedThank you for contributing!
I'm focusing on finishing Quiz 4 at the moment, and will have to get back to this issue later.
Comment #13
julianmancera commentedHi everyone,
Attached you will find the latest version of the adaptive quiz which includes some improvements and bug fixing. The adaptive behaviour was extended to all the question types: multichoice, true-false, Directions, short answer and long answer. Any feedback is apprecited. I also removed the patches that should be included in the quiz module so now is a total independent module.
Regards,
Julian
Comment #14
falcon commentedCool! You obviously know what you're doing!
What version of quiz has this module been written for?
If we were to include this in the Quiz project we would include it for Quiz 4.1 or something, but Quiz is already huge. Would you like to help maintain Quiz? We could then include your code in the project, but make the integration a bit smoother so that we don't have two "..._take_quiz" functions for instance.
Ideally we'll wait for Quiz 5 and let Adaptive Quiz be a separate project. We will rewrite the quiz taking logic completely in quiz 5, and make it a lot easier to create add on modules like this one.
Comment #15
julianmancera commentedHi Falcon,
This release was written for the quiz 3 core version. In the next couple of days I'll be working in the adaptive module for quiz version 4, I'd like to be part of the the quiz module maintainers team, so if you have any feedback before starting this task would be nice!! Let me know what I need to do to start to be part of the maintainers team.
Regarding including the code within the quiz 4.1 version let me know what I need to do.
Attached you will find my last version with an small bug fix that I found my self when implementing in a site.
My best regards,
Julian
Comment #16
falcon commentedCO maintaining:
Apply for an account here:
http://drupal.org/cvs-application/requirements
Refer to this issue and comment in your motivation message.
By accepting to become co-maintainer you're also accepting to help out with issues in the issue list. Answer some support requests, fix some bug reports and review patches.
Adaptive quiz:
Maybe you could make a suggestion on how we can make a better API in quiz allowing for Adaptive Quiz(and maybe also other modules) to work without having to replace the entire quiz_take_quiz logic?
Comment #17
gausarts commentedSubscribing. Thanks
Comment #18
djdevinSubscribing, can help with a Quiz 4 version too
Comment #19
julianmancera commentedHi all,
Attached you will find the adaptive quiz module beta for the version 4 of quiz module. I'll really appreciate your comments and testing.
Regards
Julian
Comment #20
zeezhao commented+1
Comment #21
cherryz commentedSubscribing. Thanks
Comment #22
julianmancera commentedHi all,
Attached you will find the adaptive quiz module for the version 4 of quiz module. I'll really appreciate your comments and testing.
Regards
Julian
Comment #23
jnammour commentedHello,
I am testing the adaptive module in a sub-directory and If I save the Multiple Choice question with your adaptive module enabled it redirects me to a page not found and does not save the node. I believe it has to do with the url not sending me to a page within the sub-directory. Any ideas? Has anyone seen this before?
Comment #24
julianmancera commentedHi jnammour,
No sure about the this bug. Attached you will find a new version of the module please update it and let me know if the bug persist. If it does can you give me more doc how to reproduce it?
Regards
Julian
Comment #25
julianmancera commentedHi jnammour
Are you testing with the anonymous user?
Regards,
Julian
Comment #26
michaelfavia commentedTaking up the adaptive quiz baton myself. I just need to support skip patterns. Taking a look at your module later today if you have any recent work and dont mind posting it here or to a GIT hub we can push this boulder together julian.
Comment #27
bisonbleu commentedHello,
I'm testing the adaptive_quiz module. I need help.
Reading this thread leads me to believe that the latest version of the adaptive_quiz module (available in #24) will work with Quiz 6.x-4.0. Am I right? If not, everything that follows goes out the window... :-)
I've installed Quiz modules (see attachment for versions) on a Fresh D6.20. Quiz works great. But I can't get adaptive_quiz to work. Actually, I'm not exaclty sure how I should go about it. More info about this below. Demo is here http://dev8.renaudjoubert.com/ (27 jan 2011)
Results/behaviour
- All questions for this quiz are of type multichoice
- for Question #1, if Multiple answers is unchecked & only one answer is checked as Correct
- or if Multiple answers is checked & all answers are checked as Correct
---> question 1 is sticky, it's not possible to move to question 2, the quiz is stuck and doesn't end.
How the quiz is structured.
1. I created all the questions.
2. Then I came back and edited the "Next Question column
- Q1 has 3 choices (all checked as correct)
--- choice 1 points to Q2
--- choice 2 points to Q3
--- choice 3 points to Q4
Q2, Q3, Q4 have 3 choices (only one checked as correct)
--- all choices point to Q5
- Q5 has 3 choices (all correct)
--- choice 1 points to Q6
--- choice 2 points to Q7
--- choice 3 points to Q8
Q6, Q7, Q8 have 3 choices (only one checked as correct)
--- all choices point to Q9
- Q9 - last question - has 3 choices (only one checked as correct)
--- choice 1 points to "Select" (or nothing)
--- choice 2 points to "Select" (or nothing)
--- choice 3 points to "Select" (or nothing)
This structure is intended for an assessment test. When I ask "How do you feel?" There is no right or wrong answer. And depending on the choice the user makes, the next question may be different. In this demo, if you answer "Good" then the next question is "How do you spell "Good" ?. And so on.
Can anyone point me in the right direction? Or tell me "You're crazy man..."
This module has a lot of potential julianmancera. Keep up the excellent work!
Comment #28
julianmancera commentedHi Bisonbleu,
Please send me a db backup or an access to the test site db so I can check what is happening in a clean install.
My email is julianmancera@easyezpublish.com.
Regards,
Julian
Comment #29
julianmancera commentedHi Bisonbleu,
Please send me a db backup or an access to the test site db so I can check what is happening in a clean install.
My email is julianmancera@easyezpublish.com.
Regards,
Julian
Comment #30
Hodgekins commentedHi Julian and Michael,
Amazing work on this module. Thanks for developing it!
I was just wondering if there are any plans to port this functionality to D7? I had a look at doing it but I'm way out of my depth.
Cheers,
Ben
Comment #31
Hodgekins commentedAccidentally changed
Comment #32
julianmancera commentedHi Ben,
No plans for porting to drupal 7 yet. The module itself needs a redo.
Regards,
Julian Mancera
Comment #33
djdevinThis issue is being closed because it was filed against a version that is no longer supported. If the issue still persists in the latest version of Quiz, please open a new issue.