Extensions:Deactivate Account

From Lorekeeper Wiki
Revision as of 11:36, 6 April 2022 by Preimpression (talk | contribs) (Content)
Jump to navigation Jump to search
Deactivate Accounts
Description Allow admins and users to deactivate their accounts.
Author(s) Preimpression
Status testing
Github extension/deactivate_account
LK Version 2.0.0
Contains a Migration



Have your users ever asked for the ability to delete their accounts? Have you asked the Lorekeeper server only to be told that no, it's impossible, due to all the things linked to users?

This extension allows a sort of soft-deletion without any actual deletion. Acting similarly to Banning, this additionally hides data from user profiles and even allows users to reactivate if they so wish. It also removes rank, cancels any design updates, trades, and submissions, and makes display names somewhat transparent.

This also adjusts the user index to not show deactivated accounts but instead provides a new index for deactivated accounts.

Installation

- Pull the extension - Run `php artisan migrate` - Run `php artisan optimize` - Run `php artisan update-extension-tracker` - Run `php artisan add-site-settings`

Configuration

There are three options in the site settings, all copied from the Blacklist options. These change how the link to the deactivated users link is shown - regardless, staff members will be able to access the page and will see the link.

Usage

If you don't want users to be able to reactivate, you can remove the button from their page. They'll be able to be reactivated by staff regardless.

Troubleshooting

Find me in the LK discord, Uri#6669 - feel free to tag me in your tickets!