Adriano Faria Posted October 15, 2013 Share Posted October 15, 2013 File Name: Delete My Account File Submitter: Adriano Faria File Submitted: 15 Oct 2013 File Category: Utilities Supported Versions: IP.Board 3.3.x, IP.Board 3.4.x This hook will allow users from specific user groups to request to delete their account. All requests will be reviewed by Moderating Team (admins and supermoderators), directly on ModeratorCP -> Manage Members -> Delete Accounts tab, to approve or deny the request. The whole content from user (topics, posts, attachments, polls, etc) will be preserved; only the account will be deleted.Features: Admins can choose which user groups can request delete account and how many posts a user must have to do it Users can request to delete their accouts directly on User Control Panel (My Settings) Them Moderation team will review each request to approve it or deny it on Moderator CP (new tab on Manage Members) A Global message will be displayed to warn Moderating Team when there's a new request A Notification will be sent to Moderating Team when there's a new request Each action of Moderating Team (approve or deny a request) is logged on Admin Logs here to download this file Link to comment Share on other sites More sharing options...
Aiwa Posted October 15, 2013 Share Posted October 15, 2013 Nice idea. It would be nice, however, if you were given the option to re-associate content during the deletion process. Either associate all content for deleted accounts to a single member 'Member Deleted', configured in the ACP, or to choose which member to assign the content to upon deletion, if you wanted a different one each time. Link to comment Share on other sites More sharing options...
PrettyPixels Posted October 15, 2013 Share Posted October 15, 2013 Great idea. We really need the option for users to request deletion. I'd love to see an option for users to request deletion, but move them into a different "inactive" usergroup, instead. A big bonus would be if they could reactivate their account if they change their minds later. Link to comment Share on other sites More sharing options...
Saiga Posted October 15, 2013 Share Posted October 15, 2013 Nice idea. It would be nice, however, if you were given the option to re-associate content during the deletion process. Either associate all content for deleted accounts to a single member 'Member Deleted', configured in the ACP, or to choose which member to assign the content to upon deletion, if you wanted a different one each time. Doesn't member merge do this? Link to comment Share on other sites More sharing options...
Aiwa Posted October 15, 2013 Share Posted October 15, 2013 Yes, but this could automate the process on the front end and initiated by the member. Link to comment Share on other sites More sharing options...
Aussie Cable Posted October 16, 2013 Share Posted October 16, 2013 Thanks Adriano, this looks to be something that is very useful. Will this be available for 4.0? Or will I need to purchase again? Link to comment Share on other sites More sharing options...
Adriano Faria Posted October 16, 2013 Author Share Posted October 16, 2013 No, single purchase. The hook will be updated to work on 4.0 Link to comment Share on other sites More sharing options...
Aussie Cable Posted October 16, 2013 Share Posted October 16, 2013 No, single purchase. The hook will be updated to work on 4.0 Awesome, thanks :thumbsup: Link to comment Share on other sites More sharing options...
lostaussie Posted October 20, 2013 Share Posted October 20, 2013 Will the members display name be preserved as well to show whose post or topic it was? Link to comment Share on other sites More sharing options...
Adriano Faria Posted October 20, 2013 Author Share Posted October 20, 2013 The hook uses the Members library from IP.Board to delete the account, so a member called Joh, will have his posts named to guest_John_* or something like that. Link to comment Share on other sites More sharing options...
valendono Posted October 22, 2013 Share Posted October 22, 2013 Just bought it and tested with 3.3.4, just white page when clicking on the link on general account settings menu, anything wrong ? Link to comment Share on other sites More sharing options...
Adriano Faria Posted October 22, 2013 Author Share Posted October 22, 2013 What is "general menu account"? The error is due to the editor stuff! Fatal error: Call to undefined method classes_editor_composite::setLegacyMode() in C:wampwww334hooksdeleteMyAccount_ucp_634d84c9f29ba19f16207bdab6928e7a.php on line 104 Give me a minutes and I'll add a version to 3.3 on zip. Link to comment Share on other sites More sharing options...
valendono Posted October 22, 2013 Share Posted October 22, 2013 I assume every moderators can approve deleting account. I just wondering, because I don't want every moderators can do "delete account" approval, can we have option limitation for certain group to approve it ? Thanks Link to comment Share on other sites More sharing options...
Adriano Faria Posted October 22, 2013 Author Share Posted October 22, 2013 Just bought it and tested with 3.3.4, just white page when clicking on the link on general account settings menu, anything wrong ? What's New in Version 1.0.1: Fixed editor error on IP.Board 3.3.4. I assume every moderators can approve deleting account. I just wondering, because I don't want every moderators can do "delete account" approval, can we have option limitation for certain group to approve it ? As stated on this hook description, Administrators and Supermoderators (not forum moderators!) can review the requests. Link to comment Share on other sites More sharing options...
Adriano Faria Posted October 30, 2013 Author Share Posted October 30, 2013 What's New in Version 1.1.0: Added a field for the user to fill the reason why is requesting the deletion of the account " alt="SOS-1383170868-U1.png"> " alt="SOS-1383173989-U1.jpg"> Link to comment Share on other sites More sharing options...
opentype Posted November 2, 2013 Share Posted November 2, 2013 Really nice! :thumbsup: I noticed that (at least on my site) the confirmation checkbox can be bypassed by just clicking Save Changes. So having that checkbox feels kind of pointless. Link to comment Share on other sites More sharing options...
Adriano Faria Posted November 2, 2013 Author Share Posted November 2, 2013 Really nice! :thumbsup: I noticed that (at least on my site) the confirmation checkbox can be bypassed by just clicking Save Changes. So having that checkbox feels kind of pointless. True! :o I must have broken it on latest versions. I'll fix it during the weekend. :thumbsup: Link to comment Share on other sites More sharing options...
Adriano Faria Posted November 3, 2013 Author Share Posted November 3, 2013 I noticed that (at least on my site) the confirmation checkbox can be bypassed by just clicking Save Changes. So having that checkbox feels kind of pointless. What's New in Version 1.1.1: Fixed the checkbox on 'Delete My Account' user control panel screen: it was submitting the request if even the user hasn't agreed to the terms (checked the checkbox). Link to comment Share on other sites More sharing options...
Qubabos Posted November 6, 2013 Share Posted November 6, 2013 after install only administrator view this option in his profile, all users get an error :Error: Could not load template 'deletemyaccount' from group 'ucp'//edit : false alarm :smile: rebuild the style do the trick :smile: Link to comment Share on other sites More sharing options...
matma4u.pl Posted January 4, 2014 Share Posted January 4, 2014 Yesterday I bought this hook. Good job. Could You do in the next release one thing: ability (in ACP) which groups can approve new request. For example: only Admins and Junior_Admins can approve new request and delete accounts, but Moderators can't do this. It would be very useful. Link to comment Share on other sites More sharing options...
matma4u.pl Posted January 4, 2014 Share Posted January 4, 2014 I can't edit my previous post but I have next suggestion: ability send email to user with information: the account is deleted or request wasn't accepted Link to comment Share on other sites More sharing options...
Adriano Faria Posted January 4, 2014 Author Share Posted January 4, 2014 Yesterday I bought this hook. Good job. Could You do in the next release one thing: ability (in ACP) which groups can approve new request. For example: only Admins and Junior_Admins can approve new request and delete accounts, but Moderators can't do this. It would be very useful. Instead of adding new settings for this and that, it's easier if you edit 2 files: - Open adminapplicationsmembersextensionsmodcpplugin_deletemyaccount.php. Find: if ( $this->memberData['g_is_supmod'] ) Change to: if ( $this->memberData['g_access_cp'] ) Save and reupload. - Open adminapplicationsmembersmodules_publicprofiledeletemyaccount.php. Find: if ( !$this->memberData['g_is_supmod'] ) Change to: if ( !$this->memberData['g_access_cp'] ) Save and reupload. That way, the new tab on ModeratorCP will appear only to users who can access the Admin CP. Same for who can approve or deny a request. I can't edit my previous post but I have next suggestion:ability send email to user with information: the account is deleted or request wasn't accepted it should be there since first version of the hook. I'll add this. Link to comment Share on other sites More sharing options...
matma4u.pl Posted January 4, 2014 Share Posted January 4, 2014 It does not work well because the new tab on ModeratorCP will not appear but still you can see text: X Account Delete Request X Account Delete Request = X Żądanie usunięcia konta Link to comment Share on other sites More sharing options...
Adriano Faria Posted January 4, 2014 Author Share Posted January 4, 2014 True, I forgot one place. Download the hook again. Open its XML with any editor (notepad, wordpad, etc.) and find (on line 305): if ( !$this->memberData['g_is_supmod'] ) Change to: if ( !$this->memberData['g_access_cp'] ) Reinstall the hook. Link to comment Share on other sites More sharing options...
matma4u.pl Posted January 4, 2014 Share Posted January 4, 2014 and find in xml: - line 347 - line 53 and find file deletemyaccount.php (in public_html/admin/applications/members/modules_public/ajax) and change line 59. Am I right? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.