Embed questions filter

Filters ::: filter_embedquestion
Maintained by TimTim Hunt, at the OU (Perry building)Mahmoud Kassaei, Chris Nelson, Anupama Sarjoshi
Part of set Embed questions.
A Moodle text filter plugin that displays interactive questions from the question bank embedded in the page.
Latest release:
1137 sites
321 downloads
75 fans
Current versions available: 4

This filter allows questions from the question bank to be embedded anywhere that users can input HTML. This can be used in various ways. It can be a way to make learning materials more interactive. For example you may wish to embed an interactive question in a Book, or a Page, or even a Label. Or perhaps a student asks in a forum about some tricky grammar concept, and you have a question that illustrates your reply, well now you can include that question in your reply, so the student can immediately test their understanding.

It is designed to be used with a Text Editor plugin.

This is the associated Atto editor plugin. However the Atto version is only supported for M4.5.

This is the associated TinyMCE editor plugin (which won't be visible until it is approved). That will be for M4.5/M5.0+

Installing the Embedded questions progress report is also recommended. This lets staff and students track what progress has been made at all the embedded questions in a course.

Questions can only be embedded if they have an idnumber set, and where the category the question is in has an idnumber. This is for two reasons: first, to make it harder to accidentally embed questions from your end-of-course exam; and second, because this is how the filter uniquely identifies the question to show.

Note: Essay is not an interactive question. Description is neither interactive nor a question.

This plugin was created by The Open University, UK.

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2

Contributors

Tim
Tim Hunt (Lead maintainer)
at the OU (Perry building)
Mahmoud Kassaei: Developer
Chris Nelson: Product owner
Anupama Sarjoshi: Developer
John Beedell: Developer
Please login to view contributors details and/or to contact them

Comments RSS

Comments

  • Chris Nelson
    Wed, 17 Apr 2024, 6:29 PM
    Thanks for coming back to us with confirmation, @Joline smile
    Once we upgrade to M4.3 ourselves, we may be in a position to further improve alerts that users are "looking at an earlier question version" part-way through a embedded question (assuming it is possible), but that will be a few months away.
  • Neil Stapleton
    Mon, 29 Apr 2024, 5:05 PM
    @Tim Hunt Any plans to add support for 4.3+ We are very interested in exploring embedded question and perhaps contribute to some improvements.
  • Tim
    Mon, 29 Apr 2024, 5:27 PM
    Latest version on github works on 4.3 I think. There is a hiccup which means I can't release it here yet.
  • Justin Ible
    Thu, 1 Aug 2024, 5:54 AM
    How well does this plugin work on Mobile devices?
  • Chris Nelson
    Thu, 1 Aug 2024, 2:44 PM
    Hi @Justin,
    The display of embedded quiz questions in content depends on the screensize of the mobile device (smartphone or tablet?), exactly where you are embedding it, and the theme being used.
    Hope that helps smile
  • Joseph Rézeau
    Thu, 24 Oct 2024, 5:20 AM
    Any progress on making this available to the TinyMCE editor?
  • Chris Nelson
    Thu, 24 Oct 2024, 4:10 PM
    Hi Joseph, we've got it working on our test servers, although we won't move to TinyMCE ourselves until summer 2025 (!). We've tried releasing it but it came back with extra work, so hopefully we'll get it out in the next few weeks.
  • Lang Lab
    Thu, 14 Nov 2024, 12:10 AM
    Would it be possible to Add feedback ability to audio/video recoding and essay questions
  • Heath Graham
    Thu, 12 Dec 2024, 12:52 PM
    Hey folks, great plugin! Any updates on the TinyMCE version?
  • Justyna Wachulka-Chan
    Fri, 17 Jan 2025, 4:32 PM
    Hi, great plugin! Is there any update on the Tiny MCE and the Moodle 4.5 compatibility? Apparently, it doesn't work with 4.5...
  • Tom Esson
    Tue, 11 Feb 2025, 5:24 AM
    Is there a plan to have the question grades added to the grader report?
  • Chris Nelson
    Wed, 12 Feb 2025, 1:09 AM
    Hello, just to say that we are still currently working on the TinyMCE button version (https://moodle.org/plugins/tiny_embedquestion), and there should be a filter update published in the next month or two.

    @Tom Esson: Initially we hoped that would be a feature, but last time we investigated it was major work involving rewriting various bits of Moodle Core - all things way beyond our current budget/capacity. We would be very grateful if any other individual/education centre floated a suggestion and developers, of course! smile Otherwise it remains a long-term feature for us, but that could be years away.
  • Kerry Watt
    Tue, 25 Feb 2025, 7:52 PM
    Noticed that above there's someone mentioning there's an issue with 4.5 compatibility - is this definitely the case, or is it just an issue getting the Tiny filter approved? Would be great to know as we're looking now at upgrading and use this in quite a number of places.
  • Chris Nelson
    Tue, 25 Feb 2025, 8:10 PM
    Hi Kerry - we are working on the compatibility release for the full set of related plugins, but there is also https://tracker.moodle.org/browse/CONTRIB-9551 to resolve.
  • Przemek Kaszubski
    Sat, 29 Mar 2025, 2:06 AM
    Just stopped here after upgrading my site to Moodle 4.5 and deciding to disable Atto. The filter itself needs urgent touch-up, since there are major deprecations reported about the storage and referencing of the main class through the various files, at the very least. Cf. https://tracker.moodle.org/browse/MDL-82427 ("Split filterlib.php"), which came along with Moodle 4.5 in August 2024.

    I have voted for, and started following https://tracker.moodle.org/browse/CONTRIB-9551 ("Plugin approval: Embedded question (tiny_embedquestion)") too, but it's the filter itself that needs to be resolved first, before we can start using / testing the code in https://github.com/moodleou/moodle-tiny_embedquestion .

    TBH, I have yet to see if the current version (latest commits 8 months ago) in https://github.com/moodleou/moodle-filter_embedquestion is a successful update over the 3-year old we can download on the official site here: 2.2 for Moodle 3.9+ (2022032900) for Moodle 3.9, 3.10, 3.11, 4.0 | Released: Tuesday, 29 March 2022, 4:28 PM. And whether it meets the requirements of MDL-82427 . Looking over https://github.com/moodleou/moodle-filter_embedquestion/commits/main/ , and seeing the latest commits coming in July 2024, and not seeing MDL-82427 among the addressed issues, I have my doubts.

    Can we hope to have a version compatible with MDL-82427 any time soon ?
Please login to post comments