• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.1 Usergroup Promotion ???

tafreehm

Well-known member
#1
Okay, I just setup user ranks images and I was shocked to see how each user ended having more than one user rank image....

The reason is the conditions I setup in Usergroup Promotion.. instead of moving user from one group to another it just add them to secondry usergroup which will not work for me.

As I wanna show one rank image for each user. plus different access criteria....

Can someone tell me how can I MOVE usergroup instead of Adding them to secondry usergroup ?
 

Jake Bunce

XenForo moderator
Staff member
#2
That is the normal behavior for the promotion system.

You could change your template conditions to prioritize and display only one rank. For example:

Code:
<xen:if is="{xen:helper ismemberof, $user, 4}">
	rank 1
<xen:elseif is="{xen:helper ismemberof, $user, 3}" />
	rank 2
<xen:elseif is="{xen:helper ismemberof, $user, 2}" />
	rank 3
</xen:if>
 

tafreehm

Well-known member
#3
That is the normal behavior for the promotion system.

You could change your template conditions to prioritize and display only one rank. For example:

Code:
<xen:if is="{xen:helper ismemberof, $user, 4}">
rank 1
<xen:elseif is="{xen:helper ismemberof, $user, 3}" />
rank 2
<xen:elseif is="{xen:helper ismemberof, $user, 2}" />
rank 3
</xen:if>
so there is no way to move users from usergroup to another ?
and if I use else if expression which 1 usergroup its gonna go for ? latest promoted one or primary usergroup ?