Timestat

Blocks ::: block_timestat
Maintained by Jorge C.
Timestat block measures users real activity time. Time is increased only when Moodle tab is active in browser.
Latest release:
311 sites
167 downloads
40 fans
Current versions available: 1

This block measure time of real activity done by Moodle users.

Installation

Install block in standard way (copy it to '/moodle/blocks' folder and click 'Notifications' in admin panel) or install it directly from the Admin panel.

Usage

The block only counts the time on the pages to which it has been added, so you need to add the block on the pages where you want to count the time. If you want to add the block on the course page and on all activity pages at once, please refer to the following documentation: https://docs.moodle.org/400/en/Block_settings#Making_a_block_sticky_throughout_a_course

The block accounts for student inactivity, identified by no interactions such as clicks or scrolling. To prevent counting time during periods of inactivity, the tracking feature automatically pauses when a student is inactive for an extended period. You can customize the maximum inactivity time in the settings. It's also possible to adjust how often the recorded time is saved.

The block offers a visual time counter, visible to users with specific permissions (block/timestat:viewtimer) or to all users enrolled in the course, if enabled in the settings. Time is tracked even if the block or counter isn't visible to a student. Additionally, the block includes a link to a detailed report on time spent, with filters for course, activity, and user. Initially, only roles such as editing teachers, teachers, course creators, managers, and admins can access this report. The 'block/timestat:viewreport' capability allows extending access to other roles.

To use the block within the Quiz attempt page, configure the quiz settings to 'Show blocks during the attempt' by going to Quiz > Edit Settings > Appearance > Show more.

You can access the plugin settings from Site Administration > Plugins > Blocks > Timestat.

More information

The version of the plugin for Moodle 2.9 and earlier was developed by: Barbara Dębska Łukasz Musiał Łukasz Sanokowski

Upgrade from Moodle 1.9 to Moodle 2.5 version was made thanks to contribution of: Classroom Revolution Lib Ertea Mart van der Niet Joseph Thibault

Upgrade from Moodle 3.11 to Moodle 4.2 version was made thanks to contribution of: Institut Obert de Catalunya (IOC)

License

Licensed under the GNU GPL License.

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2
Screenshot #3

Contributors

Jorge C. (Lead maintainer)
Łukasz Sanokowski: Original Developer
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Bed Prasad Dhakal
    Tue, 6 Jun 2017, 6:00 PM
    Hi!
    I am using Moodle 2.7 and installed Timestat (block_timestat_moodle26_2014041101) and I have added it to one course and it is calculating nothing!

    Why this is happening? Looking forward to get help!
  • Łukasz Sanokowski
    Thu, 8 Jun 2017, 5:06 PM
    Hi

    I don't remember if there is an legacy log present in Moodle 2.7 version, please check it, as it is required for this app to work.
  • Matt Watson
    Sun, 16 Jul 2017, 4:26 AM
    Lukasz, do you have any plans to update this plugin for Moodle 3.3?
  • Łukasz Sanokowski
    Mon, 24 Jul 2017, 3:58 PM
    Unfortunately, at present I have absolutely no free time to do this - updating from legacy log to current log API requires rewriting most of the code.
  • Łukasz Sanokowski
    Wed, 12 Feb 2020, 5:22 PM
    Hi All interested in using of this block, please take a look here: https://moodle.org/mod/forum/discuss.php?d=396939#p1600618
  • Plugins bot
    Sun, 31 Jul 2022, 11:01 PM
    Approval issue created: CONTRIB-9025
  • thierry ruissy
    Wed, 1 Feb 2023, 12:29 AM
    Hello,
    Is there any hope of this plugin being developed for Moodle 4, please?
    Have a nice day
  • Jorge C.
    Wed, 1 Feb 2023, 4:28 AM
    Hi thierry,
    Yes, it will be available soon.
  • thierry ruissy
    Wed, 1 Feb 2023, 10:15 PM
    Thanks a lot
  • Pris Ng
    Sat, 11 Feb 2023, 12:33 AM
    Hello,
    Can the plugin be use for SCORM activity? Where we have a SCORM activity open, its own window will open. The block maybe not on the SCORM's window? Would this plugin still work since it tracks time when the page its block was added to is active? Or can we add the block on the SCORM's window? Thank you so much.
  • Piotr M
    Thu, 6 Apr 2023, 10:50 PM
    Hello @JorgeC.
    is there any reason it doesn't work in 4.0? What I mean is that it doesn't show any records for any of the courses no matter the timeframe or other settings.
  • Lenard Hopper
    Tue, 9 May 2023, 7:49 PM
    does not work. the block does not show up.
  • Jorge C.
    Wed, 14 Feb 2024, 2:26 AM
    @Lenard Hopper The block offers a visual time counter, visible to users with specific permissions (block/timestat:viewtimer) or to all users enrolled in the course, if enabled in the settings. Time is tracked even if the block or counter isn't visible to a student.
  • Doug E. Wray
    Fri, 16 Feb 2024, 5:55 PM
    I hope to use the block to track time spent on quiz attempts, but, though the block tracks time correctly, it does not seem to leave any report: clicking on 'View report' simply leads to .../blocks/timestat/index.php?id=[my id]' reading 'File not found.'
  • Mão Doãn
    Sat, 17 Feb 2024, 4:46 PM
    Thank you for your contribution. Does it count if the user is active on an embedded page, such as clicking Quizlet flashcards embedded on Moodle?
1 2 3 4 5
Please login to post comments