It would be really great if questions would remain functional outside of a quiz. Something like okcupid, where there's one giant pool of questions from which users can answer as many questions or as few questions as they like, and receive a "score" (in okcupid's case, more analgous to a personality-quiz style score) at any time. That way, in addition to tracking users' quiz scores, the system could also track how users' answered questions in isolation (and whether or not they've had this question before.)

Comments

falcon’s picture

Status: Active » Postponed

I agree! This would be great!

Unfortunately we do not have any resources to implement this at the moment so I have to mark this issue as postponed until someone comes along ready to contribute the time and effort to realize this feature.

gengel’s picture

If you *did* have the resources to pursue this, what steps (code-wise) would you take? I need to implement something like this, more or less, and I'm wondering if it makes more sense to just turn use multichoice as the basis of a custom one-off thing, or to try and come up with a more generalized approach. (i.e., patch)

falcon’s picture

It depends on how much time you have. If you only need multichoice I would probably try to do a "custom one-off thing".

If I needed all question types to function independently I would perhaps do a more general approach. It will be a pretty big patch though.

The easiest way might be to add a button or tab to each question node and when the button is pushed a quiz with only that question is created automatically if one doesn't already exist, and you start taking that quiz. This is ugly.

A better way is to change the take quiz system so that it treats a single question as a quiz consisting of one single question when a users wants to answer a question.

The take quiz system, and especially the function quiz_take_quiz is a mess. I haven't touched it, and barely looked at it. I have no idea how much time it will take to rewrite the take quiz system because I haven't touched it myself. We are planning to do a rewrite when we make the drupal 7 version of quiz.

So if you have the time and want to contribute to the quiz module then make a patch. If you only need multichoice, a "custom one-off thing" might be the best choice.

gengel’s picture

Thanks for the feedback. It sounds like for the short term, I'll port multichoice into a custom mod and work off of that. But I'll try to keep an eye out for ways to integrate these changes back in down the road.

Best of luck with the D7 version!

falcon’s picture

Version: 6.x-4.x-dev » 6.x-5.x-dev
turadg’s picture

subscribe

gengel’s picture

Update: I found a way to make this work by implementing a (somewhat hackish) extra module that modifies multi-choice questions to work both as independent questions and in quizzes, if anyone's interested. (Same process could be used on other question types as well.) Certainly not robust enough to stand as its own project, but if anyone needs this, I can send what I have.

djdevin’s picture

Component: Code - Quiz module » Code - Quiz core
Issue summary: View changes
Status: Postponed » Closed (outdated)

This 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.