vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Does any one know how to change ID OF STYLE? (https://vborg.vbsupport.ru/showthread.php?t=228365)

Alexey? 11-19-2009 11:35 AM

Does any one know how to change ID OF STYLE?
 
Does any one know how to change ID OF STYLE?

like my style id is now 213, and i want to change it to 2 or 1, is it possible?

Floris 11-19-2009 12:44 PM

something like this?
untested:
PHP Code:

if($this == 'that'// change the condition if you need one
{
    
$styleid 2// change to the styleid you want
    
$styleid intval($styleid); // Get the integer value


hope that's what you were looking for

oh hook: style_fetch

Alexey? 11-19-2009 03:51 PM

where i can find this hook?
and i didn't understand the condition?

Alexey? 11-20-2009 06:17 PM

help?

kh99 11-20-2009 06:22 PM

Do you want to "rename" style 213 to be style 2 or 1, or do you want to show style 2 or 1 if someone selects style 213?

Alexey? 11-21-2009 09:07 AM

each style has it ID. right?
lets say i have style that his id is 213 and his name is Main-Style,
i would like to change only the style id so it will be instead of 213 : 2


All times are GMT. The time now is 10:35 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.02566 seconds
  • Memory Usage 1,715KB
  • 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_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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