The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Template parsing help
I am a beginner and haven't done any mods yet. I have a simple mod I'm attempting to create and cant figure out how to get my template to show up in a page, im sure im just making a simple mistake.
My template name is 'Signature_Rules' I have this in the plugin and hooked to parse_templates PHP Code:
{vb:raw signaturerules} I'm not sure if im using improper syntax or calling the wrong things any beginner help is appreciated |
#2
|
||||
|
||||
You need to then (pre)register the variable $signaturerules for use in whatever template you are now going to go use it in.
PHP Code:
|
#3
|
||||
|
||||
Awsome this worked thanks, now just have to work on getting my template to look how I want it
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|