MyBB Community Forums
Where can I change active theme in DB? - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: Where can I change active theme in DB? (/thread-215689.html)



Where can I change active theme in DB? - Ch3W - 01-31-2018

Hi, I changed admin theme and now I can't log into the admin panel. I just get: 

failed to open stream: Permission denied - Line: 683 - File: admin/index.php PHP 5.4.16 (Linux)

Where about in the database can I change the theme back to default?


RE: Where can I change active theme in DB? - .m. - 01-31-2018

database table => adminoptions , field => cpstyle , mybb stock theme => default

if your forum has a number of administrators then
you have to change cpstyle field value related to your admin account


RE: Where can I change active theme in DB? - Ch3W - 01-31-2018

(01-31-2018, 12:37 PM).m. Wrote: database table => adminoptions , field => cpstyle , mybb stock theme => default

if your forum has a number of administrators then
you have to change cpstyle field value related to your admin account

Thank you so much!

Is it possible to change the front end theme and not just the admin panel one?


RE: Where can I change active theme in DB? - .m. - 01-31-2018

^ if you have to change front end theme through database then
users table of the database contains style field. its value is theme id (as a number)
(in general, MyBB Stock theme's ID is 1)

themes table in the database contains theme name & theme ID