XenForo Support

Secondary Groups

Submitted by ReaDyMade, , Thread ID: 116422

Thread Closed
11-01-2019, 02:41 PM
Warned
#1
Hello, idk if imallowed to. I apologize.

I need help with frames regarding secondary groups.This is my curennt code.

Code:
<xf:if is="{{$xf.visitor.isMemberOf(3)}}">
            <div class="avatar-frame admin">

          <xf:elseif is="{{$xf.visitor.isMemberOf(4)}}"/>
            <div class="avatar-frame mod">

          </xf:if>

This shows the frames correcly if the primary group is set as Admin and moderator.

I need to make it work for secondary groups.
The primary group has to be Registered and the Secondary Admin. How to make it work if possible.


Code:
<xf:if is="{{$xf.visitor.isMemberOf(x)}}">
also doesntseem to work.

Thank you.

Users browsing this thread: