blocks:usestats:includeignoremodules

Use Stats block: Including and excluding modules

Two settings of the block's general configuration allow treating some module types separately in the time computation. Each contains a list of technical module names separated by commas (for example forum,quiz). Write the list without spaces around the commas.

Ignored modules

Setting block_use_stats | ignoremodules.

The traces of these modules are excluded from the computation: their duration is added to no counter (neither module, nor section, nor course total). Use this setting for modules whose use must never be counted as training time.

Captured modules

Setting block_use_stats | capturemodules (default value: learningtimecheck).

The time spent on these modules is not counted for themselves: their duration is put on hold then added to the next significant trace. The time is therefore not lost, it is attributed to the activity that follows. This processing suits tracking or navigation modules, such as progress tracking, whose time you do not want to see appear as a training activity.

Scope

  • The settings apply to the traces of the course being compiled. The traces of the other courses are counted for the total of their course, without per-module detail.
  • Logins, logouts and non-module traces are not concerned.
  • A change to these lists does not retroactively affect the aggregates already in cache nor the times already compiled: you must wait for the aggregate cache to be renewed or rerun the compilation by changing the last compilation date.


Back to the component index - Back to plugins index - Back to catalogue

blocks/usestats/includeignoremodules.txt · Dernière modification : de 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki