I am working on integrating the Realtimequiz (https://moodle.org/plugins/mod_realtimequiz) module with the question bank and the grade book. I have a (mostly) working prototype (https://github.com/tdakic/realtimequiz_prototype) that includes slightly modified code from the quiz module. This approach was quick and dirty, but obviously not the right way of doing this.
Functionally, the only real difference between my code and the quiz module code is in the way the quiz is administered: in Realtime quiz the teacher controls which question the students can attempt at any given time. It is meant for in-class quizzes.
I’ve been tying to figure out how to plug in my code (when it is cleaned up, improved and tested, of course) in the quiz module. One option I think might work would be to add an access rule and then implement the description method of the access_rule_base class to display the quiz controls to the teacher and display a page that can be controlled by the teacher to the students. This doesn’t seem right to me (it makes the description method into a hijacker).
I am not proposing to change the core, but to add a plugin as https://moodle.org/plugins/quizaccess_honestycheck or SEB plugin.
Anyone has a good idea?
Thanks,
Tamara