vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Auto Add Template To All Skins (https://vborg.vbsupport.ru/showthread.php?t=61399)

paulomt1 02-12-2004 04:04 PM

Great hack, thanks:)

Zachery 02-12-2004 04:13 PM

Quote:

Originally Posted by paulomt1
Great hack, thanks:)

Dont wish to be rude or anything but this is a highly useless hack :P

Zero Tolerance 02-13-2004 08:54 PM

Yeah if your using child skins, but im not and i don't want to, so this helps me out a s**t load (since currently i have 8 skins) so yeah, its useless but usefull too

Zachery 02-13-2004 10:29 PM

Yes, you should ALWAYS have a Parrent child setup

Master
-SkinA
--SkinA Child
-SkinB
-SkinC
-SkinD
--SkinD Child
---Child of Skin D Child

Now adding a template to the master (defautl vB templates) makes things simple, and i dont mean the vB's Master either


Besides if i understand how your doing it now, what happens when you upgrade vBulletin to 3.0.0RC5 or 3.0.1
and the master style gets rewritten?

Link14716 02-14-2004 12:10 AM

Quote:

Originally Posted by Faranth
Yes, you should ALWAYS have a Parrent child setup

Master
-SkinA
--SkinA Child
-SkinB
-SkinC
-SkinD
--SkinD Child
---Child of Skin D Child

Now adding a template to the master (defautl vB templates) makes things simple, and i dont mean the vB's Master either


Besides if i understand how your doing it now, what happens when you upgrade vBulletin to 3.0.0RC5 or 3.0.1
and the master style gets rewritten?

Agreed 100%.

Kumaro 02-16-2004 07:55 PM

it would be nice to be able to edit templates and it will alter all the styles if the template is present in it.

Zachery 02-16-2004 08:14 PM

You can already do this, its part of vBulletin 3's default features, its called Parrent and Child inheirtence.

Make a at the top most level, and all templates under the top most level will be changed, UNLESS a child already has this template changed.

tanhadil 05-24-2004 03:13 PM

where is the automatic template add option in admincp??

Zero Tolerance 05-26-2004 10:27 PM

When you go to add template, theres a drop down menu to add to all templates, but it seems this hack is pointless if you have a prent skin, if not then i suppose it is of some use

- Zero Tolerance

Beermonster 05-27-2004 08:03 AM

I've installed it, I've been wanted to add other skins but couldn't be bothered redoing the hacks, this has saved loads of time :)


All times are GMT. The time now is 06:55 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.00971 seconds
  • Memory Usage 1,729KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete