1. 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

Discussion in 'Styling and Customization Questions' started by tommydamic68, Mar 12, 2014.

  1. tommydamic68

    tommydamic68 Well-Known Member

    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:
    <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>
    under this code:
    <xen:include template="ad_member_view_below_avatar" />
    You get this:

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

Share This Page