Support Permissions to view custom thread fields

kutaz

XF is cool thing
Loyal Member
Hello,
Any idea how can I make custom thread fields visible only for chosen user group? And If user in not in this group there will be custom message, you have to be registered to see content?
 

kutaz

XF is cool thing
Loyal Member
Hello,
Any idea how can I make custom thread fields visible only for chosen user group? And If user in not in this group there will be custom message, you have to be registered to see content?
I was thinking about doing it this way, but it doesn't work
Rich (BB code):
<xf:if is="$xf.visitor.isMemberOf([1])">
{$valueUrl}
</xf:if>
 

kutaz

XF is cool thing
Loyal Member
I was thinking about doing it this way, but it doesn't work
Rich (BB code):
<xf:if is="$xf.visitor.isMemberOf([1])">
{$valueUrl}
</xf:if>
I was trying to do it in this way too, but it doesn't work too
Code:
<xf:if is="$xf.visitor.is_registered">
    {$value}
<xf:else />
     <p>text</p>
</xf:if>
 
Back
Top Bottom