![]() |
How do you enter php into phrases?
How do you enter some php into phrases. I have welcome headers and would like to post different messages based on different variables.
Edit.. I would like to know how to add php to notices or the above.^^ |
Adding it to phrases is done in the templates like this (example from the navbar):
HTML Code:
<phrase 1="$bbuserinfo[username]" 2="$vboptions[bburl]/member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[welcome_x_link_y]</phrase> |
Thanks for the reply. But I wanted to add an if then statement in php. Not just variables.
|
You have to use a plugin to do the if/else and the output from that would be a variable you can then use in the phrase.
|
thank you. I will have someone make it in the paid section. =)
|
All times are GMT. The time now is 11:18 AM. |
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:
|