Because no-one has got around to enhancing the code to work better. I agree that would be better.
Tim Hunt
Posts made by Tim Hunt
One way you could do this is to write your code as an 'anti-virus' plugin. They always get called when a new file is uploaded.
Thanks.
(Also, I have now worked out that 22nd is Friday. Not today. Oops!)
(Also, I have now worked out that 22nd is Friday. Not today. Oops!)
Where is this meeting?
Normally the docs page has a link ot hte BBB room.
Normally the docs page has a link ot hte BBB room.
The required SQL used to be out there, but I think from before Moodle 4.0, when the database structure chagned a lot.
This database query gets all the data about a quiz attempt https://docs.moodle.org/dev/Overview_of_the_Moodle_question_engine#Detailed_data_about_an_attempt. From that you could follow links question -> question version -> question bank entry -> question category.
Amending the code behing that quiz report is quite hard. I am not sure i would recommend it as someone first experience of Moodle development.
In the future, hopefully, something close to what you want should be available as standard in Moodle, thanks to MDL-74610.
This database query gets all the data about a quiz attempt https://docs.moodle.org/dev/Overview_of_the_Moodle_question_engine#Detailed_data_about_an_attempt. From that you could follow links question -> question version -> question bank entry -> question category.
Amending the code behing that quiz report is quite hard. I am not sure i would recommend it as someone first experience of Moodle development.
In the future, hopefully, something close to what you want should be available as standard in Moodle, thanks to MDL-74610.