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

XF 1.1 beta 4 There are templates that may be outdated. Click here to review them.

Discussion in 'XenForo Questions and Support' started by Rho Delta, Oct 27, 2011.

  1. Rho Delta

    Rho Delta Well-Known Member

    I get this message in the admin panel:
    There are templates that may be outdated. Click here to review them.
    The only one it lists is: message_user_info

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

    <div class="messageUserInfo" itemscope="itemscope" itemtype="http://data-vocabulary.org/Person">
    <div class="messageUserBlock">
    <xen:hook name="message_user_info_avatar" params="{xen:array 'user={$user}', 'isQuickReply={$isQuickReply}'}">
    <div class="avatarHolder">
    <xen:avatar user="$user" size="m" />
    <!-- slot: message_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="$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 -->
    </h3>
    </xen:hook>

    <!-- Start User Ranks -->
    <xen:if is="{$user.is_admin}">
    <span class="userrank">Administrator</span>
    </xen:if>

    <xen:if is="{$user.is_moderator} AND !{$user.is_admin}">
    <span class="userrank">Moderator</span>
    </xen:if>

    <xen:if is="{$user.user_group_id} == 5">
    <span class="userrank">G8</span>
    </xen:if>

    <xen:if is="{$user.user_group_id} == 6">
    <span class="userrank">TwitHouse</span>
    </xen:if>
    <!-- End User Ranks -->
    <xen:if hascontent="true">
    <div class="extraUserInfo">
    <xen:contentcheck>
    <xen:hook name="message_user_info_extra" params="{xen:array 'user={$user}', 'isQuickReply={$isQuickReply}'}">
    <xen:if is="@messageShowRegisterDate">
    <dl class="pairsInline">
    <dt>{xen:phrase member_since}:</dt>
    <dd>{xen:date $user.register_date}</dd>
    </dl>
    </xen:if>

    <xen:if is="@messageShowMessageCount">
    <dl class="pairsInline">
    <dt>{xen:phrase message_count}:</dt>
    <dd><a href="{xen:link search/member, '', 'user_id={$user.user_id}'}" class="concealed">{xen:number $user.message_count}</a></dd>
    </dl>
    </xen:if>

    <xen:if is="@messageShowTotalLikes">
    <dl class="pairsInline">
    <dt>{xen:phrase likes_received}:</dt>
    <dd>{xen:number $user.like_count}</dd>
    </dl>
    </xen:if>

    <xen:if is="@messageShowTrophyPoints">
    <dl class="pairsInline">
    <dt>{xen:phrase trophy_points}:</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="@messageShowGender AND {$user.gender}">
    <dl class="pairsInline">
    <dt>{xen:phrase gender}:</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="pairsInline">
    <dt>{xen:phrase occupation}:</dt>
    <dd itemprop="role">{xen:string censor, $user.occupation}</dd>
    </dl>
    </xen:if>

    <xen:if is="@messageShowLocation AND {$user.location}">
    <dl class="pairsInline">
    <dt>{xen:phrase location}:</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="pairsInline">
    <dt>{xen:phrase home_page}:</dt>
    <dd><a href="{xen:string censor, $user.homepage, '-'}" rel="nofollow" target="_blank" itemprop="url">{xen:string censor, $user.homepage}</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="$userFieldsInfo" key="$fieldId" value="$fieldInfo">
    <xen:if is="{$fieldInfo.viewable_message}">
    <xen:if hascontent="true">
    <dl class="pairsInline userField_{$fieldId}">
    <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

    Revert the template and reapply your custom edits.
     
  3. Rho Delta

    Rho Delta Well-Known Member

    LOL I don't remember what my custom edits were! (n)
     
  4. Edrondol

    Edrondol Well-Known Member

    Open 2 Notepads.

    Before you revert copy in what you have. Them revert. Copy that in the second.

    Compare the two.
     
  5. Brogan

    Brogan XenForo Moderator Staff Member

    Follow Edrondol's instructions but for future reference, you should be keeping a record of all edits and changes you make.
     
  6. Rho Delta

    Rho Delta Well-Known Member

    Fixed it.

    like in a notepad or something?
     
  7. Brogan

    Brogan XenForo Moderator Staff Member

  8. Edrondol

    Edrondol Well-Known Member

    You could even get WinMerge to help.
     

Share This Page