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

XF 1.4 user field enable disable chat forum list

#1
So ive been trying to make this work but with no success i dont know how to proceed

the code i made
Code:
<xen:hook name="forum_list_nodes">
<xen:if is="{$visitor.customFields.shoutbox} == 'yes'">
<xen:hook name="dark_taigachat_alt" />
<xen:if is="{$renderedNodes}"><xen:include template="node_list" /></xen:if>
<xen:else />

    <xen:if is="{$renderedNodes}"><xen:include template="node_list" /></xen:if></xen:if>
</xen:hook>

Can anyone help me please