{{ :blocks:logo-apl.png?nolink |}} ===== Installation ===== ===== TrainingSessions report (Learning time) ===== ==== Dependencies ==== The TrainingSessions report requires the installation of the following components (minimum versions of release 4.5.0): * The [[:blocks:usestats|Use Stats]] block (Activity measurement), version 2025052600 or higher * The [[:auth:ticket|ticket authentication]] plugin, version 2012060400 or higher (used for the parallelisation of document generators) * The [[:local:aplcore|APL Core]] library, version 2026010100 or higher * The [[:local:aplpdf|APL PDF]] library, version 2026010100 or higher (PDF document production) Optional component: the [[report:learningtimecheck|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 ''report'' directory of your Moodle distribution (the plugin folder must be named ''trainingsessions'') - Navigate to the administration notifications to logically install the component Note: The TrainingSessions report is very sensitive to the configuration of the [[:blocks:usestats|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. --------- [[:report:trainingsessions|Index du Rapport de Sessions]] - [[:plugins|Index des plugins]] - [[:start|Back to catalogue index]]