vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   Change style id no. (https://vborg.vbsupport.ru/showthread.php?t=219305)

Saint_I_Am 07-24-2009 12:20 AM

Change style id no.
 
Is there a way to change the style id number? I have a style number 55 and want to change it to number 1. Is there a way?

napy8gen 07-24-2009 12:42 PM

I dont think so, but however you can download the number 55 style then upload it back and merge with no 1 style .

In the upload style option there is merge into style option, you can merge that no55 to no1 style. so now the no 55 will be no 1.

but backup every style you want to change and know the exact style id.

Marco van Herwaarden 07-27-2009 08:07 AM

The style-id is just an internal reference number. It has no meaning, but it should not be changed.

maroceve 10-18-2009 10:14 PM

I think i have a problem on photopost because of the style id ..since i deleted the style 0.

is there a way to give my new style the 0 number ?

thanks ?

Lynne 10-18-2009 10:53 PM

There is no style 0. The MASTER STYLE is styleid -1 and the default style your forum is 'born' with is styleid 1, so I don't know what you mean about deleting style 0.

maroceve 10-18-2009 11:05 PM

Well i don't have any style with that id ...so it means my master style is gone. i guess. Is there a fix for this ?

Lynne 10-19-2009 12:05 AM

You would not see your MASTER STYLE unless you were in debug mode. It is not displayed on a normal forum. If you just want a new style that is totally default, do this:
  • Styles & Templates > Style Manager > Add New Style
  • Parent Style: No Parent Style
  • Title: Default vBulletin
  • Allow User Selection: Yes
  • Save

PhilG 08-25-2011 02:29 PM

I just did it:

1. run the following sql:

Code:

UPDATE style SET styleid='##NEWSTYLEID##', parentlist = '##NEWSTYLEID##,-1' WHERE styleid='##OLDSTYLEID##';
UPDATE stylevar SET styleid='##NEWSTYLEID##' WHERE styleid='##OLDSTYLEID##';
UPDATE template SET styleid='##NEWSTYLEID##' WHERE styleid='##OLDSTYLEID##';
UPDATE templatehistory SET styleid='##NEWSTYLEID##' WHERE styleid='##OLDSTYLEID##';

2. Go to Maintenance > Update Counters > Rebuild Styles. Run
3. Go to Settings > Options > Style & Language Settings. Click Save (no changes necessarily)

That should do it.


All times are GMT. The time now is 04:06 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.00972 seconds
  • Memory Usage 1,717KB
  • 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_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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