vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin Pre-Sales Questions (https://vborg.vbsupport.ru/forumdisplay.php?f=26)
-   -   Do styles & themes are seamless for hacks? (https://vborg.vbsupport.ru/showthread.php?t=78167)

libertate 03-15-2005 03:27 PM

Do styles & themes are seamless for hacks?
 
Do styles & themes are seamless for hacks? That is, when I install various themes, styles, or skins (whatever the name-of-the-day is), and install hacks, or modifications, will the hacks/mods inherit the selected themes?

Can I load them in any order, or do I have to first load the themes, then the hacks/modifications, or reverse (hacks/mods first, then themes)?

I understand graphics will need to be uploaded separately, as such.

Thank you.

Zachery 03-15-2005 03:56 PM

Quote:

Originally Posted by libertate
Do styles & themes are seamless for hacks? That is, when I install various themes, styles, or skins (whatever the name-of-the-day is), and install hacks, or modifications, will the hacks/mods inherit the selected themes?

Can I load them in any order, or do I have to first load the themes, then the hacks/modifications, or reverse (hacks/mods first, then themes)?

I understand graphics will need to be uploaded separately, as such.

Thank you.

Will styles / themes work out of the box withyour hacks? most likely not, as they are custom. But it all depends really.

libertate 03-15-2005 05:12 PM

Quote:

Originally Posted by Zachery
Will styles / themes work out of the box with your hacks? most likely not, as they are custom. But it all depends really.

Thanks for your reply.

All depends on what?

So there is a default style, and all hacks will work with that, but if I added say "Purple", "Smooth Blue", and "Stylish Green" styles, then I would have to adjust each style to work with the hacks, and/or modify the hacks themselves?

I thought styles were "managed" through Style Manager, and StyleVars. Do hacks use hardcoded styles, or all inherit the board's style, or some do, some do not?

(Side Question but relating to style: Can all the message headers (author, date posted, etc.), and such moved to the right side instead of the left side?)

Jolten 03-15-2005 05:20 PM

With hacks and styles, you may have to do all the template edits for a hack. The php file edits and database changes are common no matter what style you use. Generally the templates change though.

And if you edit the postbit or postbit_legacy template yes, you can move the user info to the right of a post.

kall 03-15-2005 05:56 PM

How the vB Style System Works - A Short Treatise by Kall :)

You have a parent style.

You add child styles to that parent style.

You make a change to a template in the parent style, all child styles with UNMODIFIED versions of that template inherit the changes.

ie: If I have modified showthread_quickreply in one of my 5 child styles but not the other 4, and I then make a change to showthread_quickreply in my parent style, the 4 styles with unmodified showthread_quickreply will inherit the changes but the changed one will not.

So, if you have some mega-funky style with lots of changed templates (see my site for example), it will not inherit any changes made to the templates of the parent style that are modified within it.

Talisman 03-15-2005 10:45 PM

That's very helpful, Ace.. thanks for the explanation. ;)


All times are GMT. The time now is 08:21 PM.

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.02421 seconds
  • Memory Usage 1,722KB
  • 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)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