[Liam W] (RIP) Member Self Delete

[Liam W] (RIP) Member Self Delete 2.0.5 Patch Level 7

No permission to download
Peeps, with this addon, do I get to see the deleted users e-mail addresses somehow after they deleted their accounts?
Thanks!
You cannot see. But this is good idea. I think that would be good to keep email address in user deletion log.

You can see the following information in user deletion log.

1733687930976.webp
 
patch: Adds {e_mail} as variable to use on "Thread report". That means you can embed the user e-mail directly in the thread report.

File: /LiamW/AccountDelete/Service/Schedule.php
Line 81, mind the comma in the previous line.
PHP:
'{e_mail}' => $this->user->email,

OR replace your file with the attachment...
 

Attachments

Last edited:
@Painbaker
I'd need an extra feature.
Add an option to send a farewell email to people who deleted their account.
With text we can modify in settings.

I mention this because the majority of people who delete their account (according to reasons given) failed to read some basic community instructions no matter how prominent they are.
 
The ability to delete oneself is great and should be part of the XF core! However, I have found that a disproportionately high number of people delete themselves on a whim. Then they keep re-registering and sometimes even want their old names reinstated. That's why I uninstalled the feature. But apparently not completely!

#4 src/XF/Mvc/Entity/Finder.php(1445): XF\Db\AbstractAdapter->query('SELECT `xf_liam...')
#5 src/addons/LiamW/AccountDelete/Job/DeleteAccounts.php(17): XF\Mvc\Entity\Finder->fetch()
#6 src/XF/Job/Manager.php(275): LiamW\AccountDelete\Job\DeleteAccounts->run(8)
 
For that reason you can set to not immediately delete but be deleted after x days so if they change their minds it still there. If not gets automatically deleted.
 
@Ozzy47 please be so kind to add to wish list deleting user's XFMG albums in finaliseDeleteDisable() function:
Code:
$albumRepo = \XF::repository('XFMG:Album');
$albumList = $albumRepo->findAlbumsForUser($this->user);
$albums = $albumList->fetch();
foreach ($albums AS $album)
{
    /** @var \XFMG\Service\Album\Deleter $deleter */
    $deleter = $this->service('XFMG:Album\Deleter', $album);
    $deleter->delete('soft');
}
 
How is this still not a part of core Xenforo functionality?

At this point, not having this feature literally means your forum breaks laws in multiple states, such as California, Virginia, Colorado and others, and in all of European Union, and the UK.

I don't think it's as clear cut as being illegal, shades of gray but it is essential in many jurisdictions. This functionality should 100% be base.
 
Back
Top Bottom