Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 8 Years, 10 Months, 2 Weeks ago Locked out of admin permissions [urgent]
Solved: 8 Years, 10 Months, 2 Weeks ago
(2012-11-16, 12:55 PM)borbole Wrote:
(2012-11-16, 11:09 AM)WitherBones Wrote: Setting myself to a developer group with secondary group of root admin locked me out of being able to edit admin permissions, which was something the root admin group could do so I thought adding it as a secondary group would give me the allowances of both groups....

when I switched to the main admin account though, it too was locked out. As is everyone.

I need to undo this. How do I alter the php files to allow an account into the admin permissions again? this is dire, thank you.

Try this query to set the primary group to admin again.

 UPDATE mybb_users SET usergroup = 4 WHERE uid = 1;

Replace 1 with your uid if it is not 1. And replace mybb_ with whatever prefix if you are using a custom one for your db tables.

This will work only if group id of admin has changed right? Im too not sure of it.

Messages In This Thread
RE: Locked out of admin permissions [urgent] - by ksr - 2012-11-16, 01:01 PM

Forum Jump:

Users browsing this thread: 1 Guest(s)