MyBB Community Forums

Full Version: Delete Account 1.0
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
Description:
Privacy is a form of security! With this plugin, if a user wants to delete their account they can do so via the UCP. Requested here.

The account is not permanently deleted right away, of course. It is stored in the table mybb_deleted_users where admins can restore the account if necessary or permanently delete it.

Screenshots:

User Control Panel
http://i.imm.io/kfoS.png

Admin Control Panel
http://i.imm.io/kfoW.png

Install:
This plugin adds one database table, edits one template, and adds one setting.

Upload all files (inc/plugins/deleteaccount.php and inc/languages/deleteaccount.lang.php) and go to the ACP and hit Install.

Change log:
1.0: Initial release

Download:
The plugin can be downloaded for free at MyBB Security.

http://www.mybbsecurity.net/topic-delete-account
Wow, you made that quickly. Thanks for this Paul! It's going to be hugely useful for my next project on Thursday. Smile
Well, I accepted the project two weeks ago. I made it all today Toungue
Nice. But is there a particular reason you hooked into pre_output_page instead of the usercp page hooks? You definitely can do it. pre_output_page loads on every single page load.
nice..Thanks you.
Nice plugin Paul. Thanks for the work you put into it. Smile
This will be very useful for a couple of my projects. Thank you Paul!
Hey paul,

I am trying to install Delete Account 1.0 but I am recieveing when i go into plugins

/home/[xxx]/public_html/forums/inc/languages/english/admin/deleteaccount.lang.php does not exist

Edit lol Nevermind. I tried transfer deleteaccount.lang.php into the admin. Is it possible for new people who are installing for the first time be able to upload straight into /inc/language/english/here?
French Translation Delete Account
[attachment=29259]

Hello when I want to restore a deleted member, an error message is displayed


MyBB SQL Error
MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
1054 - Unknown column 'failedlogin' in 'field list'
Query:
INSERT INTO mybb_users (`uid`,`username`,`password`,`salt`,`loginkey`,`email`,`postnum`,`avatar`,`avatardimensions`,`avatartype`,`usergroup`,`additionalgroups`,`displaygroup`,`usertitle`,`regdate`,`lastactive`,`lastvisit`,`lastpost`,`website`,`icq`,`aim`,`yahoo`,`msn`,`birthday`,`birthdayprivacy`,`signature`,`allownotices`,`hideemail`,`subscriptionmethod`,`invisible`,`receivepms`,`receivefrombuddy`,`pmnotice`,`pmnotify`,`threadmode`,`showsigs`,`showavatars`,`showquickreply`,`showredirect`,`ppp`,`tpp`,`daysprune`,`dateformat`,`timeformat`,`timezone`,`dst`,`dstcorrection`,`buddylist`,`ignorelist`,`style`,`away`,`awaydate`,`returndate`,`awayreason`,`pmfolders`,`notepad`,`referrer`,`referrals`,`reputation`,`regip`,`lastip`,`longregip`,`longlastip`,`language`,`timeonline`,`showcodebuttons`,`totalpms`,`unreadpms`,`warningpoints`,`moderateposts`,`moderationtime`,`suspendposting`,`suspensiontime`,`suspendsignature`,`suspendsigtime`,`coppauser`,`classicpostbit`,`loginattempts`,`failedlogin`,`usernotes`) VALUES ('5290','Evan Astie','08b24b4a3509056f4f7770080a06e630','wX2tQWB7','Bf73ONXXnDRDW3oiwk9Jpd9uhjYTxwcANCEbqJoajxCufxN7u3','[email protected]','0','http://graph.facebook.com/100004886224069/picture?width=130&height=130','130|130','remote','2','','2','','1368173044','1368177130','1368173044','0','','0','','','','15-6-1968','all','','1','0','0','0','1','0','1','0','linear','1','1','1','1','0','0','0','','','','0','0','','','0','0','0','0','','1**$%%$2**$%%$3**$%%$4**','','0','0','0','90.20.158.62','90.20.158.62','1511300670','1511300670','','4086','1','1','0','0','0','0','0','0','0','0','0','1','1','0','')
Please contact the MyBB Group for support.
I edited the plugin because it wasn't working on my board which is running v1.6.10, at least restoring a user didn't.
This was because it tried to use a column in the users table (failedlogins) which doesn't exist.
Also after restoring or permantly deleting a user, the entry was not removed from the deleted_users table. So I fixed that to.

Next to this I translated the plugin.
You'll find the dutch language files next to the english ones.

Download version 1.1 of this plugin here:
http://cl.ly/1A142e1x0L02
Pages: 1 2 3