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

XF 1.3 prifile content block

Discussion in 'Styling and Customization Questions' started by Brad P, Jul 25, 2014.

  1. Brad P

    Brad P Active Member

    .div seconderycontent into the header how and where do i find this, please see picture below
     

    Attached Files:

    • site.png
      site.png
      File size:
      376.5 KB
      Views:
      22
  2. Brogan

    Brogan XenForo Moderator Staff Member

    You can't move that, it is part of the sidebar function.
     
  3. Brad P

    Brad P Active Member

    oh right that sucks a little :(
     
  4. Brad P

    Brad P Active Member

    @Brogan see this site has the profile in the top header
     

    Attached Files:

    • pic.png
      pic.png
      File size:
      260 KB
      Views:
      20
  5. Brad P

    Brad P Active Member

  6. Russ

    Russ Well-Known Member

    Fusion gamer has something similar but it takes a decent amount of work to get it up there Proutie, not just a simply one line change. I'd personally** post in the request area to see if you can't get someone to help with it.


    This may get you started on it actually:

    Replace ad_header with:

    Code:
    <xen:hook name="ad_header" />
    
    <xen:if is="{$visitor.user_id}">
    <div class="section visitorPanel">
       <div class="secondaryContent">
       
         <xen:avatar user="$visitor" size="m" img="true" />
         
         <div class="visitorText">
           <h2>{xen:phrase signed_in_as_x_sidebar, 'name={xen:helper username, $visitor, 'NoOverlay'}'}</h2>     
           <div class="stats">
           <xen:hook name="sidebar_visitor_panel_stats">
             <dl class="pairsJustified"><dt>{xen:phrase messages}:</dt> <dd>{xen:number $visitor.message_count}</dd></dl>
             <dl class="pairsJustified"><dt>{xen:phrase likes}:</dt> <dd>{xen:number $visitor.like_count}</dd></dl>
             <dl class="pairsJustified"><dt>{xen:phrase points}:</dt> <dd>{xen:number $visitor.trophy_points}</dd></dl>
           </div>
           </xen:hook>
         </div>
         
       </div>
    </div>
    </xen:if>
    

    In extra.css:

    Code:
    #logoBlock .section.visitorPanel {
    color: #000;
    float: right;
    margin-top: 29px;
    width: 250px;
    }
    #logoBlock .avatar {
    float: left;
    padding-right: 10px;
    }
    
    It'll need responsive fixes and adjusting without a doubt, but it's a start.
     
    Last edited: Jul 26, 2014
  7. Brad P

    Brad P Active Member

    ive sent you a PM Russ
     

Share This Page