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

XF 1.4 Message count variable

#1
I was wondering if there is a template or variable I could use for the message count. I would like to change the message count to say text so for example instead of the number of messages a user has it would say "Too Much". Is there a way to do this per user ID?
 

Chris D

XenForo developer
Staff member
#2
Where would this message count be displayed? Generally it would be {$user.message_count} to show a user's message count, e.g. In their profile.

Sometimes though it may be joined to other data, e.g. To show it inside a post it may be {$post.message_count}.
 
#3
Where would this message count be displayed? Generally it would be {$user.message_count} to show a user's message count, e.g. In their profile.

Sometimes though it may be joined to other data, e.g. To show it inside a post it may be {$post.message_count}.
It would be in the thread view under the avatar. So instead of Messages: 1,221, I could replace the number with "Too much" per User ID