Reports: Overview statistics

report_overviewstats
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.
2625 sites
925 downloads
82 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.

Installation

  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

Sets

This plugin is part of set Seeking new maintainer.

Screenshots

Screenshot #0
Screenshot #1

Contributors

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 Shashank Gupta
    Tue, Oct 9, 2018, 2:57 PM
    can it be installed on moodle 3.5+ version
  • Picture of DualCube Team
    Mon, Oct 22, 2018, 5:59 PM
    Yes, Shashank. You can use it with Moodle 3.5+
    Thank you.
  • Picture of Mahesh Kumar
    Thu, May 23, 2019, 2:52 PM
    Hello DualCUbe Team,

    I am using this plugin to check some stats on my Moodle website, however the graph only shows the last monthly activity, is it possible that we can select a duration of date of which we want the stats?

    Regards,
  • Picture of DualCube Team
    Fri, May 24, 2019, 1:31 PM
    Dear Mahesh,
    Right now the current version does not have this feature. But it can be achieved via custom coding. You can email your requirement to suman.d@dualcube.com
    Thank you.
  • 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
    Hi,

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

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

  • 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...
1 2 3 4 5
Please login to post comments