XF 1.4 Custom Node {vars}

1im

Member
Is there a list of custom vars that can show specific information in the node Template HTML area? Such as if a user is logged in or username?

if{logged in}
{username}
else
something else
endif


or am I going to have to create a callback?
 
Found most of what I needed in @Brogan sig: https://xenforo.com/community/resources/conditional-statements.1604/

{$visitor.username} gets username. Wasnt on that page listed above
Code:
<xen:if is="{$visitor.user_id}">
<iframe src='http://www.wsirc.com/?username={$visitor.username}&server=irc.idlechat.net%3A6667&channel=php-games' style='width:800px;height:550px'></iframe>
<xen:else />
<iframe src='http://www.wsirc.com/?username=GMF_*****&server=irc.idlechat.net%3A6667&channel=php-games' style='width:800px;height:550px'></iframe>
</xen:if>
 
Back
Top Bottom