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

Conditional based on post count

Brent W

Well-known member
#1
Is there a template conditional that can be used on member profile pages to add something to the page if the user as more than x amount of posts?
 

Dr.Yontem

Formerly Tilkißey
#2
member_view template is using for member profile page and this template contains $user variable. So, you can use this condition on template
HTML:
<xen:if is="{$user.message_count} > 500">
wooow, more 500 posts?
</xen:if>