XF 1.1 Lost Admin Permissions

Cal

Well-known member
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.
 
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.
 
  • Like
Reactions: Cal
Top Bottom