• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.4 Code Varibales

VinnyS

Active member
#1
Not sure if the description Code Variables is the proper? Is there a code like {username} and it inserts the user name, is there a list of these code somewhere?

Thank You
Vinny
 

Brogan

XenForo moderator
Staff member
#2
There are different variables for each template so there isn't a master list as such.

Having said that, $visitor and $user are available in a lot of templates.
 

VinnyS

Active member
#3
Hi Brogan
OK per say is there nothing to guide me out there? I know you are very knowable about XenForo however I know enough to be dangerous lol no lists??

Vinny
 

Brogan

XenForo moderator
Staff member
#4
It really depends what you are trying to do.

Variables are passed to the templates from PHP and each one is different.