Table des matières
Installation
TrainingSessions report (Learning time)
Dependencies
The TrainingSessions report requires the installation of the following components (minimum versions of release 4.5.0):
- The Use Stats block (Activity measurement), version 2025052600 or higher
- The ticket authentication plugin, version 2012060400 or higher (used for the parallelisation of document generators)
- The APL Core library, version 2026010100 or higher
- The APL PDF library, version 2026010100 or higher (PDF document production)
Optional component: the Learning time report (report_learningtimecheck), needed for the working-day reports, and for carrying over the flat-rate time credits. In its absence, these reports are hidden.
Install these components before the report: Moodle refuses to install the report as long as a mandatory dependency is missing.
Installation
The TrainingSessions report is installed in the standard way in Moodle:
- Unzip the zip archive into the
reportdirectory of your Moodle distribution (the plugin folder must be namedtrainingsessions) - Navigate to the administration notifications to logically install the component
Note: The TrainingSessions report is very sensitive to the configuration of the Use Stats block, and notably to the following settings:
- Threshold (in minutes): beyond this delay between two successive traces, the analyser concludes that the user has disconnected (end-of-session heuristic)
- Exceptional end-of-session credit (in minutes): time added to the calculation at each supposed session end or discontinuity
- One session per course: if this setting is active, a new session starts every time the trace changes course
- Ignored modules: the time of these modules is not counted in the time sums (disabling of certain activities in the trace analysis)
- Enrolment filter: if this setting is active, traces are only compiled from the date of the earliest active enrolment
Patches
No Moodle core patch is required for 4.x versions. The formatting of Excel cells (durations, dates) is handled by the report itself.
Older versions of the report (Moodle 3.x and earlier) came with a patch of the Excel library. It is no longer needed and is no longer provided.
Index du Rapport de Sessions - Index des plugins - Back to catalogue index
