Quiz reports: Quiz archive report

Maintained by Picture of Luca BöschLuca Bösch
Moodle quiz report plugin to achieve archiving your test, by printing out all attempts at once.
729 sites
32 fans
Moodle 3.4, 3.5, 3.6, 3.7, 3.8, 3.9


This plugin requires Moodle 3.4.

Motivation for this report

For some lecturers it is a good practice, that after an Moodle test they want to archive all student's attempts – i.e. print them all out or save them as PDF. This plugin prints out the 'Review attempt' pages for each student in one single report. The Moodle Tracker issue linked is MDL-45903 – "A way to print or export the quiz responses of each student as a document".


Install the plugin to folder /mod/quiz/report/archive

See http://docs.moodle.org/en/Installing_plugins for details on installing Moodle plugins


Screenshot #0
Screenshot #1


Picture of Luca Bösch
Luca Bösch (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Me in Rome.
    Mon, Jun 17, 2019, 1:29 AM
    Dear Luca,
    your plugin is great and it's the one and only reason I decided to upgrade from the comfort of 2.9 to the unknown of the 3.7. It's already got huge potential, but, hoping that you don't mind, I would like to suggest a few improvements (which might as well be under development).
    1. the plugin should display the exact same thing that is displayed in the review page, i.e. should match the settings from the "Review options", section "After the quiz is closed". I am thinking about the school law in several Countries where a test to be valid must show 1) the text of the test, 2) the answer of the student, 3) the correction of the teacher (the correct answer), 4) the points awarded to each question; 5) the final grade shown should match the setting in the teacher's gradebook (because the snapshot we want to archive must show all of these five key-features in case of a later dispute over the corrections or the awarded final grade of the test.
    2. it should be possible to choose which user's attempt to archive according to the options set in the combo box "Separate groups" from the report overview page.
    These two additions to the plugin would definitely make it indispensable for any teacher who tests their students using Moodle instead of the traditional paper and pencil test.
    Thank you again for developing such a great plugin.
    I hope I hear from you with good news.
    Best regards,
  • Picture of Klaus Westermann
    Fri, Jul 19, 2019, 3:43 PM
    Dear Luca,
    it seems to be a great plugin - just what we need for documentation! We use moodle 3.5 (the newest built). But we get only the responses of the first participant. After that and a long time of waiting the browser notifies a time-out. The same happens on our very fast production moodle as on all of our test-servers. Can you imagine what happens? Thanks, Klaus
  • Picture of stefan weber
    Wed, Nov 27, 2019, 7:39 PM
    Thanks for this plugin, it's always great to find a feature missing in Moodle, and then find out that somebody already made a (well-maintained) plugin that does exactly what you need smile
  • Picture of Jürg Hoerner
    Sat, Jan 11, 2020, 8:12 PM
    Greet plugin thanks.
    This could be optimized: The teachers are confused because archive starts automatically. It is on the first place of reports, it would be better, if it is not on the first place and the normal report will start automatically.
  • Picture of Luca Bösch
    Sun, Jan 12, 2020, 9:37 PM
    Hi Jürg, I can look into this.
    Do you have a suspicion on what?s causing this?
    Also, could you name me the Moodle version you're using as well as detailled reproduction steps?
  • Picture of Luca Bösch
    Tue, Jan 21, 2020, 4:14 AM
    Jürg, I figured out the reason for this.
    If you have access to the database, view the mdl_quiz_reports table. Thereunder, in the displayorder column you may lower the value of the line containing 'name' = 'archive'.
    I try to put up a patch. That value was way too high in my contributed code.
  • Picture of Pradeep Ramanarayanan
    Tue, Jan 21, 2020, 3:44 PM
    Is it possible to extract the archive report based upon the groupwise.
  • Picture of Klaus Westermann
    Tue, Jan 21, 2020, 5:01 PM
    Ein super-Tool. Kann es sein, dass es etwas langsam läuft und nahezu am Timeout vorbeischrammt?
    Trotzdem Danke für die tolle Arbeit.
    Viele Grüße
  • Picture of Luca Bösch
    Tue, Jan 21, 2020, 5:27 PM
    Depending on the quiz size and amount of students, this can be quite resource consuming, yes.
    Basically it loops over all quiz attempt reports (mod/quiz/review.php?attempt=XXXXXX) and lists them one after another.
    Some people have proposed to set limits (the first twenty students, then the next twenty students and so on).
    Some people have proposed to limit the reports to groups.

    I'm not quite there yet with this plugin, I'm afraid.
  • Picture of Mariana Bertello
    Thu, May 7, 2020, 12:28 AM
    Hola Luca, es un excelente recurso, si contara con descargar archivo a excel seria genial!
  • Picture of Emil Mandyczewsky
    Fri, May 29, 2020, 2:18 PM
    In Firefox 76.0.1 only the first page will print, not the whole archive. Archive prints fine from Chrome. Moodle 3.8.3. Cheers
  • Picture of Luca Bösch
    Fri, May 29, 2020, 9:12 PM
    Hi Emil.
    That's a known Firefox browser bug: https://bugzilla.mozilla.org/show_bug.cgi?id=939897
  • Picture of herve boris
    Tue, Nov 10, 2020, 5:23 PM
    bitte wie kann ich die Archivierung des Tests herunterladen.
  • Picture of Luca Bösch
    Tue, Nov 10, 2020, 5:24 PM
    Lieber Boris.
    Drucken und als PDF speichern.
    Es geht nur so.
  • Picture of herve boris
    Tue, Nov 10, 2020, 5:33 PM
    Dankeschön Herr Luca
1 2
Please login to post comments