Brad Padgett
Well-known member
HTML:
<xf:if is="$xf.visitor.reaction_count == 50"> <img src="path/to/img/"> </xf:if>
<xf:if is="$xf.visitor.reaction_count == 100"> <img src="path/to/img/"> </xf:if>
<xf:if is="$xf.visitor.reaction_count == 150"> <img src="path/to/img/"> </xf:if>
For example if someone has 50 reactions I could add half a star, if they had 100 a full star... etc until I have so many star images. Would this work? If I'm doing it wrong do you have any idea how I could achieve this with a different function. Should I be using $user instead? Thanks for any help