Blocks: Use Stats
block_use_stats
Maintained by
Valery Fremaux
Provides time base use stats indicators. The compilation library is used by the "training session" report plugin.
1002 sites
335 downloads
31 fans
Current versions available: 14
IMPORTANT NOTE FOR PLUGIN ARCHIVE AVAILABILITY
: due to the large amount of plugins supported, it is NOT affordable
for us to update moodle.org packages. Please use the Source Control urls
to our github to get plugins archives.
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.
Contributors
Valery Fremaux (Lead maintainer)
Please login to view contributors details and/or to contact them
Cheers.
Tout d'abord un grand merci pour vos travaux...j'utilise tous vos plugins...je suis un fan
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
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
I added your block but if I customize the language it does not leave me because of a problem with your block.
will there be an update for 3.2
Thank You
Peter
INSERT INTO mdlvn_block_use_stats_session (userid,sessionstart,sessionend,courses) VALUES(?,?,?,?)
[array (
0 => '76',
1 => '1488365176',
2 => 1489017289,
3 => '11,0',
)]
Error code: dmlwriteexception
Stack trace:
line 482 of /lib/dml/moodle_database.php: dml_write_exception thrown
line 1259 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
line 1305 of /lib/dml/mysqli_native_moodle_database.php: call to mysqli_native_moodle_database->insert_record_raw()
line 641 of /blocks/use_stats/locallib.php: call to mysqli_native_moodle_database->insert_record()
line 124 of /blocks/use_stats/detail.php: call to use_stats_aggregate_logs()
Hi, I would like to know how to access the information of use stats.
Thanks.
Thanks for your plugin use stats. Its very helpful.
Unfortunately I faced an issue. We have been using it for many months now and the things were okay. But on the end of October , after i gathered teachers working hours, many complained that the values they noticed are lot higher than the statistics i sent. Same issue was complained by many number of teachers. One has even sent a screen shot. According to few complains, statistics have been reset at the middle or at the end of the month.
Nothing has been changed from my side and i'm wondering what might have coursed this, as i have checked the hours many times to see no difference.
I would like to know the location of log files, is it a database table or a file containing data?
What might have coursed this? Have you came up with similar issues before? How to get around this and how to prevent it from happening in the future?
I really appreciate your quick response and help regarding this.
Thanks in advance.
my moodle version is 3.4.1+
i downloaded use blocks latest version Release 3.4.0 (build 2017090600)
but there are installation problem:
"[Error] Required Moodle version [2018110800]
Installation aborted due to validation failure"
what is wrong?
i can not installation Use Block latest release 3.4.0(build 2017090600) on moddle 3.4.1+
is it not compatible with moodle 3.4.1+ ???
In the report it shows "Other" appart from the time spent on lessons. What does this Other mean? Your prompt reply is highly appreciated. Thank you.