Forum Index Conditional?

http://xenforo.com/community/threads/frequently-asked-questions.5183/#post-182355
How can I show content on a specific page?
<xen:if is="{$contentTemplate} == 'xyz'">
This content will show on the xyz template
</xen:if>

http://xenforo.com/community/threads/frequently-asked-questions.5183/#post-181112
How can I find out which template to edit?
Using your browser, view the page source and look for a line of code near the top of the page which begins
<div id="content" class="; the class is the name of the template. So for the main forum page, the line of code is:
<div id="content" class="forum_list">, which makes the template forum_list.
 
Thanks! Got that to work. Know anything about the profile fields?
<xen:if is="{$user.customFields.tweetboard} == 'yes'">

I have it set to no, but it still displays o_O

NVM figured it out:
<xen:if is="{$visitor.customFields.tweetboard} == 'yes'">
 
Top Bottom