Your Moodle version

Blocks: Use Stats

Maintained by Picture of Valery Fremaux Valery Fremaux
Provides time base use stats indicators. The compilation library is used by the "training session" report plugin.

This block samples the user's log records and thresholds the activity backtrace. The main hypothesis is that any activity type unless offline activity or in-classroom activity may underlie a constant loggin track generation.

The block compiles all log events and summarizes all intervals larger than an adjustable threshold. Compilation are also made on a course basis.

The more Moodle is used as a daily content editing tool, the more accurate should be this report.


This plugin is part of set Training session report.


Screenshot #0
Screenshot #1


Picture of Valery Fremaux
Valery Fremaux (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • MD shot of me from his iphone4
    Tue, Sep 18, 2012, 3:28 PM
    Hi Valery,
    just trying Use stats here and 'block_use_stats_capturemodules' settings seems to have typo for default value of 'assignment' (typo has 2 e's)
  • Daniel
    Thu, Jul 4, 2013, 2:24 PM
    Are you considering porting this very useful module to Moodle 2.5?
    Thank you in advance.
    En anglais dans le texte... Merci Google traductor !
  • Picture of Adrien Jamot
    Thu, Aug 1, 2013, 6:21 PM
    Bonjour Valery,

    Merci pour ce plugin.
    Il y a cependant une erreur dans le fichier detail.php, il manque un echo devant le $OUTPUT->footer().

  • Daniel
    Tue, Aug 19, 2014, 12:10 AM
    Ce plugin sera-t-il disponible pour Moodle 2.7 ?
  • Picture of thierry ruissy
    Sat, Nov 29, 2014, 2:29 AM
    Est ce que la dernière version 2.7.0 du Plugin utilise la nouvelle table des logs de Moodle ?
  • Picture of Valery Fremaux
    Sat, Nov 29, 2014, 2:58 AM
    Non pas encore, en version 2.7 il 'appuie encore sur la table "ancienne" que l'on peut réactiver par la configuration
  • Picture of thierry ruissy
    Wed, Dec 10, 2014, 12:32 AM
    Oui mais ça double les logs. Est il prévu dans les futures versions d'utiliser la nouvelle table ? et si oui à quelle échéance.
    Merci de votre réponse.
  • C'est moi :-)
    Wed, Oct 14, 2015, 5:42 PM
    Un autre problème : impossible de supprimer ce bloc dans un cours ! Une nouvelle version corrective et améliorée est-elle prévue ?
    Manifestement, le mois de mars est passé depuis un moment :
  • Picture of Feng Sun
    Thu, Jun 30, 2016, 12:10 AM
    I like this block that shows the user login history in different courses and hours that they spend in each course. How can I download this data and open it in Excel? Thanks.
  • Picture of Valery Fremaux
    Thu, Jun 30, 2016, 5:42 PM
    Hi Feng, the use stat block provides raw results that will be rendered and be easier to extract using the associated trainingsessions report.
Please login to post comments