XF 1.5 Link to Like Received in message user info

Bob_R

Active member
I can link to all the elements in my user info except likes received.

In the template message_user_info I need a a href

For example here is the code for messages:

Code:
<xen:if is="@messageShowMessageCount AND {$user.user_id}">
                    <dl class="pairsJustified xbMessages">
                        <dt><xen:if is="@xb_fa_messageUserInfo"><i class="fa fa-comments fa-fw Tooltip" title="{xen:phrase messages}" data-offsetX="-6" data-offsetY="0"></i><xen:else />{xen:phrase messages}:</xen:if></dt>
                        <dd><a href="{xen:link search/member, '', 'user_id={$user.user_id}'}" class="concealed" rel="nofollow">{xen:number $user.message_count}</a></dd>
                    </dl>

Here is the code for likes received:

Code:
<xen:if is="@messageShowTotalLikes AND {$user.user_id}">
                    <dl class="pairsJustified xbLikes">
                        <dt><xen:if is="@xb_fa_messageUserInfo"><i class="fa fa-thumbs-up fa-fw Tooltip" title="{xen:phrase likes_received}" data-offsetX="-6" data-offsetY="0"></i><xen:else />{xen:phrase likes_received}:</xen:if></dt>
                        <dd>{xen:number $user.like_count}</dd>

Notice there is no a href in order to link.

Thank you.
 

Attachments

  • Screen shot 2015-08-31 at 7.03.30 PM.webp
    Screen shot 2015-08-31 at 7.03.30 PM.webp
    2.6 KB · Views: 21
Back
Top Bottom