how to restore user?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • BBF
    Member
    • Dec 2006
    • 48
    • 3.6.x

    how to restore user?

    hello,
    someone find my password and remove some users...
    i want to restore the user.

    it is possible?

    thank you very much.
    פורומים | קהילת פורומים | פורום | סאמפ | SAMP | GTA
  • Wayne Luke
    vBulletin Technical Support Lead
    • Aug 2000
    • 74154

    #2
    You cannot restore a user without restoring a complete database backup. Any information entered into the database since the time of the backup will be lost.
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API

    Comment

    • DelphiVillage
      Senior Member
      • Apr 2002
      • 1051
      • 4.1.x

      #3
      if you have a backup then yes if not eeeeuh why didn't you make one ?

      Comment

      • BBF
        Member
        • Dec 2006
        • 48
        • 3.6.x

        #4
        i'm just need the same id and replace a/n in the post with the new user...
        if it possible let me know how to do it...

        btw, i do a backup once a week...and i load the backup i lose a lot of information.
        פורומים | קהילת פורומים | פורום | סאמפ | SAMP | GTA

        Comment

        • Wayne Luke
          vBulletin Technical Support Lead
          • Aug 2000
          • 74154

          #5
          You can create a new user but they would have a new ID. There is no way to reuse an old ID.
          Translations provided by Google.

          Wayne Luke
          The Rabid Badger - a vBulletin Cloud demonstration site.
          vBulletin 5 API

          Comment

          • BBF
            Member
            • Dec 2006
            • 48
            • 3.6.x

            #6
            maybe i can create a new user and replace the id?
            פורומים | קהילת פורומים | פורום | סאמפ | SAMP | GTA

            Comment

            • r3darab.net
              New Member
              • Sep 2007
              • 6
              • 3.6.x

              #7
              thx

              Comment

              • omar Almukhtar
                New Member
                • Sep 2007
                • 19
                • 3.6.x

                #8
                i guess there is way to restore deleted users

                i warn you that deleting users have posts have negative influence on the database

                i'll check the ways how to restore users from the mysql and tell you

                Comment

                • BBF
                  Member
                  • Dec 2006
                  • 48
                  • 3.6.x

                  #9
                  Originally posted by omar Almukhtar
                  i guess there is way to restore deleted users

                  i warn you that deleting users have posts have negative influence on the database

                  i'll check the ways how to restore users from the mysql and tell you

                  ok.
                  thank you very much!
                  פורומים | קהילת פורומים | פורום | סאמפ | SAMP | GTA

                  Comment

                  • omar Almukhtar
                    New Member
                    • Sep 2007
                    • 19
                    • 3.6.x

                    #10
                    go to phpmyadmin

                    then click the query buttum

                    put these queries and change this info to your deleted user info but do not change the password.

                    in our case the deleted user information described by red color below

                    username is: MGHOOL user password is: 123456 user id Number is 9


                    PHP Code:
                    INSERT INTO `user` ( `userid` , `usergroupid` , `membergroupids` , `displaygroupid` , `username` , `password` , `passworddate` , `email` , `styleid` , `parentemail` , `homepage` , `icq` , `aim` , `yahoo` , `showvbcode` , `usertitle` , `customtitle` , `joindate` , `daysprune` , `lastvisit` , `lastactivity` , `lastpost` , `posts` , `reputation` , `reputationlevelid` , `timezoneoffset` , `pmpopup` , `avatarid` , `avatarrevision` , `options` , `birthday` , `birthday_search` , `maxposts` , `startofweek` , `ipaddress` , `referrerid` , `languageid` , `msn` , `emailstamp` , `threadedmode` , `autosubscribe` , `pmtotal` , `pmunread` , `salt` , `profilepicrevision` , `showbirthday` , `skype` , `spmoption` , `spmugroup` ) 
                    VALUES (
                    '9''2''''0''MGHOOL''54a77197e6da0c037ef1e7530e3934c7''2006-04-15''''0''''''''''''0''''0''0''0''0''0''0''0''10''1''''0''0''0''15''''0000-00-00''-1''1''''0''0''''0''0''-1''0''0''''0''2''''0'''
                    ); 
                    second query making new profile for the deleted user
                    change the user id Number to your deleted user info

                    PHP Code:
                    INSERT INTO `userfield` ( `userid` , `temp` , `field1` , `field2` , `field3` , `field4` ) 
                    VALUES (
                    '9'''''''''''
                    ); 

                    third step , making the personal information
                    change the user id Number to your deleted user info

                    PHP Code:
                    INSERT INTO `usertextfield` ( `userid` , `subfolders` , `pmfolders` , `buddylist` , `ignorelist` , `signature` , `searchprefs` , `rank` ) 
                    VALUES (
                    '9'''''''''''''NULL 
                    ); 
                    untill this step we restored the deleted user without his posts and threads!!


                    good luck

                    Comment

                    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                    Working...