My Stats

Blocks ::: block_mystats
Maintained by Nathan Robbins
A student dashboard for the My Moodle page. Shows statistics about site-wide student activity.

My Stats 0.1

Moodle 2.3
Released: Saturday, October 20, 2012, 5:37 AM
**Tested on Moodle 2.3.2 only, but should work on moodle 2.2+
The My Stats block is a dashboard for the My Moodle and User Profile pages. It shows the student statistics about their activity and provides links to relevant areas to encourage participation.

The visibility of each statistics section can be controlled globally by an admin and per instance by the user.

Charts provide a visual representation of the data, and are available for several statistics groups. The chart data is presented as text when charts are disabled by the user or an admin

When placed in the My Moodle page, the user sees their own statistics.
When placed in the User Profile page, the user sees the statistics of the profile owner. Grade-related statistics are hidden to protect privacy in the profile page view.

This block works best in wide block regions or in the dock.
Charts are generated with the pChart 2.1.3 library (included).

This block makes a bunch of database queries. It has not been tested in a large production environment.

Version information

Version build number
Version release name
Can be updated to
0.2 (2012102300), 0.4 (2012111800)
MD5 Sum
Supported software
Moodle 2.3

Version control information

Version control system (VCS)
VCS repository URL

Default installation instructions for plugins of the type Blocks

  1. Make sure you have all the required versions.
  2. Download and unpack the block folder.
  3. Place the folder (eg "myblock") in the "blocks" subdirectory.
  4. Visit to complete the installation
  5. Turn editing on in any home or course page.
  6. Add the block to the page
  7. Visit the config link in the block for more options.