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

XF 1.5 Display users age problem

Discussion in 'Styling and Customization Questions' started by by_carizma, Feb 26, 2016.

  1. by_carizma

    by_carizma Member

    Hi,
    I use the following plugin.
    https://xenforo.com/community/resources/display-users-age-in-message-user-info.822/

    Age information comes out on top.
    I want to get to the bottom but it is not :(

    Screenshot_1.png

    www.seatclubworld.com

    message_user_info

    PHP:
    <xen:require css="message_user_info.css" />

    <
    div class="messageUserInfo" itemscope="itemscope" itemtype="http://data-vocabulary.org/Person">
    <
    div class="messageUserBlock {xen:if $user.isOnline, online} {xen:if @xb_animated_online, 'xbOnlineAnimated', 'xbOnlineRegular'}">
        <
    xen:hook name="message_user_info_avatar" params="{xen:array 'user={$user}', 'isQuickReply={$isQuickReply}'}">
            <
    div class="avatarHolder">
                <
    span class="helper"><span></span></span>
                <
    xen:if is="in_array(@xb_message_layout, array(2, 3))">
                <
    xen:avatar user="$usersize="m" img="true" />
                <
    xen:else />
                <
    xen:avatar user="$usersize="@xb_avatarSize" img="true" />
                </
    xen:if>
                <
    xen:if is="{$user.isOnline}"><span class="Tooltip onlineMarker" title="{xen:phrase online_now}" data-offsetX="-10" data-offsetY="-8"></span></xen:if>
                <!-- 
    slotmessage_user_info_avatar -->
            </
    div>
        </
    xen:hook>

    <
    xen:if is="!{$isQuickReply}">
        <
    xen:hook name="message_user_info_text" params="{xen:array 'user={$user}', 'isQuickReply={$isQuickReply}'}">
            <
    h3 class="userText">
                <
    xen:username user="$useritemprop="name" rich="true" />
                <
    xen:if hascontent="true"><em class="userTitle" itemprop="title"><xen:contentcheck>{xen:helper userTitle$user11}</xen:contentcheck></em></xen:if>
                {
    xen:helper userBanner$user'wrapped'}
                <!-- 
    slotmessage_user_info_text -->
            </
    h3>
        </
    xen:hook>
        
        <
    xen:if hascontent="true">
            <
    div class="extraUserInfo{xen:if @xb_famessageuser_boxed, ' xbBoxedFA'}">
                <
    xen:contentcheck>
                <
    xen:hook name="message_user_info_extra" params="{xen:array 'user={$user}', 'isQuickReply={$isQuickReply}'}">    
                    <
    xen:if is="@messageShowMessageCount AND {$user.user_id}">
                        <
    dl class="pairsJustified xbMessages">
                            <
    dt><xen:if is="@xb_fa_messageUserInfo"><class="fa fa-comments fa-fw Tooltip" title="{xen:phrase messages}" data-offsetX="-6" data-offsetY="0"></i><xen:else />{xen:phrase messages}:</xen:if></dt>
                            <
    dd><a href="{xen:link search/member, '', 'user_id={$user.user_id}'}" class="concealed" rel="nofollow">{xen:number $user.message_count}</a></dd>
                        </
    dl>
                    </
    xen:if>
                    <
    xen:if is="@messageShowTotalLikes AND {$user.user_id}">
                        <
    dl class="pairsJustified xbLikes">
                            <
    dt><xen:if is="@xb_fa_messageUserInfo"><class="fa fa-thumbs-up fa-fw Tooltip" title="{xen:phrase likes_received}" data-offsetX="-6" data-offsetY="0"></i><xen:else />{xen:phrase likes_received}:</xen:if></dt>
                            <
    dd>{xen:number $user.like_count}</dd>
                        </
    dl>
                    </
    xen:if>
                
                    <
    xen:if is="@messageShowTrophyPoints AND {$user.user_id} AND {$xenOptions.enableTrophies}">
                        <
    dl class="pairsJustified xbTrophyPoints">
                            <
    dt><xen:if is="@xb_fa_messageUserInfo"><class="fa fa-trophy fa-fw Tooltip" title="{xen:phrase trophy_points}" data-offsetX="-6" data-offsetY="0"></i><xen:else />{xen:phrase trophy_points}:</xen:if></dt>
                            <
    dd><a href="{xen:link 'members/trophies', $user}" class="OverlayTrigger concealed">{xen:number $user.trophy_points}</a></dd>
                        </
    dl>
                    </
    xen:if>
            
                    <
    xen:if is="@messageShowRegisterDate AND {$user.user_id}">
                        <
    dl class="pairsJustified xbJoinDate">
                            <
    dt><xen:if is="@xb_fa_messageUserInfo"><class="fa fa-calendar fa-fw Tooltip" title="{xen:phrase joined}" data-offsetX="-6" data-offsetY="0"></i><xen:else />{xen:phrase joined}:</xen:if></dt>
                            <
    dd>{xen:date $user.register_date}</dd>
                        </
    dl>
                    </
    xen:if>
            
                    <
    xen:if is="@messageShowGender AND {$user.gender}">
                        <
    dl class="pairsJustified xbGender">
                            <
    dt><xen:if is="@xb_fa_messageUserInfo"><class="fa fa-user fa-fw Tooltip" title="{xen:phrase gender}" data-offsetX="-6" data-offsetY="0"></i><xen:else />{xen:phrase gender}:</xen:if></dt>
                            <
    dd itemprop="gender"><xen:if is="{$user.gender} == 'male'">{xen:phrase male}<xen:else />{xen:phrase female}</xen:if></dd>
                        </
    dl>
                    </
    xen:if>
                
                    <
    xen:if is="@messageShowOccupation AND {$user.occupation}">
                        <
    dl class="pairsJustified xbOccupation">
                            <
    dt><xen:if is="@xb_fa_messageUserInfo"><class="fa fa-university fa-fw Tooltip" title="{xen:phrase occupation}" data-offsetX="-6" data-offsetY="0"></i><xen:else />{xen:phrase occupation}:</xen:if></dt>
                            <
    dd itemprop="role">{xen:string censor$user.occupation}</dd>
                        </
    dl>
                    </
    xen:if>
                
                    <
    xen:if is="@messageShowLocation AND {$user.location}">
                        <
    dl class="pairsJustified xbLocation">
                            <
    dt><xen:if is="@xb_fa_messageUserInfo"><class="fa fa-map-marker fa-fw Tooltip" title="{xen:phrase location}" data-offsetX="-6" data-offsetY="0"></i><xen:else />{xen:phrase location}:</xen:if></dt>
                            <
    dd><a href="{xen:link 'misc/location-info', '', 'location={xen:string censor, $user.location, '-'}'}" target="_blank" rel="nofollow" itemprop="address" class="concealed">{xen:string censor$user.location}</a></dd>
                        </
    dl>
                    </
    xen:if>
            
                    <
    xen:if is="@messageShowHomepage AND {$user.homepage}">
                        <
    dl class="pairsJustified xbHomepage">
                            <
    dt><xen:if is="@xb_fa_messageUserInfo"><class="fa fa-globe fa-fw Tooltip" title="{xen:phrase home_page}" data-offsetX="-6" data-offsetY="0"></i><xen:else />{xen:phrase home_page}:</xen:if></dt>
                            <
    dd><a href="{xen:string censor, $user.homepage, '-'}" rel="nofollow" target="_blank" itemprop="url">{xen:phrase visit_site}</a></dd>
                        </
    dl>
                    </
    xen:if>
                            
                </
    xen:hook>
                    
                <
    xen:if is="@messageShowCustomFields AND {$user.customFields}">
                <
    xen:hook name="message_user_info_custom_fields" params="{xen:array 'user={$user}', 'isQuickReply={$isQuickReply}'}">
            
                    <
    xen:foreach loop="$userFieldsInfokey="$fieldIdvalue="$fieldInfo">
                        <
    xen:if is="{$fieldInfo.viewable_message} AND ({$fieldInfo.display_group} != 'contact' OR {$user.allow_view_identities} == 'everyone' OR ({$user.allow_view_identities} == 'members' AND {$visitor.user_id}))">
                            <
    xen:if hascontent="true">
                                <
    dl class="pairsJustified userField_{$fieldId} xbCustomField">
                                    <
    dt>{xen:helper userFieldTitle$fieldId}:</dt>
                                    <
    dd><xen:contentcheck>{xen:helper userFieldValue$fieldInfo$user, {$user.customFields.{$fieldId}}}</xen:contentcheck></dd>
                                </
    dl>
                            </
    xen:if>
                        </
    xen:if>
                    </
    xen:foreach>
                
                </
    xen:hook>
                </
    xen:if>
                </
    xen:contentcheck>
            </
    div>
        </
    xen:if>
        
    </
    xen:if>

        <
    span class="arrow"><span></span></span>
    </
    div>
    </
    div>
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    You will need to post in the resource thread for any support related to it.
     

Share This Page