The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
php templates
Is there any way, to get PHP code in the templates, as I need to integrate a script with the rest of my site.
If not, what solution would you recommend? Is it possible to build a php powered page, without the use of templates, that you can enter the php code in manually? solutions would be much appreciated |
#2
|
|||
|
|||
place your php in the php_include start template.
|
#3
|
|||
|
|||
Surely if I did that though, it would be included on all pages, and not the one specific page I want. And how would I get that to appear where I want on the specific page?
|
#4
|
||||
|
||||
Well, you'd need to create a variable in the phpinclude template, for a specific template if you wish, and then place it where you want it to show.
|
#5
|
|||
|
|||
sounds pretty complicated. I'd have thought that there would have been mods for doing something like this though?
|
#6
|
||||
|
||||
There are mods that use the phpinclude template, but no mod telling you how to make a phpinclude mod, sorry. If you have a specific mod you want, request it and be more specific.
|
#7
|
|||
|
|||
Ok then - THIS IS MY SPECIFIC MOD REQUEST
What I want is to be able to use php within templates. Not just includes, but whole chunks of code within the templates. Would anybody be able to make this possible. |
#8
|
||||
|
||||
Like I said, no modification will tell you how to make a modification. It will do it for you, and that's it. When I am referring to specific, I mean, what modification you want to make to your forum, what function you want to add, etc.
|
#9
|
|||
|
|||
Surely the function I want to add is php in the templates system
|
#10
|
|||
|
|||
Open your specific vbulletin php pages and add the php you want to those files then alter your html in the template to correspond with your added PHP.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|