XenForo Hide [Code] content from visitors !

kutaz

XF is cool thing
Loyal Member
like i said put your code simply like this :

<xf:if is="$xf.visitor.isMemberOf(3)">
(Your widget code here )
</xf:if>
Ah, ok ty for help. I thought that I have to put it in "Display condition"
If I want to add there more roles, I just have to add
Code:
<xf:if is="$xf.visitor.isMemberOf(3, 2, 1,)">
 

alodda

Loyal Member
Registered
Ah, ok ty for help. I thought that I have to put it in "Display condition"
If I want to add there more roles, I just have to add
Code:
<xf:if is="$xf.visitor.isMemberOf(3, 2, 1,)">
if you want to add more groupe ID make like this

HTML:
<xf:if is="{{ $xf.visitor.isMemberOf([3,13,14,15]) }}">
 
  • Tags
    hide [code] content from visitors tips hide [code] content from visitors xenforo hide [code] content from visitors xnforo.ir
  • Back
    Top Bottom