News:

Wondering if this will always be free?  See why free is better.

Main Menu

[RC2] Restoring deleted member

Started by DTM-031, March 01, 2010, 11:00:30 PM

Previous topic - Next topic

DTM-031

Hey guys

I'm trying to restore a deleted member on my forum, problem is I don't have access to a backup at the moment.

I found the below thread on how to do it, but it doesn't seem to work for RC2?
http://www.simplemachines.org/community/index.php?topic=246737.0

Can anyone tell me what I'd have to change in order to do it?

Cheers
Dan

hadesflames

When you deleted him, did you chose to delete all of his posts?

DTM-031

No, all the posts are still there, just show as a guest.

I've recreated the account using same username etc, just unsure where in the database I reassign the post IDs

Old ID is 3, new one 236; message prefix is smf_, SMF 2.0 RC2

Oldiesmann

There is an easy way to do it in 2.0 RC2 :)

Admin -> Maintenance -> Forum Maintenance -> Members

Enter their email address next to "Email address of" and their username next to "Attribute to member", then click "Reattribute".

DTM-031

Haha you legend! Wow I knew there was a reason I upgraded to SMF2.0 lol.

Cheers mate, you're a lifesaver! I was trying to re-add my missus's account so I will probably get laid tonight now! ROFL

hadesflames

#5
Darn...I didn't know about that feature...I just finished whipping up a script for this situation XD
Oh well, we learn something new everyday =]

I attached the script anyway for the hell of it...All you need to do is place it in your forum's root and run it. Also, I did it in a few minutes, and it's pretty late so yeah I know it could have been made better haha.

DTM-031

Haha thanks anyway dude, really appreciate the effort!

hadesflames

No problem =]

You can at least download the script and take a look at what it does/how it works for some experience, which is why I posted it =P

YogiBear

Quote from: DTM-031 on March 02, 2010, 12:27:30 AM
...I was trying to re-add my missus's account so I will probably get laid tonight now! ROFL

Will such a facility be added to the next release of RC2?  ;D
SMF v2.1.4  Mods : Snow & Garland v1.4, Simple Image Upload v2.0.0,  PHP  v.8.1

rstnick

I need to restore a member to our forum, so responding to this post to help me find it again.
Will let you know if it works for me.
Using SMF 2.0.7

Rob

Steve

Rob, you really should upgrade to 2.0.8 and then to 2.0.9 ... there have been a number of security fixes done.
My pet rock is not feeling well. I think it's stoned.

Advertisement: