The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
help rendering templates
okay im trying to learn how to use the template rendering system on vbulletin 4, and i tried something very easy to learn how to do stuff, this is just something simple i want to do to learn how to use templating system because this is a much more complex than vb3 templating system:
im making a simple modification to print a random generated message on the postbit, right under the post count, what i have so far is this: plugin at postbit_display_complete: PHP Code:
Code:
hello your random greeting is {vb.raw finalvar} ! <vb:if condition="$post[field5]"><div class="smallfont"> Gender: $post[field5]</div></vb:if> $post[field5] now, the exact trouble im having is that i get printed EXACTLY the content of the template in my postbit, and the text inside the vb:if tags its completey ignored: Code:
hello your random greeting is {vb.raw finalvar} ! $post[field5] thanks for your help! |
#2
|
||||
|
||||
anybody? please? i really need help with this, im completely lost!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|