Customised module to automate certain user settings. The module is currently intended to deactivate deceased users instead of deleting them.
This module preserves deceased users' profiles and automates the configured account changes through HumHub's queue.
Choose an optional Checkbox, Date or DateTime profile field:
Empty, invalid and future values do not mark a user as deceased. Dates use HumHub's current formatting time zone, with the application time zone as fallback. Required and unsupported fields are excluded. A removed field or the None selection safely disables automation, including already queued jobs.
Relevant profile changes, user changes and successful profile-image changes can queue an update. The queue delay is expressed in minutes. A worker must be running; a zero delay makes a job immediately available. Exclusive job IDs prevent duplicate pending jobs for the same user.
Date-based conditions are evaluated when an update or explicit reevaluation runs. A future date does not by itself schedule a job for that future date.
Deactivate deceased user changes the account status to deactivated, removes sessions and rotates the authentication key. The other core credentials remain stored.
Cleanup data and remove login retains the enabled profile, removes core passwords, sessions, external authentication mappings and related invitations, resets the user source to local, clears the email address and rotates the authentication key. This mode can additionally:
Users and existing posts are retained. Individual optional modules can define their own cleanup when disabled.
The configured deceased group replaces other group memberships. Administrator and default groups cannot be chosen as the target.
Reassign group on save immediately applies that group policy to deceased users and removes living users from the selected deceased group. Reevaluate all users queues updates for users whose current field marks them as deceased. Clearing a deceased flag stops pending updates; it does not reactivate an already processed account or restore removed data.
The mourning ribbon uses HumHub 1.19's AssetImage and filesystem APIs, including remote data mounts. Jobs can use the protected default image without a web theme or logged-in user.
A checksum prevents repeated processing of the same image. Existing has_black_bar flags remain compatible. Successful profile-image uploads, crops and deletions trigger reevaluation; banners and failed uploads do not replace the ribbon state.
When enabled by the administrator, new posts on deceased users' profiles become public, matching the existing module policy. This does not change who may create a post. Existing posts keep their original visibility. The configurable notice supports safe HTML formatting.