XF 1.4 user field enable disable chat forum list

Scarface

Member
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
 
Top Bottom