Advertisement:

Author Topic: Deleted a fellow admin's account on accident, can this be fixed?  (Read 1803 times)

Offline Eagle31

  • Semi-Newbie
  • *
  • Posts: 13
Re: Deleted a fellow admin's account on accident, can this be fixed?
« Reply #20 on: June 05, 2018, 05:53:55 PM »
Reattribute guest user. Where would I do this at ? On the server side or in SMF

Offline Illori

  • Project Manager
  • SMF Master
  • *
  • Posts: 49,582
Re: Deleted a fellow admin's account on accident, can this be fixed?
« Reply #21 on: June 05, 2018, 06:01:40 PM »
since you are using SMF 1.1.* you would to do it via queries in phpmyadmin or similar interface to the database.

Offline Eagle31

  • Semi-Newbie
  • *
  • Posts: 13
Re: Deleted a fellow admin's account on accident, can this be fixed?
« Reply #22 on: June 05, 2018, 06:42:40 PM »
Could it be be done more easily if I was to up grade the software ?

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 8,039
  • 'Tis the gift to be simple (duh)
Re: Deleted a fellow admin's account on accident, can this be fixed?
« Reply #23 on: June 05, 2018, 06:54:19 PM »
That's an interesting idea, can't think of a reason why it wouldn't work.  I'd leave the production forum as is, set up a clone, upgrade to 2.0.15 and try it.

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 56,701
  • Gender: Male
    • Kindred-999 on GitHub
Re: Deleted a fellow admin's account on accident, can this be fixed?
« Reply #24 on: June 05, 2018, 06:55:08 PM »
yes. it is a standardized function in 2.0.x

besides, 1.1.x is at end of life and you should upgrade anyway for security reasons, if nothing else
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline Dav999

  • Jr. Member
  • **
  • Posts: 193
  • Gender: Male
Re: Deleted a fellow admin's account on accident, can this be fixed?
« Reply #25 on: June 06, 2018, 03:28:52 PM »
If you want to do this silently (you mentioned avoiding drama) then it might be good to note that creating a new account and re-attributing posts won't go without leaving lots of clues that something was "tampered" with, including the user's password not working anymore, PMs being deleted, IDs being in a strange order, etc. So, restoring the backup would be the cleanest option.

Offline Aleksi "Lex" Kilpinen

  • A Peculiar Finn
  • Lead Support Specialist
  • SMF Super Hero
  • *
  • Posts: 17,234
  • Gender: Male
  • Don't worry, I'm n00b friendly
    • Aleksi.Kilpinen on Facebook
    • aleksi-kilpinen on LinkedIn
Re: Deleted a fellow admin's account on accident, can this be fixed?
« Reply #26 on: June 06, 2018, 03:32:21 PM »
Yeah, this would be the safest and cleanest option.
Ok, if you can I would suggest creating a new database and importing the backup in it. Then using repair_settings change the forum to use that new database, keeping the old one as a backup in case the dump wasn't perfect.
To see if everything got imported OK, you probably only need to see if your oldest and latest topics are intact and working correctly.
A Finnish Support Specialist
 Happily running multiple SMF 2.0 installations.

How you can help SMF

"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum.
 Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

Offline Eagle31

  • Semi-Newbie
  • *
  • Posts: 13
Re: Deleted a fellow admin's account on accident, can this be fixed?
« Reply #27 on: June 09, 2018, 01:16:08 AM »
If you want to do this silently (you mentioned avoiding drama) then it might be good to note that creating a new account and re-attributing posts won't go without leaving lots of clues that something was "tampered" with, including the user's password not working anymore, PMs being deleted, IDs being in a strange order, etc. So, restoring the backup would be the cleanest option.
IAgree, ok so I  have the backup file and extracted it as it was in GZ format. what extracted was one file that is a SQL file. Is this normal ? If it is where would I go on the server within the SMF installation and overwrite the existing file ? I DO have a test forum with the same version of SMF 1.1.21 to try it out.

Offline Aleksi "Lex" Kilpinen

  • A Peculiar Finn
  • Lead Support Specialist
  • SMF Super Hero
  • *
  • Posts: 17,234
  • Gender: Male
  • Don't worry, I'm n00b friendly
    • Aleksi.Kilpinen on Facebook
    • aleksi-kilpinen on LinkedIn
Re: Deleted a fellow admin's account on accident, can this be fixed?
« Reply #28 on: June 09, 2018, 01:19:42 AM »
Yes, it's normal to be an sql file. You cannot use it within SMF though. You will need to import it to a database.
How do I restore a database backup?
A Finnish Support Specialist
 Happily running multiple SMF 2.0 installations.

How you can help SMF

"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum.
 Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas