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

XF 1.3 Adding conversation on user home page

tommydamic68

Well-known member
#1
As I was updating my templates from the 1.3 update, I came across this edit I made sometime ago, it adds a conversation link under members avatar with a little convo icon on the ember profile page.

Edit: back up templates before changes.


Add this code:
Code:
<xen:if is="{$canStartConversation}">
                                <dl><dd><a class="convo-icon" href="{xen:link 'conversations/add', '', 'to={$user.username}'}">{xen:phrase start_conversation}</a></dd></dl>
                            </xen:if>
under this code:
Code:
<xen:include template="ad_member_view_below_avatar" />
You get this:

Screen Shot 2014-03-12 at 8.58.49 AM.png