The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I noticed in some mods that use PHP include that there is a code to make it so when you enter something like $modname it displays the HTML from a templete. How do I do this in phpinclude? Can I just have a template that says things like $YOURVARIABLE I can replace?
thanks |
#2
|
|||
|
|||
![]()
Install PAPI (link in my sig) and use this:
PHP Code:
Then use $variablename wherever you want templatename to appear. |
#3
|
|||
|
|||
![]()
thanks alot!!!
This will make orginizing my templates much eassier ![]() |
#4
|
|||
|
|||
![]()
errr it says its a call to unidentified function maketemplatecode or wahtever the function was. I installed the PAPI to :\
|
#5
|
|||
|
|||
![]()
makeevaltemplatecode
|
#6
|
|||
|
|||
![]()
lol I know
I just copied and pasted the code you gave me replacing the template name and variable name |
#7
|
|||
|
|||
![]()
In that case I should spell correctly:
PHP Code:
|
#8
|
|||
|
|||
![]()
lol k thanks
![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|