Moodle plugins directory: Insert question

This is a very simple implementation of a question filter. It allows questions to be
inserted anywhere in Moodle editable text either embedded or in a popup. Note that this plugin has probably been superseded by: https://github.com/moodleou/moodle-filter_embedquestion, developed by the OU team.

Documentation

Known bugs, Todos

Will not work with some advanced question types yet such as drag and drop.

Version 1.5.3 Changes

Altered the embedded question to use jQuery sliding panels rather than Bootstrap collapsible div.

Version 1.5.4 Changes

Added steps to delete question_attempt_step and question_attempt_step_data from Moodle tables associated with question usages generated by this plugin. Default is to run every 10 minutes. The admin can adjust this under server settings - scheduled tasks. In heavily used situations, it may need running more frequently.

Version 1.5.5 Changes

Added GDPR (null provider) and cleaned up code to Moodle guidelines. While the Moodle core question_attempts table does contain a userid, these entries are removed every 10 minutes - or at times determined by the administrator. The plugin itself stores no user data.

Agree...very cool! Question: is the data for student responses to questions used by the filter available in the gradebook? Or is the purpose of this more to be able to put in questions throughout a course for only formative assessment? Thank you!

Hi Joseph, the answers won't be recorded in the gradebook. Yes, the idea is more about using the question bank feedback mechanism to supply formative assessment. That's why the feedback is hard-wired to be immediate. My feeling is that the quiz is the perfect mechanism for summative assessments already.

Hi Kedar, may I ask why you don't just insert a quiz into your course instead (or even a link to a quiz)? The way the filter works, I could add an array of question numbers instead of just 1 but then it's no longer "simple" and it makes it more difficult to use. So I don't think I will, sorry.