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

How do I make another user a Super Admin to have complete control over the form?

RobinHood

Well-known member
#1
As above please, I seem to be able to make people admins but can't seem to figure out how to make someone a super admin!
Thanks :)
 

D.O.A.

Well-known member
#2
make the admin change in their user info page then perhaps try checking out
admin.php?user-group-permissions
admin.php?user-permissions
 

Brogan

XenForo moderator
Staff member
#3
What is the difference between a Super Administrator and an Administrator?
A Super Administrator can not be created or edited by an Administrator and always has all permissions in the ACP.

How do I add another Super Administrator?
Edit the /library/config.php file and add any additional users IDs, comma delimited: $config['superAdmins'] = '1,2,3';
Note that the user in question must already be an Administrator.

http://xenforo.com/community/threads/frequently-asked-questions.5183/#post-180456
 
#7
Found the file, edited it correctly, not sure it works, as the reason I did this was to make my partner able to see the styles that were installed but not an option for regular members. As the first member, admin, and site admin, when I click on style selector, I see all styles installed, with an * next to the ones that are not viewable to everyone else. After adding him to the super admin via editing the aforementioned config.php file, he still does not see the styles that are not viewable. Did I edit the file incorrectly, or does making him a super admin not, by default, entitle him to see those styles?
 

Biker

Well-known member
#8
Any Admin, regardless of whether they're a Super Admin or not, can see the installed styles. If you add another individual as a Super Admin, you must also appoint them as an Admin in the ACP.
 
#9
Any Admin, regardless of whether they're a Super Admin or not, can see the installed styles. If you add another individual as a Super Admin, you must also appoint them as an Admin in the ACP.
This is not the case with my forums (using 1.2.0). My partner was already an admin (listed as staff on the site as well), and could not view the styles that were not viewable to others. I am the only one who sees the styles not viewable, and I see them with a * next to their name. He is now both an admin and a site admin, and still can not see those styles.
 
#10
How do I add another Super Administrator?
Edit the /library/config.php file and add any additional users IDs, comma delimited: $config['superAdmins'] = '1,2,3';
Note that the user in question must already be an Administrator.

http://xenforo.com/community/threads/frequently-asked-questions.5183/#post-180456
Above post has no spaces between user id's : ='1,2,3';

FAQ has spaces:
PHP:
$config['superAdmins'] = '1, 2, 3';

Which is the correct way? I've tried both ways, and user I'd 2 can still NOT SEE non viewable styles.
 

Brogan

XenForo moderator
Staff member
#11
Either or is fine.

Ensure you are entering the correct User IDs and that the users are already administrators.
 
#12
Either or is fine.

Ensure you are entering the correct User IDs and that the users are already administrators.
It is the correct User ID, he is 2 (second registered user), and his primary user group is Administrative. This is the code directly from my /library/config.php file:

$config['superAdmins'] = '1, 2';
 

CTXMedia

Formerly CyclingTribe
#15
You need to add him as and Administrator (ACP > Users > Administrators) - just putting someone in the admin usergroup is not enough. :D
 
#17
My error, I apologize. I was unaware that Admins had to be added. I presumed that if your primary usergroup was Administrative, you were an Admin. I think that is a little odd and confusing, but I have since added him specifically as an admin, and the problem has been rectified. Again, my apologies. Thanks.
 

CTXMedia

Formerly CyclingTribe
#18
Also note Admin and Moderator roles are separate in XF - so if you want an Admin to mod too, you need to additionally add them as a mod. :D
 
#19
$config['superAdmins'] = '1,2';

Worked for me, first I went in and set my 2nd account so my primary group was registered user, and made sure administrative box was checked.

I am sure you got it fixed by now, just adding it to pay it forward for the next guy.