Add "Start Conversation" Tab to User Profile Page

toodlez

Active member
When viewing a user's profile, there are tabs for their profile comments, recent activity, posts, information...

How can I add a tab for Start Conversation?
I tried to add this code below the last tab, it didn't work

Code:
                <li><xen:if is="{$canStartConversation}"><a href="{xen:link conversations/add, '', 'to={$user.username}'}">{xen:phrase start_conversation}</a></xen:if></li>
 

Brogan

XenForo moderator
Staff member
Adding a tab is a bit more involved than that.

Wouldn't you be better off with a link in the left sidebar, rather than a whole tab?
A tab is something to be selected for displaying content, not to act as a link.

BTW, there is already a Start a Conversation link on the Information tab.
 

toodlez

Active member
I know that it is already in there, I would rather have it show up right on the first page which i why I wanted the tab, and prefer the tab...

However a link on the left below the avatar would be cool too
 
Top