The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Different Styles and Headers. help!
I have designed a Default Style for my board which has a banner in the header and custom buttons for Register, My Profile etc...
Now.. I created a new Template (so members can have a choice) but after creating a new Replacement Set and Template I lost the look of my board (its got custom menus etc..) So. I made it run off the oringinal templates BUT it wont change colours then! eek. What I want to do... is have 2 (maybe more) different styles with different Headers in them. Is this possible? do I need a hack? A little help please folks! Thanx! Jon |
#2
|
||||
|
||||
hmm, must it be ASAP or can you wait?
because vb3 has divided the header and footer from the templateset , so you can create new styles with different headers and footers, but they all use the same normal templates |
#3
|
|||
|
|||
If theres a way I can do it now, it would be good. I am reopening my site next Saturday you see.
When is vb3 due out? |
#4
|
||||
|
||||
no dateline is set...
well you can hack the gettemplate function to always use the same templateset id except for header/footer btw. colorchanges have nothing to do with differen templatesets if you've set up the colors in your style. templates just use replacementvars to get the right colors... |
#5
|
|||
|
|||
Thanx for your help.
Is there a thread that explains how to hack gettemplate ? (new to vb u see. ) |
#6
|
||||
|
||||
hmm, i think there isn't one out as i know..
you have to change two things or your queryammount would rise.. ok, open admin/functions.php find PHP Code:
PHP Code:
PHP Code:
PHP Code:
then you can create new styles with new templatesets. every template you make custom in your new set would be taken from the new set, everyone you let be original would take from templatesetid=1. if there isn't one it'll use the global one |
#7
|
|||
|
|||
Brilliant!
Thankyou so much. It works. Thanks for your time. |
#8
|
||||
|
||||
you're welcome |
#9
|
||||
|
||||
Thanks for this Xenon.
|
#10
|
||||
|
||||
you're welcome
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|