The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Phrase use and management within products, plugins and hacks
Really... can someone write a comprehensive guide on this?
What the XML schema within plugin and product XML is. How do you call a phrase in your plugin? How do you pass a phrase parameters? Is there a maximum to the number of parameters a phrase can take? Are phrases eval'd like templates are? I'm really tired of being lost in this area and just hard coding English... I'd actually like to do things properly but can't find documentation on what proper is. |
#2
|
||||
|
||||
> What the XML schema within plugin and product XML is.
Don't think it's really that important to explain the schema in detail, as it is created automatically anyway. > How do you call a phrase in your plugin? $vbphrase['varname'] in PHP, $vbphrase[varname] in Templates > How do you pass a phrase parameters? construct_phrase($vbphrase['varname'], $param 1, $param2); in PHP <phrase 1="$param1" 2="$param2">$vbphrase[varname]</phrase> in Templates > Is there a maximum to the number of parameters a phrase can take? Not "really" > Are phrases eval'd like templates are? No. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|