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

How do I directly link to a user's profile page without the user card popping up?

Discussion in 'XenForo Questions and Support' started by CyclingTribe, Oct 24, 2011.

  1. CyclingTribe

    CyclingTribe Well-Known Member

    I'd like to directly link the username in the postbit to the user's profile page - without the user card overlay popping up - how can I do this please?

    Shaun :D

    NB: This will also come in handy with the RCBD - RecentStatus add-on - as you need to visit the profile page to add a comment, and at the moment it's a two-step process because of the user card popping up.
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Two options:

    1) Disable all overlays:

    Admin CP -> Appearance -> Style Properties -> Overlays and Tooltips -> Enable Overlays

    2) Disable that specific overlay by editing this template:

    Admin CP -> Appearance -> Templates -> message_user_info

    Add the red code:

    <xen:if is="!{$isQuickReply}">
    	<xen:hook name="message_user_info_text" params="{xen:array 'user={$user}', 'isQuickReply={$isQuickReply}'}">
    		<h3 class="userText">
    			<xen:username class="NoOverlay" user="$user" itemprop="name" rich="true" />
    			<xen:if hascontent="true"><em class="userTitle" itemprop="title"><xen:contentcheck>{xen:helper userTitle, $user}</xen:contentcheck></em></xen:if>
    			<!-- slot: message_user_info_text -->
    GeeksChat likes this.
  3. CyclingTribe

    CyclingTribe Well-Known Member

    Spot on, thanks Jake.

    I went with the NoOverlay so as to leave the avatar linked to the user card.

    Shaun :D

Share This Page