Site Statistics

Blocks ::: block_site_stats
Maintained by Santosh Nagargoje
This block displays the site statistics (total number of active users, courses, activities and disk usage) on dashboard. It also provides hyperlinks to the user management, course management and activity management page.
Latest release:
106 sites
66 downloads
6 fans
Current versions available: 1

This block is generally used to show the site statistics such as total number of active users, courses, activities and disk usage on dashboard.

This block can be added & viewed by administrator and manager role. Other user roles can also view this block if they are allowed to view it.

This block provides shortcuts to user management, course management and activity management through the hyperlinks added to the counts.

This block comes with English, Marathi and Hindi language strings.

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2

Contributors

Santosh Nagargoje (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

แสดงความคิดเห็น
  • Plugins bot
    จ., 6 พ.ค. 2024, 4:40 AM
    Approval issue created: CONTRIB-9564
  • Ricardo Caiado
    จ., 30 ธ.ค. 2024, 3:57 AM
    Hi,

    Just installed the latest version (1.0.1), but I can not find it when I try to insert the block in a course page.

    Need some guidance here.

    Ricardo
  • Santosh Nagargoje
    จ., 30 ธ.ค. 2024, 1:12 PM
    Hi Ricardo,
    This block can be added on dashboard page only. So, try to add it on dashboard page.
  • Ricardo Caiado
    จ., 30 ธ.ค. 2024, 11:49 PM
    Hi, Santossh

    It works! Thanks!

    But why the "Disk Usage" has a "-"?

    Ricardo
  • Santosh Nagargoje
    พฤ., 2 ม.ค. 2025, 11:14 PM
    Hi Ricardo,
    That will get updated whenever disk usage task gets executed. So please schedule your core cron to every minute.
    Also, you can run that scheduled task from Site Administration --> Server --> Scheduled task
    Thanks,
  • Ricardo Caiado
    พฤ., 2 ม.ค. 2025, 11:48 PM
    Hi, Santosh

    Cron is running every minute. But the scheduled task "\block_site_stats\task\diskusage" is set do run at 00:00 (default value)

    Execute scheduled task: Calculate Disk Usage (block_site_stats\task\diskusage)
    ... started 00:00:01. Current memory use 28,9 Mb.
    ... used 0 dbqueries
    ... used 4.0226199626923 seconds
    Scheduled task complete: Calculate Disk Usage (block_site_stats\task\diskusage)

    Only when I ran the scheduled task manually, the HD usage info appeared.

    Ricardo
  • Santosh Nagargoje
    ศ., 3 ม.ค. 2025, 1:24 AM
    Hi Ricardo,
    Yes, the diskusage task is scheduled at 00:00 so that will calculate that once in a day. if you purge all cache after that schedule then that time it will erase the data. So, I suggest you reschedule diskusage task by editing it to every 15 or 30 minutes as per your requirement.
    Hope this will help you. Feel free to ask if you face any issue.
    Thanks
  • Ricardo Caiado
    ศ., 3 ม.ค. 2025, 1:42 AM
    Hi, Santosh

    My mistake!

    I had a cron job that purge all caches at 00:05.

    The plugin runs as expected!

    Ricardo

  • Santosh Nagargoje
    ศ., 3 ม.ค. 2025, 1:52 AM
    No problem. Thank you
  • Santosh Nagargoje
    ศ., 3 ม.ค. 2025, 1:53 AM
    Hi Ricardo, I have released new version with bug fixes. please feel free to download, install it and let me know if any issue.
  • Ricardo Caiado
    ศ., 3 ม.ค. 2025, 2:13 AM
    Plugin updated to 1.0.2!
Please login to post comments