Display User's Style Selection in Profile or Postbit

Alteran Ancient

Well-known member
This is probably really straightforward, but I wanted to see if this had already been done or not.

Quite simply, our board has a large number of styles to choose from, each one of them representing a different "character". We would like to display this to each user, either in the Postbit, or in a User's Public Profile.

Now, considering that a user's selection is stored as nothing more than a single ID value, should this be too hard to grab? Would it be something simple like a template user var?


Thanks for the help!
 
I don't see an addon for this. You can use this condition in the message_user_info template:

Code:
<xen:if is="{$user.style_id} == 6">
	blah
</xen:if>

This allows you to display some text based on the styleid of the post author. The same condition works in member_view for profile pages.
 
Top Bottom