1

Topic: Change alll users' styles to certain one

I have full admin to MySQL and phpmyadmin.
How can I change alll users' styles to certain one?

2

Re: Change alll users' styles to certain one

There's a real easy way of doing this, in the style directory are all the CSS files.

Cobalt.css, Lithium.css, Mercury.css, etc. - rename all of them to Cobalt.txt, etc., leaving the one you want to be used as the default in admin options, the system will default to this one.

Re: Change alll users' styles to certain one

And to answer your question:

UPDATE prefix_users SET style = "style name goes here";

4

Re: Change alll users' styles to certain one

Thanks!

5 (edited by guardian34 2006-08-04 23:07)

Re: Change alll users' styles to certain one

There's also the "Languages and styles" plugin on the PunBB downloads page.

Re: Change alll users' styles to certain one

hcgtv wrote:

There's a real easy way of doing this, in the style directory are all the CSS files.

Cobalt.css, Lithium.css, Mercury.css, etc. - rename all of them to Cobalt.txt, etc., leaving the one you want to be used as the default in admin options, the system will default to this one.

Yes, this worked fine smile
Thank you.

Charles.

Re: Change alll users' styles to certain one

elbekko wrote:

And to answer your question:

UPDATE prefix_users SET style = "style name goes here";

Where exactly do we put this?

Re: Change alll users' styles to certain one

In the SQL tab in phpMyAdmin

Re: Change alll users' styles to certain one

Ok,

-total newbie-

#1
So do I get this right that if I change the default theme as admin, it changes it only to the admin account? Not across all users? (Without rebuffing the all the other .css options in /styles folder)

#2
Secondly I have this funky issue with my punbb - I just started to mess about with my forum setting and I changed the admin accounts styles setting from the default oxygen. Now I get this problem: default oxygen style kicks back on everywhere else but log in!? Ie, after I log in, I'm back in default mode.

Re: Change alll users' styles to certain one

#1
no, that only changes the theme for users and guests who visit/join from that point on. the "Languages and styles" plugin found on the downloads page will change EVERYONE's style to the one you choose.

#2
weird, not sure on this one.

~James
FluxBB - Less is more

Re: Change alll users' styles to certain one

Thx Doc!

The plugin did away with both issues