The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Looking Simple template Include ..
I am lookign for somehting that you PHP gods might be able to help me with
I am lookign to include a teamplate in a specific forum (above the threads) somethign that would say "if forumif=XX show $template_name" is this easy to do ? .. I coudl create a second style, but when you have multiple skins it becomes inpractical cheers |
#2
|
||||
|
||||
Open forumdisplay.php and find:
PHP Code:
PHP Code:
Open the Forum Display template and add PHP Code:
Good Luck -Arunan |
#3
|
||||
|
||||
Here is a little screenshot
-Arunan |
#4
|
|||
|
|||
excellent !!! .. will try and let you know inf a few
|
#5
|
|||
|
|||
Works like a champ .. it will be on yaxay v.2
thank you very much |
#6
|
||||
|
||||
No problem, looking forward to yaxay 2
-Arunan |
#7
|
||||
|
||||
Aren't we all
- miSt |
#8
|
||||
|
||||
Carlos i just had a good idea which i think you'll find extrememly useful to use on yaxay...
I'd install this hack by Logician which allows you to have conditionals in your templates based on forumid's etc... Which will prevent you from having to edit the php code every time you want to do template includes Take a look at it here: https://vborg.vbsupport.ru/showthrea...threadid=43325 If you need to know how to do something with the conditionals hack then simply ask Logician and he'll help you within 1-2 days Regards - miSt |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|