View Full Version : 3 templates, want only one
I have 3 styles for my bulletin, it create 3 templates, and im not sure if i really need all 3. I would like to know if its possible to have only 1 template so i can edit all the strings of my whole forum within that one. It is really hard for me to modify every single one. Please help!
29 Jun 2002, 05:21
It would take more than a template modification to do this, ask or search at vBulletin.org.
29 Jun 2002, 08:46
just on the styles goto properties and change the template set each one uses. I believe this is it but correct me if im wrong
29 Jun 2002, 09:00
Yes that will work, but if all styles draw from the same template set, all 3 styles will be the exact same I do believe.
Each style has its own colors, and custom headers and footers, isnt that a problem if i only wanted 1 template?
29 Jun 2002, 19:53
from what your saying I would have to say that would require some hacking of the php files, you can ask http://www.vbulletin.org for help on that... they have a request forum that you can ask this in. :)
29 Jun 2002, 19:54
the colors are in the replacement variables just change the template set and not the replacement set but the header and footer are in the templates so yes it will mess those up
29 Jun 2002, 19:58
as long as the layout is the same, and only headers and graphics are different, all can share the same template. they only use a different replacement set.
then just delete the other two templates.
Ok thanks, I will try that but its been so complicated for me lately, uhg! :(
29 Jun 2002, 20:36
but remember, if they share a template, the HTML code will all be the same :)
I think I really need someone to do this for me, I only wanted to turn the 3 into 1 because I wanted to get rid of the subject form on replies but I really messed things up for myself trying to do this.
29 Jun 2002, 21:37
why didn't you just ask to do that in the first place?
Sorry, i guess I should have, can you do this for me?
29 Jun 2002, 23:02
all i have to say is
* Foxtroter LAUGHS HIS BIG BUTT OFF
What? Nobody said anything funny here...
29 Jun 2002, 23:05
sorry just thought it was funny that that is all you wanted and then we ran around trying to do all this other stuff, i thought it was funny and thats enough for me :o)
yeah eheh, I apologize :rolleyes:
29 Jun 2002, 23:48
did you get everything done the way you want, or is there still a question? because you have me completely lost
I asked you if you could fix the templates for me, and try to only have 1 template with 3 styles, if its possible, I think you said it was.
30 Jun 2002, 03:11
ok, I assume you're asking me to
1) fix a template for you
2) tell you if you can consolidate the template sets.
1) I'd help you but since my site's down, I can't confirm the right text to remove to pull out the subject field.. sorry
2) you can choose one template set and have all styles point to it, that's easy.. the only thing will be all HTML and hacks will apply to all styles, only the colors and images would be different
No I am not asking you to remove the subject, I know how to do that myself, but it would be easier for me to remove the subject in the replies if I only had 1 template to work with. I tried doing this already but it looked as if I had to edit each and every template individually to remove only one thing.
All I am asking is for you or someone else that would do it, to make all of my templates, point to one like you said, or to just have one. I have no idea how these templates work.
Ok, I am almost done removing all the subjects in the replies, but I am still asking if it is possible to have 1 template, and still 3 styles, and each one of my styles has its own custom header/footer.
30 Jun 2002, 13:49
by looking at your forum, since the style "bayskate layout" seems to have the header made differently, you would need to keep the template set seperate from the others.
templates are the actual HTML bits the forum code puts together, the code assembles the bits and puts in the information, then sends it to the browser.
if your styles had EXACTLY the same layout in the templates (i.e. whenevery you edited a template, you have always done all 3), then all you would need to do is go to edit style properties under styles and choose a template set for each one. Make them all the same set, and when you have all 3 styles using the same template set, then you can delete the others. This will leave only one template set to use. All images and colors will remain different.
if there's any difference that you've put in the templates to make the styles look different, then it would be best to keep a seperate template for each style.
I can't really explain if further.. if it's still too much trouble, best thing to do is to stick it out and wait for vb3, which will give you the ability to edit all templates at once :)
You actually explained that really well! :D I guess its not so hard afterall to edit each template individually, especially when I only have 3, some people have many more. It looks like the last time I tried to edit my templates I had done something wrong, but I did it right this time. So thanks for your help, Now I get it! And yeah, I heard vb3 is going to be much better with templates.
30 Jun 2002, 22:31
Glad I could help :D
at one time I had about 16 template sets :)
Then I have no idea what I'm complaining about :eek:
25 Jan 2003, 04:26
I apologize for jumping in late here, but could someone explain one part of this a little further for me?
Here is my setup: 2 styles, 2 templates. Default and Blue
Default is obviously what I started with, many templates were modified (many!) before I created the new set Blue.
I created Blue out of Default (sounds like a bible story now doesn't it? hehe) Anyway.. blue only requires one or two templates to be different (header is one of them). The rest are a giant PAIN because when I modify one, I have to jump over and modify the other.
Then I notice the Template Set drop-down box. It shows both default and Blue. One might think if I only wanted to use one set I could change all these to default except for the ones I do want to keep separate. However, this doesn't seem to work.
"default" in this instance doesn't seem to necessarily reference the Default style templates that I have modified, but the actual real default un-modified template.
Here is an example:
I go into my Default style, memberlist template and modify it so it shows the msn, aol etc. icons. Now I jump over and started editing blue (cut & paste). Now I have 2 edited versions - both identical, but have to keep both updated. While editing the blue style (still memberlist template) I figure I'll select the default template set figuring it will take on any modifications I make in the default template so I won't have to cut & paste again. However, what I see then is the ORIGINAL default template - the one that existed before I ever modified it.
This means there are basically 3 things.
1. Default (modified) templates in the default style
2. Blue (modified) templates in the blue style
3. "Default" templates for both styles, un-modified originals.
Is this sounding correct?
Having said all this.. it is possible to do what I wanted to do? I mean.. keep maybe one or two separate templates, then let the rest of the templates from the blue style revert back to my Default style?
I better not say any more, I'm getting confused again..
26 Jan 2003, 07:50
Why not make things simple on yourself and either delete or set one for your forum. In the usercp find the setting to over users settings for the style / template and select yes you want to override it. Then go to that particular template set and modify as needed. Then never ever afterwards touch the others again...at leats not until your confortable modifying them.
26 Jan 2003, 16:13
I'm sorry but that just doesn't help me at all.
The problem is that I NEED to have a few separate templates.. just not the whole set.
I'm more than comfortable editing them.. I just don't like having to keep more than one up to date if the don't need to be different between styles. Those that do need to be different means I cannot do what you are suggesting.
If I could go with just one I would have done that.
This doesn't answer whether or not you can have the best of both worlds as described in my earlier post.
vBulletin® v3.6.12, Copyright ©2000-2013, Jelsoft Enterprises Ltd.