XF 2.1 Help With A Conditional

Davey-UK

Active member
Can someone please help with this conditional.
I am trying to make the content of node 3 restricted to members not in usergroup 5
Code:
<xf:if is="{{!$xf.visitor.isMemberOf(5)}} AND $forum.node_id == 3">
Doesnt seem to be working within a template modification. Is the format correct? Any help is appreciated.
I am trying to to adapt the instrucions in this thread Here
But instead of logged out users, i am trying to show a warning if not in a Premium group, whilst viewing a Premium category.
Thanks
 
Back
Top Bottom