vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Defaulting everyone's Style? (https://vborg.vbsupport.ru/showthread.php?t=107077)

SIINSI 02-03-2006 05:17 PM

Defaulting everyone's Style?
 
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

Quote:

Originally Posted by MortysTW
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>


All times are GMT. The time now is 11:18 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00942 seconds
  • Memory Usage 1,720KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete