Embed questions filter

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

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 the associated Atto editor plugin which makes it easier to set up the embedding.

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
John Beedell: Developer
Please login to view contributors details and/or to contact them

Comments RSS

Kommentare anzeigen
  • Juan Carlos Galdos
    Mo., 2. Okt. 2023, 14:49
    Any upgrade for Moodle 4.1 / 4.2? Thank you
  • François Lizotte
    Di., 7. Nov. 2023, 05:10
    In Moodle 4.1, I just found out that we cannot edit an embeded question. We seem to always get the previous version whenever we try to update a question.

    Well I also found that this behaviour changes if we remove the Embedded questions progress report, I mean unstalling the plugin.
  • Chris Nelson
    Di., 7. Nov. 2023, 17:38
    Hi François, all questions or a specific question type? Also did you restart the question, as new question versions are sometimes only loaded when the question is restarted.

    The progress report plugin stores and shows user attempt data in the system. So uninstalling it fixing the problem for you suggests you are not restarting a question attempt when creating new question versions.
  • Tim
    Di., 7. Nov. 2023, 19:02
    Chris, if you recall, this is something we fixed internally at the OU, but we have not had time to release a new version of the plugin with the fix yet.
  • Chris Nelson
    Di., 7. Nov. 2023, 19:38
    Yes, agree we need to find the time somewhere to release the latest internal version. To those reading: we made it so a new question version is detected and that automatically restarts all embedded question attempts for that question with the latest version. It therefore avoids the confusion / having to remember to manually restart the question after an edit.
  • Nitesh Duhan
    Mo., 13. Nov. 2023, 13:38
    Hi, Did anyone see, how it looks on Moodle Mobile app?
    For me, it is working perfectly on desktop/web, but in moodle mobile app, I do not see the embedded question. Rather I see "login page" in place of embedded question, inside the html page.
    Can someone help ?
  • Tim
    Mo., 13. Nov. 2023, 16:22
    Mobile app is not supported. We have never had time to think about developing support.
  • Nitesh Duhan
    Fr., 17. Nov. 2023, 11:55
    I understand that it is not available for Mobile.

    But, if something is not available on mobile (and is available on web only), can we ever include that in our course? Now that, we are in mobile world, how everyone is using this plugin?

    I just want to understand what are best practices. Are institutes offering "web only" courses? Is it a practice globally among universities? and are students ok with learning "without mobile app" ?

    Request you guys to share insights, on what is heppning?
  • Symon Looc
    Do., 18. Jan. 2024, 01:57
    Hello dev guys! Is this plugin available for Moodle 4.3? I have installed it but I can't find it in the toolbar.
  • Rudolf Strobl
    Di., 30. Jan. 2024, 15:29
    Hi! Is it possible to embed a question in the description-box of the assignment module (using 4.1 and 4.2)? I tried but I couldn't figure it out. Please let me know- thanks!
  • Chris Nelson
    Di., 30. Jan. 2024, 22:21
    @Symon, I think what you perhaps mean is: "is the embed button available for the TinyMCE Editor, which is the default editor from M4.3?". We are in the process of developing it at the moment, although I afraid I cannot say when exactly it'll be available. We'll amend this plugin's description to include a link to the TinyMCE editor when it is!
  • Chris Nelson
    Di., 30. Jan. 2024, 22:24
    @Rudolf, I was able to embed a question in the Assignment description area on our M4.2 test server (using the Atto Text Editor). My only explanation for you having trouble is that perhaps you are using TinyMCE Text Editor, which we are working on supporting.
  • Simon Schäfer
    Fr., 15. März 2024, 18:07
    Thanks for this great plugin!

    Question1:
    I wondered if it is possible to load a question dynamically by adding/updating a text element with the proper embedd string and using some JS as mentioned here: https://moodledev.io/docs/apis/plugintypes/filter#filtering-dynamic-content

    Background of the question is the idea to build a system that rates question difficulty and student skill on a multidimensional framework using true skill algorithm (comparable to CAPquiz but with a external flask server as backend).

    Question 2:
    Is it possible to download a report on the embedded questions that lists all attempst instead of the most recent one? One can access the history manually but is this available automatically without a custom query to the database?
  • Chris Nelson
    Fr., 15. März 2024, 18:09
    Hi Simon,
    I can answer Question #2. Check out https://moodle.org/plugins/report_embedquestion
  • Tim
    Fr., 15. März 2024, 19:04
    Question 1. I don't think this plugin requires the use of that JavaScript hook to work. All the necessary filtering happens on the server side - so, if you are building a system like that, you would need to ensure that the back-end of whatever JavaScript you write is doing the filtering correctly.
1 2 3 4 5 6 7 8
Please login to post comments