Back to marketplace
130

User automation Module

Buy now

Customised module to automate certain user settings. The module is currently intended to deactivate deceased users instead of deleting them.

User automation

This module preserves deceased users' profiles and automates the configured account changes through HumHub's queue.

Deceased field

Choose an optional Checkbox, Date or DateTime profile field:

  • Checkbox: the checked value marks the user as deceased.
  • Date: a valid date takes effect at the start of that day.
  • DateTime: a valid timestamp takes effect when that time is reached.

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.

Lockdown modes

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:

  • Disable optional profile modules, while retaining mandatory or forced modules.
  • Remove friendships and followers in both directions.
  • Remove space memberships.
  • Hide the profile from the member directory.

Users and existing posts are retained. Individual optional modules can define their own cleanup when disabled.

Groups and reevaluation

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.

Profile images

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.

Public contributions

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.

Unverified Community Module
Contributed by the community — not tested or maintained by the HumHub project team. May cause instability or stop working after future updates.

Module Information

Price:
Request offer
Latest version release:
1.1.0 - October 31, 2026
Publisher:
Author(s):
Compatibility:
HumHub 1.15 - 1.19