Home    Articles

 

How to add superadmin account in xenforo

 

In order to add a new superadmin in the xenforo you have to get access the the files of your website.

But first you need to add a new user as Administrator.

1) Add user as Administrator

Go to xenforo Admin area-> Users -> Administrators , click Create new Administrators , click the user box to search for specific user and give it all privileges.

Try to remember the user id. You can find it in the url. ( www.yourwebsites.com/admin.php?users/99/edit )

2) Add the SuperAdmin

To add superadmin you need to open the config.php file that is located in library/config.php.

Edit the row $config['superAdmins'] = '1'; to $config['superAdmins'] = '1,99';

The users ids must be comma separated.

Note: The user that will be added as superadmin must be administrator first ( don't skip step 1 ).

by