MyBB Community Forums

Full Version: Need help.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
(2013-10-25, 03:48 PM)King Louis Wrote: [ -> ]Have you read what I wrote? x should be your user id, it is described above how you get it.

Yes, multiple times. Sorry if I'm making this harder then it is, but Im so far off it isn't even funny.

And I really appreciate the help.
^ would you like to PM me temporary access to your ftp and later change your credentials

@ King Louis, please see PM Smile
I do not like to post such things on open forum
FTP access won't help you to get his user id...
Run this query on your mysql server:
SELECT uid FROM mybb_users ORDER BY uid DESC LIMIT 1
You should get the uid which you need to add up your config.php
I went to my cPanel in hostgator, and clicked on phpMyAdmin->SQL

pasted this:

SELECT uid FROM mybb_users ORDER BY uid DESC LIMIT 1

and got:

SELECT uid
FROM mybb_users
ORDER BY uid DESC
LIMIT 1
There should also be a table with a number in it.
UPDATE mybb_users SET uid=[value-1],username=[value-2],password=[value-3],salt=[value-4],loginkey=[value-5],email=[value-6],....... and it keeps going, to much to list.

I finally figured it out. Thanks for the help. Even though I deleted my admin account, I still had another account which is a non admin account. I just changed the permissions for the other account to admin status.
Pages: 1 2