Today we are going to discuss how to add member rank on all of the member cards.
It’s quite a simple modification and makes it easier for members to see who is staff and who isn’t.
So how do we do this? Well first we are going to log into our Admin CP and then Appearances and to Templates. From there we are going to search for the following phrase:
member_card
It looks like this when you click on it:
So now we are going to add the following code after this:
<h4 class=”userTitle”>{xen:helper userTitle, $user}</h4>
So this code:
<xen:if is="{$user.user_group_id} == 3"> <li> <h4 class="userTitle">Administrator</h4> </li> </xen:if> <xen:if is="{$user.user_group_id} == 4"> <li> <h4 class="userTitle">Super Moderator</h4> </li> </xen:if>
So it will look like this once you add it in:
Now make sure that you save your changes!
It should look like this when you are done!
There you have it all done!
If you have any questions please feel free to ask away!
Looking for quality XenForo hosting? Check out Arvixe Web Solutions