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

Lack of Interest Staff Online Now: Hover over Name/Icon pops up Member Card (no click needed).

Discussion in 'Closed Suggestions' started by Digital Doctor, Nov 13, 2010.

  1. Digital Doctor

    Digital Doctor Well-Known Member

    I think the member card should popup when someone hovers over a staff member.

    It seems alot pops up on the
    page anway !

    Alternatives:
    - a ToolTip that says "Click to see Membernames card".

    xenforo.hover.over.staff.brings.up.their.card.jpg
     
  2. Digital Doctor

    Digital Doctor Well-Known Member

    heh. retro.
     
  3. EQnoble

    EQnoble Well-Known Member

    This is something that you could do yourself if you wanted with jquery very quickly... on that note having overlays everywhere is not really a good thing...it can get annoying for people who keep their hand on their mouse while they are reading...

    on another note..Doc you need to layout your visuals a bit better...I know what you meant here but damn...

    and holy necrotize batman
     
    Digital Doctor likes this.
  4. ManOnDaMoon

    ManOnDaMoon Well-Known Member

    If you really want to do it, here is a way:

    AdminCP > Templates > sidebar_online_users

    search for

    Code:
    <xen:contentcheck>
    	<xen:foreach loop="$onlineUsers.records" value="$user">
    		<xen:if is="{$user.is_moderator} OR {$user.is_admin}">
    			<li>
    				<xen:avatar user="$user" size="s" img="true" />
    				<xen:username user="$user" rich="true" />
    				<div class="userTitle">{xen:helper userTitle, $user}</div>
    			</li>
    		</xen:if>
    	</xen:foreach>
    </xen:contentcheck>
    
    replace with the red code :

    Code:
    <xen:contentcheck>
    	<xen:foreach loop="$onlineUsers.records" value="$user">
    		<xen:if is="{$user.is_moderator} OR {$user.is_admin}">
    			<li>
    				<xen:avatar user="$user" size="s" img="true" />
    				<a  class="PreviewTooltip username" 
        				href="{xen:link 'members', $user}"
    				data-previewurl="{xen:link 'members/card', $user}">{$user.username}</a>
    				<div class="userTitle">{xen:helper userTitle, $user}</div>
    			</li>
    		</xen:if>
    	</xen:foreach>
    	<xen:include template="preview_tooltip" />
    </xen:contentcheck>
    
    You'll see that the member card style is gone. I tried to include the member_card.css template, but it seems that it is a more complex issue. You'll be able to style as you need within EXTRA.css.
     

Share This Page