vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3 Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=187)
-   -   [Tip] - Quick and easy changing of default styles (https://vborg.vbsupport.ru/showthread.php?t=47317)

Dean C 01-02-2003 10:00 PM

[Tip] - Quick and easy changing of default styles
 
Hi,

The alternative to this would be hacking global.php to set the default style id not to be one or swapping the templates and replacement sets around.

This will do it even faster.

StyleA = default
StyleB = style you want to be default


So what we do is:

1/ Download Style A
2/ Download Style B
3/ Upload and overwrite StyleA with StyleB
4/ Upload and ovewrite StyleB with StyleA

There we go. Nice and simple.

Regards

- miSt

N9ne 03-16-2003 05:50 PM

lol, simple yet effective :).

Dean C 03-16-2003 06:53 PM

I can't even remember writing this :)

- miSt

N9ne 03-18-2003 05:37 PM

Heh, I just realised the date of your post, I guess this forum isn't very active :(.

Dean C 03-18-2003 06:00 PM

But it's so full of useful information for the average hacker :)

- miSt


All times are GMT. The time now is 06:06 PM.

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

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01307 seconds
  • Memory Usage 1,706KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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