Overview statistics

Reports ::: report_overviewstats
Maintained by Eric Bram
Produces various site and course report charts. The code has been designed in a way that makes adding more reports easy.
Latest release:
3665 sites
95 fans
Current versions available: 2

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


Screenshot #0
Screenshot #1


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

Comments RSS

Show comments
  • 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.

  • 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?
  • Mon, Jul 13, 2020, 3:47 PM

    It is part of your web server configuration - https://www.php.net/manual/en/info.configuration.php#ini.max-execution-time

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

  • 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?
  • 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.

  • 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.
  • 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.

  • Sun, Jan 31, 2021, 7:08 PM

    Getting HTTP ERROR 500 since upgrade to Moodle 3.10.
    Just updated to Moodle 3.10.1+ but it did not solve the problem.
    Uninstalled plugin and installed it again, but no luck.
    Any suggestions?
  • Mon, Feb 1, 2021, 3:58 PM

    Hi Oscar. HTTP error number 500 is a server side problem. Please search through your web server error logs for details.

  • Tue, Feb 2, 2021, 2:42 AM
    Hi David, this is is an issue with the plugin on the server side for Moodle v3.10, see your issue #10. I've made a forked patch for this but it doesn't appear that you allow PRs to your repo.
  • Tue, Feb 2, 2021, 3:09 AM
    I was wrong about the ability to make a PR -- I made one to the repo for this and tagged you
  • Wed, Feb 10, 2021, 8:07 PM
    Hello David,
    Thank you for the plugin! I have tested it on Moodle 3.9 and it works. Recently, I upgraded a site to Moodle 3.10! When I open the overview statistics I'm getting this error:

    Headers -> Status: 200

    Fatal error: require_once(): Failed opening required '...site root..../lib/coursecatlib.php'

    (include_path='...site root..../lib/pear:.:/opt/cpanel/ea-php73/root/usr/share/pear') in ...site root..../report/overviewstats/classes/chart_courses.php on line 26

    I checked the lib folder and the coursecatlib.php file is missing. I think this file has been removed in 3.10. Do you plan to update the plugin for v3.10?

  • Wed, Feb 10, 2021, 8:25 PM

    Hello Thodoris. I just released a new version 1.4 for Moodle 3.9 and 3.10 that should have this fixed - thank to the patch by Eric Bram (see earlier comments).

  • Fri, Jun 11, 2021, 6:56 PM
    once this plugins is installed, the link Add an activity or resource
    become accessible
1 2 3 4 5
Please login to post comments