XenForo Hide [Code] content from visitors !

Marks-Man

Loyal Member
if i code like this it works for me, to test

Code:
<xf:if is="$xf.visitor.isMemberOf([1])">
<xf:if is="in_array($forum.node_id, [4,20,42,16])">
    <a>welcome</a>
    <else if>     
        </xf:if>
    </xf:if>
First if statement is working, but second one with nodes it doesn't work for me. If I want to hide links in specific nodes it's not working ,Try it in bb_code_tag_code template

Try this if statement with this template
<xf:if is="in_array($forum.node_id, [4,20,42,16])">
 
  • Tags
    hide [code] content from visitors tips hide [code] content from visitors xenforo hide [code] content from visitors xnforo.ir
  • Back
    Top Bottom