Recently I noticed that several people were wondering how to restore or recover their Dolphin 7 Administration Password. Dolphin 7 now has a slightly more complex way of storing passwords in the database, which makes things a little more difficult if you don't know what you are doing.
Fortunately it is much easier than most people realize, or they sort of put too much thinking into it making it more difficult than it really should be.
Since the admin member/account is now stored in the same database table as all the other members you can easily recover and reset it using the standard forgot password link (yoursite.com/forgot.php) just like all your other members can.
So all you have to do is navigate to yoursite.com/forgot.php and enter the email you used for your admin account when you installed or setup dolphin. Enter the captcha code and then just click the Retrieve my information button.
You will then receive an automated email with a new randomly generated password.
Once you have that you just login to your admin panel (yoursite.com/administration) with this new password.
Since the new password generated for you is kind of random and not the easiest to remember, once you are logged in using it you simply navigate to Settings...Admin Password.
Here you can now change the random password to something easier to remember.
Now log out of your Dolphin 7 Admin Panel and try logging in with your new password you just reset.
Pretty simple and not much to it really.
What if you don't remember the admin email?
If you don't remember the email you used then you can still recover this if you have access to your hosting control panel and phpmyadmin. We can simply use phpmyadmin available in most hosting control panels to find the email address associated with the admin member/profile. Once we find this, we can then use the Forgot Password link again to generate a new password.
So you will have to login to your hosts control panel, and find and click on phpmyadmin.
Here is a screen shot from the popular cpanel hosting control panel.
Once phpmyadmin opens you will need to select your database from the menu on the left.
Then you will scroll down the list of Tables until you find the "Profiles" Table. Click on Browse.
Now you simply look in the "NickName" column (NickName is member/profile) until you find your admin name. If you used something other than admin you can determine which one is the admin in the "Role" column. The admin will have a "Role" of "3".
So in this example I can see the admin's email address is email@example.com and towards the right I see the "Role" 3 so I know for sure this is the admin. (this is just an example for demonstration purposes).
Now I can go back to yoursite.com/forgot.php and enter my email (firstname.lastname@example.org) address and fill in the captcha so I can receive a new password for my admin to login.
Again this one was fairly simple.
OK so what if I don't use that email (email@example.com), I want to change it or use a different one, or I just can't remember the email address for admin?
You can easily change the email address using the same screen as above. Just do not touch any other fields. Leave the password, salt, and everything else alone. We will use our Dolphin 7 admin panel for that part. If you try to change the password or salt there is a good chance you will be locked out for good.
So click on the "Edit" pencil looking icon for the admin.
Here I will change just the email address. (firstname.lastname@example.org)
Then scroll to the bottom and click the "Go" button. And the admin's new email address will be email@example.com. Obviously this is for demonstration purposes and you would use your real email address instead of firstname.lastname@example.org.
Now you can go back to the Forgot Passord page again (yoursite.com/forgot.php) and this time you would use email@example.com for My email, enter the captcha and click the "Retrieve my information".
A new randomly generated password will then be sent to firstname.lastname@example.org and you can use that to login to your Dolphin 7 Admin Panel now.
Once you are logged into Dolphin 7 Admin you can simply go to "Settings"..."Admin Password" again.
Log out of Dolphin 7 Admin Panel if you haven't already, and log back in with your new easy to remember password to verify it worked. If all is well you should be logged in with your new easy to remember password.
Write it down, keep it in a safe place, and don't forget.
Do not try to change the Password string or the salt string in the database or by using phpmyadmin unless you are 100% sure what you are doing. It is way too easy to mess up, and you will lock yourself out.
Make a backup prior to messing with the database and phpmyadmin just in case you mess something up. At least you will be able to get yourself back to square one and try again.
Take your time and read this over and look at the screen shots a few times and make sure you understand it.
There are other ways to reset or change your Dolphin 7 Admin Password, but I think the above steps would be the easier route for most people, and for those of you that are relatively new to Dolphin.