Condition user_group_id => bug ?

  • Thread starter Thread starter Deleted member 10469
  • Start date Start date
D

Deleted member 10469

Guest
HTML:
<xen:if is="{$visitor.user_group_id} == '16'">
    {xen:number $user.user_id} <!-- Display user id forusergroup 16 -->
</xen:if>

This code does not work if the group is secondary group.
Is it possible to fix it please ?
 
Other questions please :)

{$xenOptions.XenCrea_ListeForumIdWargame} ==> "175,159" (in xenforo option type "string")

I use :
<xen:if is="{xen:helper ismemberof, $visitor, 16} AND in_array({$forum.node_id}, array({$xenOptions.XenCrea_ListeForumIdWargame}))">

or

in_array({$forum.parentNode_id} == 175
No equivalent for parentNode for subforum ?

Not work, bad usage ?
Thank.
 
<xen:if is="{xen:helper ismemberof, $visitor, 16} AND in_array({$forum.node_id}, array({$xenOptions.XenCrea_ListeForumIdWargame}))">

Only the first number is taken into account :/
 
Back
Top Bottom