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

XF 1.5 Force New Style on all Memebers

0ptima

Well-known member
#1
I have a bunch of styles and want to add a new style and make that new style the default style. I also want all my members to automatically use the new style the next time they visit the forum.

Once my new style is set as the default style, will the following query force all members to use the default style?

Code:
update xf_user set style_id = 0
 

0ptima

Well-known member
#3
As long as the ID matches that of the new style.

Or you can just disable all other styles.
I dont want to disable the other styles. Just want to confirm that by setting the style_id will force the default style regardless of the style id.

This is what I see in mysql.

upload_2015-9-20_19-1-11.png
 

Brogan

XenForo moderator
Staff member
#6
Yes, 0 will set it to the default, or you can use the style ID.

The difference will be if you update the default, those with a value of 0 will automatically use the new default.