• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.1 Lost Admin Permissions

Cal

Well-known member
#1
Well not lost perhaps. I bought a forum from another guy and it's been hell getting it to work. Long story short I got it working. YAY. However I do not have the admin login or password. So I am a member on my own site. NOT YAY. How do I give myself admin permissions? I also would like to be the official super admin....

((this is like step one out of 10. I still need to convert it to VB...then import it into an existing Xenforo forum....))

Nevermind. Figured it out via phpmyadmin and the database directly.
 

Cal

Well-known member
#3
Naw that wasn't it. Thank you though biker. I found it directly in the database under the xf_user table.
 

borbole

Well-known member
#5
Well not lost perhaps. I bought a forum from another guy and it's been hell getting it to work. Long story short I got it working. YAY. However I do not have the admin login or password. So I am a member on my own site. NOT YAY. How do I give myself admin permissions? I also would like to be the official super admin....

((this is like step one out of 10. I still need to convert it to VB...then import it into an existing Xenforo forum....))
Go to phpmyadmin and at the SQL box run this query:

Code:
UPDATE xf_user SET user_group_id = 3 WHERE user_id = x;
Where x equals your uid. Then enter your uid at the config.php file. i.e. at this part.

PHP:
$config['superAdmins'] = 'x';
Hope it helps.