Blocks: Use Stats

block_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.
457 sites
487 downloads
15 fans

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.

Sets

This plugin is part of set Training session report.

Screenshots

Screenshot #0
Screenshot #1

Contributors

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

Comments RSS

Show comments
  • Daniel
    Thu, 4 Jul 2013, 2:24 PM
    Hello,
    Are you considering porting this very useful module to Moodle 2.5?
    Thank you in advance.
    Daniel
    En anglais dans le texte... Merci Google traductor !
  • Picture of Adrien Jamot
    Thu, 1 Aug 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().

    Adrien
  • Daniel
    Tue, 19 Aug 2014, 12:10 AM
    Bonjour,
    Ce plugin sera-t-il disponible pour Moodle 2.7 ?
    Daniel
  • Picture of thierry ruissy
    Sat, 29 Nov 2014, 2:29 AM
    Bonjour,
    Est ce que la dernière version 2.7.0 du Plugin utilise la nouvelle table des logs de Moodle ?
    Thierry
  • Picture of Valery Fremaux
    Sat, 29 Nov 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, 10 Dec 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, 14 Oct 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 :
    https://moodle.org/mod/forum/discuss.php?d=280817
  • Picture of Feng Sun
    Thu, 30 Jun 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, 30 Jun 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.
    Cheers.
  • Picture of Laurent Labidi
    Fri, 23 Sep 2016, 11:08 PM
    Bonjour,
    Tout d'abord un grand merci pour vos travaux...j'utilise tous vos plugins...je suis un fan smile

    Pour la première fois, je rencontre un soucis: je tente d'utiliser votre block Use stats avec une version 3.1+ de moodle + thème Adaptable...mais votre block (2006021700) (que j'avais l'habitude d'utiliser dans les version précédentes) ne veut pas s'afficher. L'installation se passe bien, la rajout de bloc aussi. J'ai accès aux paramètres du plug (d'ailleurs qui s'affiche dans la vue d'ensemble des plugins "2.7.0 (build 2016051700)" et non pas 3.1.0)...mais sur la page d'accueil où je souhaite l'utiliser, le bloc s'affiche mais reste vide en mode édition et disparaît complètement lorsque je quitte le mode édition.

    Auriez-vous une solution pour ce problème et si non, auriez vous une piste pour le résoudre...thème ? Version ?

    Bien cordialement
  • Picture of Valery Fremaux
    Fri, 23 Sep 2016, 11:18 PM
    Je commence à doute de ma publication 3.1.... je vais remettre le package. Il y des modifications importantes en 3.1 et des abandons d'anciennes fonctions.
  • Picture of Samuli Koskinen
    Tue, 10 Jan 2017, 10:15 PM
    Hi Valery,

    I added your block to a course, and the course site failed to load after that (using the Essential theme). Anyway, I would like to know the SQL query behind the total time spent on course. I've googled for hours and can't find any examples on the SQL how to do this. I would greatly appreciate if you could shed some light on this subject.

    Cheers,
    Samuli
  • Monica
    Thu, 12 Jan 2017, 6:17 PM
    Hi valeria,

    I added your block but if I customize the language it does not leave me because of a problem with your block.
  • Picture of Peter Sereinigg
    Fri, 27 Jan 2017, 6:19 PM
    Hi Valery,
    will there be an update for 3.2
    Thank You
    Peter
  • Picture of Valery Fremaux
    Wed, 22 Feb 2017, 6:40 PM
    Hi all, new version of the use_stats plugins has been deeply reviewed to optimize many of the queries and time records processing. This could be done thaks to some of customers that had imperative high duty report output. Compiling time correctly in Moodle considering all possible bias (technical and behavioural) is far from a trivial calculation, but we hope we come now to enough maturity of the process. We ye would like in the future to be more performant on time range queries. At the moment a new caching strategy has been added to save precompilation results for a user/exact timerange pair. I'm sure there are better ways to optimize this. Cheers. Note that the Training Sessions report also has been reviewed and is on publishing process. Note finally that I am changing a bit the publishing strategy. Users are asking more and more accuracy and reliability of the plugins. This needs a huge work on my 130 plugins. The new distribution strategy will offer 2 distributions of the qualit demanding plugins. Community is published here for anyone. Pro version will add performance, additional productvity features, more formats, interoperability, webservices, required by a professional exploitation of the plugins. Cheers
1 2
Please login to post comments