[Liam W] (RIP) Member Self Delete

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

No permission to download

Liam W

in memoriam 1998-2020
Liam W submitted a new resource:

Self Account Deletion - Allow users to delete their own accounts.

This add-on gives your members the ability to delete their own accounts.

You have the option of setting a 'cool down period', during which time access to the board is restricted to a notice that their account is scheduled for deletion - they can cancel deletion before the cool down period ends.

Users are logged out when requesting deletion, and an email confirming them of their decision is sent.

Read more about this resource...
 
Mass deleting posts will wreck many discussions. Completely removing accounts opens the floodgates to abuse and re-spawning of trolls, spammers, etc.
Forum accounts are not social media account that can simply be deleted. At least not as soon as the account has had any content, reports or warnings associated to it. It needs to be configurable so that all personal content can be deleted without destroying community content and with keeping track of abusive and duplicate accounts.

Users need to be able to come back and reactivate their account.
 
I think the messages remain when a member has deleted his account. Please confirm.

Yes, it's basically the same as an administrator deleting an account via the admin panel, just wrapped around some warnings and checks.

Liam
 
I got an error during installation. What can i do?

Code:
An exception occurred: [LogicException] Unknown relation AccountDelete accessed on xf_user in /var/www/vhosts/it-maku.com/xxxx/www/release_10/src/XF/Mvc/Entity/Finder.php on line 591

XF\Mvc\Entity\Finder->join() in /var/www/vhosts/it-maku.com/xxxx/www/release_10/src/XF/Mvc/Entity/Finder.php at line 528
XF\Mvc\Entity\Finder->with() in /var/www/vhosts/it-maku.com/xxxx/www/release_10/src/XF/Mvc/Entity/Manager.php at line 129
XF\Mvc\Entity\Manager->find() in /var/www/vhosts/it-maku.com/xxxx/www/release_10/src/XF/Repository/User.php at line 25
XF\Repository\User->getVisitor() in /var/www/vhosts/it-maku.com/xxxx/www/release_10/src/XF/App.php at line 1319
XF\App->getVisitorFromSession() in /var/www/vhosts/it-maku.com/xxxx/www/release_10/src/XF/Admin/App.php at line 52
XF\Admin\App->start() in /var/www/vhosts/it-maku.com/xxxx/www/release_10/src/XF/App.php at line 1641
XF\App->run() in /var/www/vhosts/it-maku.com/xxxx/www/release_10/src/XF.php at line 329
XF::runApp() in /var/www/vhosts/it-maku.com/xxxx/www/release_10/admin.php at line 13
 
I got an error during installation. What can i do?

Code:
An exception occurred: [LogicException] Unknown relation AccountDelete accessed on xf_user in /var/www/vhosts/it-maku.com/xxxx/www/release_10/src/XF/Mvc/Entity/Finder.php on line 591

XF\Mvc\Entity\Finder->join() in /var/www/vhosts/it-maku.com/xxxx/www/release_10/src/XF/Mvc/Entity/Finder.php at line 528
XF\Mvc\Entity\Finder->with() in /var/www/vhosts/it-maku.com/xxxx/www/release_10/src/XF/Mvc/Entity/Manager.php at line 129
XF\Mvc\Entity\Manager->find() in /var/www/vhosts/it-maku.com/xxxx/www/release_10/src/XF/Repository/User.php at line 25
XF\Repository\User->getVisitor() in /var/www/vhosts/it-maku.com/xxxx/www/release_10/src/XF/App.php at line 1319
XF\App->getVisitorFromSession() in /var/www/vhosts/it-maku.com/xxxx/www/release_10/src/XF/Admin/App.php at line 52
XF\Admin\App->start() in /var/www/vhosts/it-maku.com/xxxx/www/release_10/src/XF/App.php at line 1641
XF\App->run() in /var/www/vhosts/it-maku.com/xxxx/www/release_10/src/XF.php at line 329
XF::runApp() in /var/www/vhosts/it-maku.com/xxxx/www/release_10/admin.php at line 13

