Reports: Overview statistics

Maintained by Picture of David MudrákDavid Mudrák
Produces various site and course report charts. The code has been designed in a way that makes adding more reports easy.
2950 sites
87 fans
Current versions available: 1

For producing the graphs, YUI Charts module is used. The code is using modern Moodle development techniques and patterns, such as using LESS for producing CSS files and Shifter to compose the Javascript modules.


  1. Extract the folder 'overviewstats' into your {Moodle root directory}/report/ folder
  2. Visit the main administration page (so called Notifications)
  3. Follow the installation wizard


This plugin is part of set Seeking new maintainer.


Screenshot #0
Screenshot #1


Picture of David Mudrák
David Mudrák (Lead maintainer): Original author
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Dimitar Ivanov
    Sat, Jun 8, 2019, 5:44 AM
    It feels like the Source control URL (github[dot]com/mudrd8mz/moodle-report_overviewstats) is no longer relevant, last update on this repository was 4 years ago. Where is the current source code hosted? Can you please update the link in the description?
  • Picture of Oleksandr Szpinkowski
    Sun, Jun 16, 2019, 3:52 AM
    Tell me, please. In which administration menu item you can see the work of this plugin?
  • Ricardo Caiado
    Fri, Feb 7, 2020, 7:16 PM

    Is it expected to have to wait too long for the graphics to be generated?

  • Picture of Asher Baig
    Thu, Mar 26, 2020, 1:08 AM
    Any tutorial to use it. As after installation what should do next?
  • Picture of Mahmood Naderan
    Sat, Apr 4, 2020, 4:24 AM
    Hi and thank you for this useful plugin.
    I don't know what happened that today when I open the overview statistic page, I just see a blank page. the path truly goes to /report/overviewstats/index.php

    Any guess for debugging? I don't see any entry in /var/log/apache2/error.log
  • Picture of David Mudrák
    Tue, Apr 28, 2020, 4:49 PM

    Empty page is a typical symptom of a fatal PHP error (such as all the memory exhausted) while displaying the error messages is disabled. Check your PHP and Moodle settings on displaying the error messages.

  • Picture of Mahmood Naderan
    Sun, Jun 21, 2020, 4:28 AM
    Thanks for this useful plugin. I would like to know if it is possible to change the period? By default is shows for 1 month. I would like to change that to 3 months. How can I do that in the source code?
  • Picture of David Mudrák
    Mon, Jun 22, 2020, 2:39 PM

    Hello Mahmood. I am happy you found the plugin useful. At the moment, the time period of 30 days is hard-coded in a few places in the code. You may try to experiment with extending that period by changing the value in the prepare_data() method of the chart subclasses.

  • Picture of Mahmood Naderan
    Mon, Jul 13, 2020, 4:34 AM
    Hi David, I get this error
    Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/html/report/overviewstats/classes/chart_logins.php on line 99
    That line is
    foreach (array_reverse($lastmonth, true) as $timestamp => $loggedin) {
    Where is that 30 seconds hard coded?
  • Picture of David Mudrák
    Mon, Jul 13, 2020, 3:47 PM

    It is part of your web server configuration -

    I am thinking thought why is it taking so long, it shouldn't really. Have you performed some other modifications?

  • Picture of Mahmood Naderan
    Mon, Jul 13, 2020, 5:00 PM
    Thank you. I changed that to 50 seconds and now I can see the chart. I haven't modified the plugin yet. Our site have about 9500 users witch 3500 daily logins according to the plugin. Don't know if it is a big site or no...
  • Ricardo Caiado
    Tue, Aug 18, 2020, 4:41 AM
    Is it compatible with 3.9+ version of Moodle?
  • Picture of David Mudrák
    Thu, Aug 20, 2020, 6:02 PM

    I haven't tested myself. Generally it should just work and the Stats tab shows there are few hundreds 3.9 sites having this installed. I believe it works same well in 3.9.

  • Picture of Петър Петров
    Sun, Sep 13, 2020, 4:14 PM
    Hi! Unfortunately, I cannot install the plugin on a fresh installation of Moodle 3.9. I had a test version of 3.8 and installed it there with no issue.
  • Picture of David Mudrák
    Mon, Sep 14, 2020, 1:55 PM

    Thank you Петър fo raising this. I just tried myself and I had no problems with installing the report into a 3.9 site. Maybe you could provide more detailed description of the problem you experienced - please feel encouraged to use the plugin's bug tracker to do so.

1 2 3 4 5
Please login to post comments