XF 2.0 Removed from Super Admin of my OWN FORUM?

tekboi

Active member
So, I recently I wanted to add a long-time friend to today, only to discover that I was not a Super Admin myself. Instead, i'm listed in the moderator section.


I KNOW for a fact that I didn't do this myself. And the last time I checked roles was when I was using XF 1.5. Does anyone know how to fix this or what could have caused this at least? The only thing that has changed was the upgrade from XF 1.5 to XF 2.0
 
Superadmins can only be created in the config file by naming the ids of users. Whoever has access to your server (with the permissions) can change it.

But probably you did that by yourself to test out something and probably forgot to change it back.
 
Last edited:
You can set an Admin as a Super Admin via the Admin CP.

The admin with userid 1 will be marked as a super admin. If that user doesn't exist anymore, then you will need to update the xf_admin table directly afaik.
 
Superadmins can only be created in the config file by naming the ids of users. Whoever has access to your server (with the permissions) can change it.

But probably you did that by yourself to test out something and probably forgot to change it back.

XF 2.0 doesn't actually use superAdmins in the config anymore.
 
  • Like
Reactions: sbj
Yeah, shortly after creating this post I remembered that the config file was removed (accidentally) when I upgraded to XF 2. I have added the necessary line to make myself Super Admin again, but it's not reflecting in the Admin Panel.

When looking in the library folder in my root XF directory, I only see a 'xf1-config.php' file. So I assumed that was the one.
 
Yeah, shortly after creating this post I remembered that the config file was removed (accidentally) when I upgraded to XF 2. I have added the necessary line to make myself Super Admin again, but it's not reflecting in the Admin Panel.

When looking in the library folder in my root XF directory, I only see a 'xf1-config.php' file. So I assumed that was the one.

XF 2.0 doesn't actually use superAdmins in the config anymore. You can set an Admin as a Super Admin via the Admin CP.
 
The admin with userid 1 will be marked as a super admin. If that user doesn't exist anymore, then you will need to update the xf_admin table directly afaik.
 
The admin with userid 1 will be marked as a super admin. If that user doesn't exist anymore, then you will need to update the xf_admin table directly afaik.
So, editing the xf_admin table did the trick. Changing the 'is_Admin' field from 0 to 1 is what needed to happen.

I don't know how it became set to this.

Thanks for the help!
 
Back
Top Bottom