That's actually an XF bug, and will be resolved in Beta 1:

https://xf2demo.xenforo.com/threads/unknown-relation-error-installing-add-on.2829/#post-21412

For testing, if you disable listeners in your config file, it'll install. You can then re-enable listeners.

Liam
 
Since the xF2.0 beta1 I get the error processing:
Server error log
Exception: Could not get runner for job LiamW\AccountDelete:AccountDelete (unique: liamw_deleteAccounts). Skipping. src/XF/Job/Manager.php:179

Stack trace
#0 /var/www/xf2test.xxx.com/htdocs/src/XF/Job/Manager.php(140): XF\Job\Manager->runJobInternal(Array, 7.8940179347992)
#1 /var/www/xf2test.xxx.com/htdocs/src/XF/Job/Manager.php(76): XF\Job\Manager->runJobEntry(Array, 7.8940179347992)
#2 /var/www/xf2test.xxx.com/htdocs/job.php(15): XF\Job\Manager->runQueue(false, 8)
#3 {main}

Request state
array(3) {
["url"] => string(8) "/job.php"
["_GET"] => array(0) { }
["_POST"] => array(0) { } }
 
i get spammed this error

Code:
    Exception: Could not get runner for job LiamW\AccountDelete:AccountDelete (unique: liamw_deleteAccounts). Skipping. src/XF/Job/Manager.php:227 

    Generiert durch: Unbekanntes Benutzerkonto Januar 18, 2018 um 10:35 Uhr 

Stapelverfolgung

#0 src/XF/Job/Manager.php(187): XF\Job\Manager->runJobInternal(Array, 7.9914739131927)
#1 src/XF/Job/Manager.php(76): XF\Job\Manager->runJobEntry(Array, 7.9914739131927)
#2 job.php(15): XF\Job\Manager->runQueue(false, 8)
#3 {main}

Benötigter Status

array(4) {
  ["url"] => string(8) "/job.php"
  ["referrer"] => string(84) "https://xxxxxxxx/index.php?threads/homepage-update-von-xf1-zu-xf2.403/article-edit"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 
With the new feature in XF 2.0.6 of renaming a user in his posts after deletion, can we have that feature added in this addon, please?

Also, a notice would be nice on the deletion page telling the user that their content remains in the forum.
 
Code:
Exception: Could not get runner for job LiamW\AccountDelete:AccountDelete (unique: liamw_deleteAccounts). Skipping. src/XF/Job/Manager.php:227
Generated by: Unknown account May 29, 2018 at 9:30 AM
Stack trace
#0 src/XF/Job/Manager.php(187): XF\Job\Manager->runJobInternal(Array, 7.9999990463257)
#1 src/XF/Job/Manager.php(76): XF\Job\Manager->runJobEntry(Array, 7.9999990463257)
#2 job.php(15): XF\Job\Manager->runQueue(false, 8)
#3 {main}
Request state
array(4) {
  ["url"] => string(8) "/job.php"
  ["referrer"] => string(74) "https://x.com/admin.php?permissions/user-groups/registered.2/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 
The same here. Will there be an update to fix that?

Code:
Exception: Could not get runner for job LiamW\AccountDelete:AccountDelete (unique: liamw_deleteAccounts). Skipping. src/XF/Job/Manager.php:227
Generated by: Unknown account Aug 2, 2018 at 2:31 PM
Stack trace
#0 src/XF/Job/Manager.php(187): XF\Job\Manager->runJobInternal(Array, 7.9999980926514)
#1 src/XF/Job/Manager.php(76): XF\Job\Manager->runJobEntry(Array, 7.9999980926514)
#2 job.php(15): XF\Job\Manager->runQueue(false, 8)
#3 {main}
Request state
array(4) {
  ["url"] => string(8) "/job.php"
  ["referrer"] => string(22) "https://domain.com/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 
Update it the same way you originally installed it. Upload the files in the upload directory to the relevant relative locations on your server (overwriting existing files), and then upgrade via the admin control panel.

Liam
 
Top Bottom