
Inactive User Manager
| Version | 1.1.2 |
| Type | Plugin |
| Category | Administration |
| Author | Fred |
| License | GPL-3.0 |
| Flatboard | 5.3.0 |
Inactive User Manager — Flatboard Plugin
Identifies and manages the deletion of inactive users (0 messages) after a configurable number of days.
Features
| Feature | Description |
|---|---|
| Automatic detection | Lists all accounts registered for X days with no messages |
| Warning email | Sends a custom HTML email before deletion |
| Automatic deletion | Triggers deletion once per day in the background |
| Manual deletion | Admin interface for single or bulk deletion |
| Global counter | Counts all deletions since plugin activation |
| Exclusions | Administrators and moderators excluded by default |
| Configurable delay | Number of inactivity days and delay after warning |
Configuration
| Setting | Description | Default |
|---|---|---|
inactive_days | Minimum inactivity days | 30 |
auto_delete | Daily automatic deletion | disabled |
send_warning_email | Send email before deletion | disabled |
warning_days_before | Delay (days) between email and deletion | 7 |
exclude_admin | Exclude admins | yes |
exclude_moderator | Exclude moderators | yes |
Automatic deletion logic
Each admin request (max once every 23h):
├── If "warning email" enabled:
│ ├── Send email to inactive users without warning → mark "_ieum_warning_sent"
│ └── Delete those whose email is older than "warning_days_before" days
└── Otherwise:
└── Directly delete all inactive users
File structure
InactiveUserManager/
├── plugin.json Configuration & metadata
├── InactiveUserManagerPlugin.php Boot, hooks, routes, menu
├── InactiveUserManagerService.php Business logic (detection, email, deletion)
├── InactiveUserManagerController.php Admin HTTP controller
├── views/
│ └── admin.php Admin interface
├── langs/
│ ├── fr.json French translations
│ └── en.json English translations
├── assets/css/
│ └── style.css Interface styles
└── README.md
Deletion counter
The total_deleted counter is stored in plugin.json > plugin.total_deleted and is incremented with each deletion (automatic or manual). The plugin activation date is stored in activated_at.
Permissions
| Permission | Default groups |
|---|---|
inactiveusers.view | Admin, Moderator |
inactiveusers.delete | Admin only |
License
GPL3 — Flatboard Team
Edited on Mar 31, 2026 By Fred .