TimeStat block is a plugin maintained by Łukasz Sanokowski, which can measure the real time activity of students and the time is increased only when Moodle tab is active in student’s browser window.
Measured activity time is incremented only when Moodle tab in web browser is active (it is done via Javascript). It also allows to check time spent in each module separately.

Timestat Block
Timestat Block

To install the TimeStat block to your Moodle site, you need to change the core Moodle code which is not recommended.

Post Pages - Post Inline - WIRIS
    • Download and extract the TimStat block in the your_moodle_site/blocks and visit the notifications page as an administrator and finish the installation process.
    • Open the file your_moodle_site/lib/outputrenderers.php in a text editor and Add following line of code at end of function standard_end_of_body_html()

so it should look like:
public function standard_end_of_body_html() {
global $CFG;

return $output;

  • Also make sure that you have JavaScript in your browser as it will works only on the JavaScript enabled browsers.
  • Add the block to any course using “Add a block” with the Editing Mode On.

To download the latest version of the TimeStat Block please check out the link: https://moodle.org/plugins/view/block_timestat

Previous articleCall for Presentations for MoodleMoot US 2015 is open
Next articleMoodleMoot US 2015 Call for Presentations is Now Open!


Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.