KSA
Well-known member
Hello,
I am trying to customize a ranking system based on trophy points and display an image/icon on postbit as users move along the ladder.
I am using a conditional statement to insert the desired image for each however, I have my trophy points defined for each trophy as follow
Trophy 1
My conditional statement is
Is not that not going to duplicate and display multiple images/icons on postbit if user received multiple trophies as he/she moves up along the ladder? if so how can i define the exact number of posts in my conditional statement as given in the example above?
I am trying to customize a ranking system based on trophy points and display an image/icon on postbit as users move along the ladder.
I am using a conditional statement to insert the desired image for each however, I have my trophy points defined for each trophy as follow
Trophy 1
- User has posted at least 100 messages:
- User has posted no more than 299 messages:
- User has posted at least 300 messages:
- User has posted no more than 499 messages
My conditional statement is
Code:
<xf:if is="$user.trophy_points|number > x">
Show content...
</xf:if>
Is not that not going to duplicate and display multiple images/icons on postbit if user received multiple trophies as he/she moves up along the ladder? if so how can i define the exact number of posts in my conditional statement as given in the example above?