Your Moodle version

Reports: Roster

Maintained by Picture of Charles Fulton Charles Fulton
This is a simple report which displays the user pictures for everyone enrolled in the given course.
Moodle 2.2, 2.3, 2.4, 2.5

This is a simple report which displays the user pictures for everyone enrolled in the given course.

You can install it using git. In the top-level folder of your Moodle install, type the command: git clone git:// report/roster

Then visit the admin screen to allow the install to complete.

Once the plugin is installed, you can access the functionality by going to Reports > Roster within the course.

There are two options when viewing the roster. One is to toggle the "Learning mode," which turns the display of names on and off. The other is a "Printable" view, which brings up a version of the report suitable for printing.




Picture of Charles Fulton
Charles Fulton (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • MD shot of me from his iphone4
    Wed, Jun 26, 2013, 4:48 PM
    Thanks for this nice roster smile

    It would be cool if this was an addition to the participant's page where this data is displayed already but perhaps with an option to the User list option to simply display user pictures(/names) only.

    Lots of names will be memorised quickly with this.
  • Picture of Kees Koopman
    Wed, Jun 26, 2013, 7:11 PM
    Do you have an example of the picture-sheet? Thanks! Kees.
  • Picture of Charles Fulton
    Wed, Jun 26, 2013, 7:38 PM
    Hi Kees, I've uploaded two sample screenshots showing how the names are laid out.
  • Picture of Kristy Rhea
    Tue, Sep 17, 2013, 4:03 AM
    Excellent roster. My faculty love it but many say printed pictures are a bit small. Is there aw way to adjust the picture size?

  • Picture of Charles Fulton
    Tue, Sep 17, 2013, 4:11 AM
    Hi Kristy, not easily, because it uses the existing user profile pictures which have a maximum size of 100x100 pixels (see for more on that). There's also an old semi-abandoned tracker item,, about setting a larger default size. Short answer: until Moodle itself ups the default image size there's not much I can do, sorry.
  • Picture of AM Sanat
    Wed, Jan 15, 2014, 8:29 PM
    how can add other user field for example email, username, ....
  • Picture of Charles Fulton
    Wed, Jan 15, 2014, 9:44 PM
    Hi AM Sanat, there's no option in the report itself (at this time) to display anything other than the user's fullname. Clicking on the profile picture does give you the full profile. If you need more detailed information about all the users collectively then the built-in Participants list is more suitable. The current display mode doesn't scale well if you add more than the fullname to this report.

    That said if you want to change what's displayed the relevant place is line 52 on index.php. I'm happy to review patches on github (see source control link above).
  • Picture of AM Sanat
    Sat, Jan 18, 2014, 4:23 PM
    Hi Charles Fulton
    Thanks for your help
    I add this to line 53 on index.php
    $item .= html_writer::tag('span', username($user));
    I hope "username" of user must be print
    But it doesn't work
    Do you have an idea to help me for this?

    I want to use this plugin, and add some other field to it (like username)
    Then print it, and for final exam, tag it to Chair
    And student can sit down on own Chair
  • Picture of Charles Fulton
    Sat, Jan 18, 2014, 8:39 PM
    I've opened an issue on github with a patch which delivers this functionality:
Please login to post comments