The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hello, I have different colored styles on my board.
They were simply done by creating a new one and changing the main css. My question is, for things like forum buttons and other things in the image folder, How can I have the different styles use different buttons. (aside from manually changing the links in all the templates) Is there somewhere to tell the style to get things from IE somewhere in the XML file? Thanks |
#2
|
||||
|
||||
![]()
<font color="darkgreen">Create a sub directory of your style name, for ex., and replicate the folder structure in the default. Ie: make
Images - MyGreenStyle - - buttons - - gradients - - icons etc and when you create your colored graphics per style you can locate th button, gradient, icon directories in your main css to point to these folders.</font> |
#3
|
|||
|
|||
![]()
What about the forum buttons.
Like new thread, reply..those are what I was asking about. How Do I get different styles to use different buttons. |
#4
|
||||
|
||||
![]()
<font color="darkgreen">They go in the "buttons" folder I suggested creating in that new folder structure.
Then in your css for the style you point the buttons directory to that folder for that style. Each style will point to a different "buttons" folder which will be where you upload your different colored button images as per each style. For ex with that structure you will upload your green buttons to the Images\MyGreenStyle\buttons folder and in the css for your MyGreenStyle style you set "Button Images Folder" to point to "images/MyGreenStyle/buttons"</font> |
#5
|
|||
|
|||
![]()
Thanks a ton mate..I probably just didnt get that the first time you posted, my fault.
|
#6
|
||||
|
||||
![]()
No prob. It took me some time to get used to the way vB works.
![]() Are your styles child styles (inheriting from a parent style) or are they all top level styles (no inheritance)? |
#7
|
|||
|
|||
![]()
They are all top level.
|
#8
|
||||
|
||||
![]()
Then that means they will all be independant of each other. I find it easier to have child styles as fixes in the parent style are propagated down to the other child styles. I want to keep only the graphics as independant of each other.
Depending on your needs, as your styles may/may not have code changes in them, it could be easier to manage if they were child styles of a mater style. Just food for thought. ![]() |
#9
|
|||
|
|||
![]()
Is that why when i add something somewhere I have to do it in all the different style templates??
IE add something to the navbar? If I change them all the child styles of one...then will the changes to the main affect all the others. All they are are I have different colored TD and bars,,,,nothing fancy. |
#10
|
||||
|
||||
![]()
<font color="darkgreen">Yes.
If its just different coloring with buttons and gradients etc then if you make them child styles of, say your primary style, then the changes made in the primary or parent style will propagate down to the other child styles without needing to make any other edits on them. Basically its like just having one style that you have to make your code changes to and it replicates down to the others </font> |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|