My Grades report

Reports ::: report_mygrades
Maintained by DavidDavid Bezemer
A Moodle Report that shows all user grades in all courses
Latest release:
104 sites
21 fans

This report displays a searchable and sort able table with the User's grades per course.
When clicking a link from this table, the user will be redirected to their course grade overview.

The report is available from two areas:

  1. User activity reports
  2. Personal reports
The report shows a sort able and searchable table of all obtained grades course wide.
Teachers/managers can view all grades of students in courses they have access to, user can see grades of themselves but not of others.


Screenshot #0


David Bezemer (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Plugins bot
    Mon, May 26, 2014, 5:36 AM
    Thanks for sharing this plugin with the Moodle community. Some formal issues were detected and reported by our automated plugin checker tool. Please review all the plugin checker results and fix the issues mentioned, if possible. These changes are typically pretty easy to make but if you have any questions just let us know. For now, I am going to mark this plugin as needing more work. Once you get these formal issues resolved, please use the link “Schedule this plugin for re-approval” so that the plugin code can be fully reviewed and approved by my human colleagues.
  • Picture of David Mudrák
    Fri, Aug 1, 2014, 8:29 PM
    Hi David,

    thanks for sharing this plugin with the Moodle community. The uploaded version did not have Supported Moodle version selected. Using
    the information from the version.php, I set it to be for Moodle 2.5. You may wish to eventually edit and extend the list of
    supported versions.

    In the DEBUG_DEVELOPER mode, the report throws Notice: Undefined property: stdClass::$text in report/mygrades/index.php on line 112
    which, by looking at the code, should be easy to fix.

    Many of your CSS selectors in the styles.css file do not contain the report specific scope so it is likely to affect other areas of
    Moodle unintentionally (see selectors like ".sorting" etc) if they use same CSS class names. Please fix that by having more specific
    selectors to affect your plugin only (I personally found awesome tool for that).

    In the code $PAGE->set_context(context_course::instance(1)); the identifier can not be hardcoded like that. Not all sites have the
    site id set to 1. If you really need it, use SITEID constant. But maybe better - should not the context be set to the context_system
    or context_user ? On that note, I would expect a capability 'report/mygrades:view' declared to control access to the report.

    I am going to approve the plugin now with the hope these issues are fixed in a future update of the report. You are cleared to land,
    welcome to the Plugins directory!
  • David
    Fri, Aug 15, 2014, 5:11 PM
    Hi David, I think you misread because I do not get the siteID context, but for course 1, which to my knowledge is ALWAYS the frontpage (course id = 1). I have however rewritten this to use your current course, which surprisingly from the user profile context is always 1! Kind regards,
  • Picture of Gary Lynch
    Fri, Aug 22, 2014, 3:49 AM
    Hi David
    How do you change the display to show full course names as opposed to short ones?
    An it would be really useful to have completion dates too
    Regards Gary
  • Picture of Gary Lynch
    Fri, Aug 22, 2014, 4:11 AM
    Hi David managed to locate the line to change for full course names in the index.php changed line (144 in dreamweaver) from
    $coursename = format_string($course->shortname , true, array ('context' => $coursecontext));
    $coursename = format_string($course->fullname , true, array ('context' => $coursecontext));
    Worked a treat smile
    Regards Gary
    ps still would be nice to have completion times/status on there smile
  • Picture of Justin Stewart
    Tue, Mar 24, 2015, 9:36 PM
    Can we add a way to report credit hours with this report also
  • Picture of Peter Hristov
    Wed, Mar 25, 2015, 7:47 PM
    Hi David,

    I'm very happy to inform you that the plug-in is working almost perfectly on version 2.8.5+.
    We had a project to migrate from version 2.2.5+ to 2.8.5+ .
    We have done the migration, but when a new user had acquired a course, we cannot see the results in the report.
    The only problem we have encounter so far is that if we go to “My Grades report” for new user, a message appears “This user has not yet been enrolled in any courses”.
    We have checked and create several users that are participating in number of courses.
    Please, help us for this case.

    Best Regards,
    Peter Hristov
  • Picture of Enderson DeOliveira
    Wed, Apr 15, 2015, 10:54 PM
    Hi there, I have Moodle 2.8.3, I installed this plugin successfully but I can't find the My Grades report anywhere! I tried accessing the User report page for a certain course, and the activity reports, but no luck. Where can I run this report from? Thanks.
  • Picture of Chantal Hollander
    Fri, Jun 5, 2015, 12:41 PM
    Hello, I am having the problem of hidden grades showing up in the students' My Grades report. I have hidden the individual grades and the total to no avail. Is there something I'm missing? thanks so much, Chantal
  • Picture of Uchendu Nwachukwu
    Wed, Aug 19, 2015, 8:55 PM
    Hello David
    I got the same problem as Enderson. I'm using the Moodle 2.9 and hav installed the plugin. I can't access the report because because never a link is shown to me. Any suggestions? Uchendu
  • Picture of Kartikesh Saurkar
    Wed, Jun 8, 2016, 6:52 PM
    Hi David
    I tried to install this plugin in moodle 2.9 & it is successfully installed. But I'm not getting the option of this plugin. What should I do ? By the way, is this plugin is able to show grades of all students of all subjects.
  • Picture of Krisha Moeller
    Tue, Dec 5, 2017, 5:16 AM
    Hello! I tried to install this plugin, but I keep getting this error message:

    Install plugin from ZIP file
    Validating report_mygrades ... Error
    [Error] Extracted file not found [{"file":"mygrades\/mygrades\/"}]
    Installation aborted due to validation failure

    Could you help me figure out what to do? Thank you!
Please login to post comments