Select Moodle version:

Blocks: My Grades block

block_my_grades
The my_grades block provides a display of all enrolled courses' overall grades and links to grade reports from the My Home page.
Maintained by: Picture of Karen Holland Karen Holland
for Moodle
2.1, 2.2, 2.3, 2.4, 2.5

My Grades Block for Moodle

This provides display of all enrolled courses' overall grades and links to grade reports from the My Home page.

To install, place all files in /blocks/my_grades and visit /admin/index.php in your browser.

This block has been tested on the following versions of Moodle: 2.1, 2.2, 2.3, 2.4 and 2.5.

This block was written by Karen Holland , Mei Jin and Jiajia Chen.
It is copyright Karen Holland, Mei Jin and Jiajia Chen and contributors.

Translations are copyright of their respective authors, as indicated in each language file.
Current languages are English only.

Released Under the GNU General Public Licence http://www.gnu.org/copyleft/gpl.html

Screenshots

screenshot

Contributors

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

Comments RSS

Show comments
  • MD shot of me from his iphone4
    Mon, May 20, 2013, 1:07 PM
    Hi Karen,
    Thanks for sending this in, could you consider adding the urls:
    - code repository
    - bug tracker url
    - any documentation links this may have.
  • Picture of Karen Holland
    Wed, May 22, 2013, 5:16 AM
    Hi Aparup

    Thank you so much for reviewing my Moodle plugin contribution!

    I've added the code repository at https://github.com/k-holland/my_grades/.
    The bug tracker is at https://tracker.moodle.org/browse/CONTRIB-4319.
    Documentation is at https://github.com/k-holland/my_grades/blob/master/my_grades/readme.txt - this is probably lacking in detail so please let me know if this is the case and also any other issues with the code.
  • Capt. Moodle
    Wed, May 22, 2013, 7:08 AM
    Karen - If you want to follow the naming convention for Moodle Plugins on Github.com the repository name would be moodle-block_my_grades. I would recommend changing the name to conform with the naming convention. Also, I have created a tracker in the Moodle Tracker for this plugin which can be found at https://tracker.moodle.org/browse/CONTRIB/component/12737. When I installed the plugin in Moodle 2.5 (and you should see the same warning in 2.4) I received the notice: he block my_grades does not define the standard capability block/my_grades:addinstance. Let's go ahead and define addinstance - see http://docs.moodle.org/dev/Blocks#db.2Faccess.php for more information on how to do that. Also, feel free to create a page in Moodle Docs if you would like. http://docs.moodle.org/dev/Plugin_documentation contains some information about how to ideally set that page up. For now I'm going to mark this as needing a little more work before we approve it. Please do not hesitate to let me know if there is anything I can do to be supportive of your efforts. Peace - Anthony
  • Picture of Karen Holland
    Sun, Jun 2, 2013, 12:28 AM
    Hi Anthony
    Many thanks for your kind and constructive feedback.
    As suggested, I've renamed the Github.com respository name to the recommended format at https://github.com/k-holland/moodle-block_my_grades/tree/master/my_grades.
    I've also added the recommended db/access.php file to the Github.com respository and updated the Moodle plugins downloadable zip at https://moodle.org/plugins/view.php?plugin=block_my_grades. Sorry for missing that one!
    I'll hope to complete documentation in Moodle Docs as suggested as I appreciate plugins are judged on their documentation quality among other things.
    I have one or two enhancements I'd like to add to the plugin in due course, I just wanted to get the basic version completed and submitted first to get exposure to the process. I presume that adding a new version along with its release notes would be required and would the new version then need a fresh review and approval? Would I need to add a new issue under the tracker for the modification?
  • Capt. Moodle
    Fri, Jul 12, 2013, 12:45 PM
    Karen - Many thanks for all your work. I am going to install the block and give it a quick test before approving it but it looks like you have responded to the concerns. Once approved, new versions do not go through the same review process. Once a plugin is approved the new versions will be available to users right away with no delay. The review of the initial plugin gives a chance to make sure that folks are following a consistent process. Your responses have been exemplary - I just wish I had been able to respond in a more timely manner. Peace - Anthony
  • Capt. Moodle
    Fri, Jul 12, 2013, 12:59 PM
    Karen - In reviewing the code, I noticed in the block_my_grades.php file that the lines ended with a ^M - could you make sure to remove those in all of the files and upload a new version. Peace - Anthony
  • Picture of Karen Holland
    Mon, Jul 15, 2013, 12:50 AM
    Hi Anthony - sorry about those ^M characters, I've made a note to check for them in future, and both the Github and Moodle plugin versions have been updated accordingly. Many thanks again for your assistance and reviews, Karen
  • Picture of Paula Moreira
    Tue, Aug 13, 2013, 7:57 PM
    Hello!
    Karen thanks so much for your block. i just love it.
    i just would like to increase the font size of the grade but i am not able to do it. can you help me?
    Thanks
    p.s. i am using moodle 2.5 and it works great!
  • Ying Yang
    Wed, Aug 14, 2013, 1:18 PM
    Hi Karen,
    Could you please update the GitHub repo so the code is not in a subfolder?
    The docs for installing from a repo show you should just be able to clone it into final location, but by having a subfolder this can not be done.
    http://docs.moodle.org/23/en/Git_for_Administrators#Installing_a_contributed_extension_from_its_Git_repository
    e.g. Following will not work due to subfolder:
    moodle/blocks/ # git clone https://github.com/k-holland/moodle-block_my_grades.git my_grades

    Thanks,
    James
  • Picture of Karen Holland
    Wed, Aug 21, 2013, 5:55 AM
    Hi Paula, many thanks for your feedback on the usability of the block which is always welcome! I'm planning to do some changes soon so will hopefully look after this as well, regards Karen
  • Picture of Karen Holland
    Wed, Aug 21, 2013, 5:56 AM
    Hi James, many thanks for your feedback on the appropriate directory levels for the block code, I've now updated the github and Plugins directory versions. Regards Karen
  • Picture of Clark Sim
    Wed, Sep 4, 2013, 9:24 PM
    Hi Karen,

    Is there anyway to set this so that only the grade from a final quiz within a course is given and not the overall?

    Thanks in advance
  • Picture of Jamie Tinley
    Fri, Jan 31, 2014, 7:28 AM
    In case anyone else was as forgetful as me, to make it show you have to add 'My Grades' as a block. Do't do it in your own mymoodle. go here Access Settings > Site administration > Appearance > Default My home page. then turn editing on and then in left column add a block and choose my grades. It will ONLY show for you still. For everyone to see it, click the sprocket settings and inside choose to show this page on 'Any page matching the above'. Hopefully this helps someone as forgetful as me.
  • Picture of Przemek Kaszubski
    Mon, Apr 7, 2014, 5:06 AM
    Has anyone tested this block in Moodle 2.6+ ?
Please login to post comments