XF 2.3 How to show the number of messages per user under the avatar?

aagcrc

Member
We want to see the number of messages that the user has posted under the Avatar always.
I have tried different option that are recommended here, but not none of them has worked so far!
My XenForo is under version 2.3.7
Thank you in advanced
 
Nevermind I was able to solved it now, for some reason it took a while to refresh the changes.

Agrega esto manualmente dentro del macro:
I haved added into the Templates Macros, under message_macros → macro message_user_info,

Code:

<dl class="pairs pairs--justified">
<dt>Mensajes</dt>
<dd>{$user.message_count}</dd>
</dl>
 
How do I show the resources each member have?
Do a template modification and add this

<xf:if is="$xf.visitor.canViewResources() AND $user.xfrm_resource_count">
<dl class="pairs pairs--justified">
<dt>{{ phrase('xfrm_resources') }}</dt>
<dd><a href="{{ link('resources/authors', $user) }}">{$user.xfrm_resource_count}</a>
</dd>
</dl>
</xf:if>
 
Back
Top Bottom