Log in

View Full Version : Defaulting everyone's Style?


SIINSI
02-03-2006, 05:17 PM
Will this work to set everyone's style to what i have set as default in the AdminCP?

update user set styleid=0;

Will they still be able to choose a style if the option is available to them?

Thanks,
Miguel

Marco van Herwaarden
02-03-2006, 07:18 PM
Not 100% sure, but i think the board default style is represented by the value of -1.

And yes they could still choose another if it is public.

PS Also have a look at the predefined queries in your ACP. There might already be one that does what you want.

MortysTW
02-04-2006, 02:24 PM
Ya, you don't need to go editing code. The adminCP has a choice to FORCE the style of the site and users will NOT be able to change their style.

AdminCP > vBulletin Options> vBulletin Options > Style & Language Settings

2nd option down you choose the default style for your site.

3rd option down you choose if users can change the style. Put NO if you want to force the style you want.

SIINSI
02-28-2006, 09:00 PM
Ya, you don't need to go editing code. The adminCP has a choice to FORCE the style of the site and users will NOT be able to change their style.


AdminCP > vBulletin Options> vBulletin Options > Style & Language Settings

2nd option down you choose the default style for your site.

3rd option down you choose if users can change the style. Put NO if you want to force the style you want.

I just got around to trying this and it doesn't exactly do what I want it to do. I want everyone's style to go back to a certain style(default) but, then I want them to have a choice of changing styles afterward.

ie: I have 15,000 users using style "A"
2,000 using style "B"
3,000 using style "C"

I want to make everyone go to style "A" and after that, give them the choice of choosing again.

Doing what is stated above just takes the stylechooser away, it doesn't actually default a user to that style unless they come back to the site in the timeframe in which I disable and reenable it.

Hope that isn't too confusing.

Thanks,
Miguel

Smiry Kin's
02-28-2006, 11:05 PM
theres an evil hack about, which will forcely set a style, i use it.. because i no some of my users see the old style etc..

Taylor123
03-01-2006, 04:41 PM
i'd like to know of this too, where is this evil hack?

-=Sniper=-
03-01-2006, 05:18 PM
<a href="https://vborg.vbsupport.ru/showthread.php?t=108623&highlight=force+style" target="_blank">https://vborg.vbsupport.ru/showt...ht=force+style</a>