The LpEventReportQueue plugin tracks certain events and historizes them in a database queue. Entries in the queue can later be accessed via API by other Plugins (see below). Those Plugins are called Provider-Plugins, because they can transfer (=provide) the events to another system.
This approach decouples the collection and distribution of events into separate plugins (Queue + Provider). The Queue-Plugin can therefore be used in different contexts and even with multiple Providers at once.
Tracked events:
- LearningProgress (
no_attempted|in_progress|completed|failed)updateStatus
- Member (
Administrator|Tutor|Member)addParticipantdeleteParticipantaddToWaitingListremoveFromWaitingListcreateAssignmentdeleteAssignmentupdateAssignment
- Object
createdeletetoTrashundeleteupdateputObjectInTree
Table of Contents
- Clone from git or download and extract zip file
- Rename folder to LpEventReportQueue
- Copy folder to
<ilias root path>/Customizing/global/plugins/Services/Cron/CronHook/ - Navigate in your ILIAS installation to Administration -> Plugins and execute
- Actions/Update
- Actions/Refresh Languages
- Actions/Activate
After the plugin files have been installed as described above,
please install the composer dependencies:
cd Customizing/global/plugins/Services/Cron/CronHook/LpEventReportQueue
composer install --no-devThe confiugration for the plugin can be found here: Administration -> Plugins -> Actions -> Configure.
- Select which user data should be persisted (e.g.
firstname,lastname, or custom fields) - Select if events should be gathered for all repository objects, or courses only
After installation of the plugin, the queue will be empty - even if there has already been learning activity. This means, the queue starts in an incomplete state which can be "repaired" by initialization of the queue. The initialization can only be started once and will approximate a sequence of events to match the current state of the system (learning progress, course memberships, etc.).
"better than nothing"
Please bear in mind, that this reconstruction will NOT match the actual history: event dates can be incorrect and intermediate steps can be missing.
After activation, this plugin will work in the background.
- No dependencies
Please read the README.md at:
Customizing/global/plugins/Services/Cron/CronHook/LpEventReportQueue/classes/API/README.md
This is correct. Once run, the queue cannot reinitialized. If you want to
force a new initialization, you have to uninstall the plugin.
Caution: You may lose some data, because some informations are only
available while an event happens.