Hello,

I am trying to use the og_gradebook and the gradebook modules with the quiz module.
PHP and MySQL versions:
PHP Version 5.2.10
MySQL client version: 5.1.35

When I try the quiz and the gradebook modules separately, they work just great.
But when I try to make them work together - i.e. assigning a quiz to a gradebook, it becomes useless. All that I can see is the description of the quiz and it never starts.

Can somebody give me some directions?

Best,
Rado

P.S.: The quiz is set to have unlimited number of takes.

Comments

sivaji_ganesh_jojodae’s picture

A few questions to help you on this

* What are the steps required to reproduce the bug?
* What behavior were you expecting?
* What happened instead?
* Drupal path that causes this issue ?

rarado’s picture

Hi,

* On a fresh Drupal installation I install the latest versions of the modules:
- Views
- Organic Groups
- Gradebook
- OG Gradebook
- Autoload
- Quiz

* I should be able to create quizzes and assign them to grade books. The access to the grade books is restricted by the organic groups. When a user logs in, he can see the grade book corresponding to the membership he has (member of a OG). The user should be able to take quizzes assigned to his grade book by the "teacher".

* The user can access the corresponding grade book (path: og_gradebook/1), but when clicking on the assignment (a quiz), he can only read the quiz's description and possible scores, but the quiz never starts and cannot be taken (path: node/3).

Best,
R

sivaji_ganesh_jojodae’s picture

Thanks for reporting this information, it may be helpful to others as well. I have no experience in Gradebook and/or Organic Groups. May be other quiz developers/user can help you.

rarado’s picture

Priority: Normal » Critical

Hi,

Aren't there any ideas how to make both modules work together?

Best,
Rado

mbutcher’s picture

Priority: Critical » Normal

It sounds to me like og_gradebook may be overriding the way that the quiz view works. It may assume that a node is always a display of the node body. Quizzes are not -- they are starting points for a quiz session. A quiz has a heavily customized view hook, and if OG overrides that, it will not be possible to take the quiz.

I guess the first step to understanding what is going on would be to look at the hook_view() and hook_nodeapi() implementations in OG gradebook to see what is done when a node belongning to a group is requested for display.

rarado’s picture

Well, this sounds way harder to be done than I thought.

sivaji_ganesh_jojodae’s picture

Category: support » bug
Status: Active » Closed (duplicate)