[RT] User Rank Ribbons

User Rank Ribbons 2.3.5

No permission to download

ManOnDaMoon

Well-known member
This addon needs a dynamic way to set ribbons. You'll always find someone who wants more than the previous user. :)
 

ashkir

Active member
"Please enter a title using only a-z, A-Z, 0-9, _ and . characters and spaces."

Getting this now upon trying to upgrade or intall.
 

Daniel 'RTRD'

Well-known member
Install without TMS:
  1. Install the .xml file thru ACP
  2. Customize your ribbons here: Appearance -> Styles -> Your Style -> [RT] User Rank Ribbons
Template modifications:

Thread - Above Username:
  1. Go to Appearance -> Templates
  2. Open message_user_info and find:
    Code:
    <xen:if is="!{$isQuickReply}">
  3. Add above that:
    Code:
    <xen:if is="@UserRankRibbonsActive"><xen:include template="UserRankRibbons" /></xen:if>
Thread - Under Username:
  1. Go to Appearance -> Templates
  2. Open message_user_info and find:
    Code:
        <xen:if hascontent="true">
            <div class="extraUserInfo">
  3. Replace it with this:
    Code:
    <xen:if is="@UserRankRibbonsActive"><xen:include template="UserRankRibbons" /></xen:if>
        <xen:if hascontent="true">
            <div class="extraUserInfo">
Member Profile - Over Info:
  1. Go to Appearance -> Templates
  2. Open member_view and find:
    Code:
            <xen:hook name="member_view_sidebar_start" params="{xen:array 'user={$user}'}" />
    
            <div class="section infoBlock">
                <dl class="secondaryContent pairs">
  3. Replace it with this:
    Code:
            <xen:hook name="member_view_sidebar_start" params="{xen:array 'user={$user}'}" />
    
            <div class="section infoBlock">
                <xen:if is="@UserRankRibbonsActive"><xen:include template="UserRankRibbons" /></xen:if>
                <dl class="secondaryContent pairs">
Member Profile - Under Info:
  1. Go to Appearance -> Templates
  2. Open member_view and find:
    Code:
                    <xen:if is="{$canViewWarnings}">
                        <dt>{xen:phrase warning_points}:</dt><dd>{xen:number $user.warning_points}</dd>
                    </xen:if>
                      
                    </xen:hook>
    
                </dl>
            </div>
  3. Replace it with this:
    Code:
                    <xen:if is="{$canViewWarnings}">
                        <dt>{xen:phrase warning_points}:</dt><dd>{xen:number $user.warning_points}</dd>
                    </xen:if>
                      
                    </xen:hook>
    
                </dl>
                <xen:if is="@UserRankRibbonsActive"><xen:include template="UserRankRibbons" /></xen:if>
            </div>
 

arcaneex

Active member
So if that variable has content that ribbon will show and the content of that ribbon will show that variable? Or am I totally wrong?
The ribbon will be set if the content of the variable will be equal to a specific content. ( like 4 , or the word banana. )
 
Top