Extension

BlueSpice Extension: BlueSpiceFoundation

Usage

This script, commonly referred to as a "housekeeping" script, automatically deactivates users based on their last login timestamp. All deactivations are logged in Special:BlockList.

  • A threshold for deactivation must be defined.
  • To run the script daily, a cron job needs to be set up, as this is a standalone script.
  • The script should be placed in the root maintenance folder.
  • For customers using KSE, the script can be placed there, and a RunJobsTrigger handler can be configured to ensure automatic execution.

The script is called as:

 php extensions/BlueSpiceFoundation/maintenance/BlockInactiveUsers.php

with optional parameter threshold "Block users not active for this number of days":

--treshold={numerofdays}

Example:

 php extensions/BlueSpiceFoundation/maintenance/BlockInactiveUsers.php  --threshold=180

Customization

  • Available only as a customization: Users are automatically unblocked upon new registration.



To submit feedback about this documentation, visit our community forum.