The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Template help
Ok i'm having a bit of a problem. I tried to make my own template function to call my templates for my website where here is what I got:
The gettemplate function: PHP Code:
PHP Code:
Could anyone help me on why when I call the templates they arn't showing up? |
#2
|
||||
|
||||
Well I figuare I would post an update on what I have done so far. I have ran a small test script that would insure that the templates where there and it worked and it did exactly what I wanted it to do. So I guess my problem is the function which is above.
|
#3
|
||||
|
||||
This should work fine:
PHP Code:
PHP Code:
PHP Code:
|
#4
|
||||
|
||||
Either echoing it our directly or the other way worked and I can't seem to find out why? Do I have php setup wrong maybe? Could someone please help.
|
#5
|
||||
|
||||
I don't get it, what are you trying to figure out? So please clarify.
You have a solution to your template problem, what does it have to do with the setup of PHP? |
#6
|
||||
|
||||
The solution you gave didn't work. So I need another solution. I remeber one time I had a switch statement that didn't work because register_globals was turned off so I thought that maybe this or someone other set-up variable was causing my problems but I think I got an answer over at sitepoint.
Thanks anyways! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|