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

XF 1.2 Admin privilegies.

#1
Hey all. I've just made myself an admin by mysql (on xf_user did is_admin :1, is_moderator :1). And when I login to ACP I cant do anything in it:



How can I gain all privilegies by Mysql?
 

borbole

Well-known member
#2
Have you added your user is to the super admin filed in the config.php file? Also you might need to straighten out the admin permissions too at your acp.

P.s. Is this for a new account btw?
 
#3
Have you added your user is to the super admin filed in the config.php file? Also you might need to straighten out the admin permissions too at your acp.

P.s. Is this for a new account btw?
Changed it in /var/www/forum/library and added my ID? Yes its new acc, because some one deleted my account.
 
Last edited:

borbole

Well-known member
#4
Changed it in /var/www/forum/library and added my ID? Yes its new acc, because some one deleted my account.
At the config.php file inside the library folder add the user id of your new account at this part:

PHP:
$config['superAdmins'] = 'x';
Where x stands for your user id.