The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Create a variable to let a personalized template show
Hello,
How to do to call a personalized template with a variable in another template? it is necessary to create units but I know not how to do, I must do to post on the forumhome 4 personalized templates. Thank you. |
#2
|
||||
|
||||
Cellarius wrote a really good article that you may be interested in - [vB4] Rendering templates and registering variables - a short guide
|
#3
|
|||
|
|||
Thank you for the link, but I do not know of the the whole php, you could help me if you have the time?
My template this said person "soft" and with a variable {vb:raw soft} I would want that the template appears, how did unit configure? Thank you. |
#4
|
||||
|
||||
You need to (pre)register the variable for use in the template or you can't use it. I really can't get more specific than that with the information posted. You need to read that article and try to understand. Or look at the vbulletin code that renders templates and see how the variables are registered and how the template is rendered.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|