![]() |
template parsing variable
This may be a weird question but how do I stop a vbulletin variable from parsing in templates?
I am trying to create a help page and every time I add $bbuserinfo[username] inside the template, it shows the users name instead of just displaying $bbuserinfo[username] as text. Thanks |
Try adding a backslash (or maybe even 2 or 3, try it) in front of the $, so \$bbuserinfo....
|
Quote:
bbcode does not parse inside template so that doesnt work.:erm: update: It will work only once by using ascii ie, $bbuserinfo[username] as $bbuserinfo[username] But as soon as you reopen template editor, all your ascii turns back to symbols. |
Code:
<if condition="$text = '$bbuserinfo[username]'">$text</if> |
Quote:
|
Quote:
|
Try:
Code:
<if condition="$text = '\$bbuserinfo[username]'">$text</if> |
All times are GMT. The time now is 04:51 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|