XF 2.1 Is there a phrase for user title ladder ranks?

LukeWolf

Member
Hey I've tried to search for user title ladder rank phrases.

Basically I want to be able to reference this in the code for the reputation system so that instead of displaying the reaction score, it would display the user title ladder rank they are up to. Is there a phrase for it?


Code:
        <xf:if is="{$user.reaction_score} >=  $xf.options.rank_completed"> <img src="{{ base_url('styles/XENTR/ReputationSystem/completed-star.png') }}" data-xf-init="tooltip" title="{$user.reaction_score} {{ phrase('reaction_score') }} {{ phrase('xentr_full_reputation_master') }}">
                <xf:elseif is="{$user.reaction_score} >=  $xf.options.rank_fullstar10" /> <img src="{{ base_url('styles/XENTR/ReputationSystem/fullstar-10.png') }}" data-xf-init="tooltip" title="{$user.reaction_score} {{ phrase('reaction_score') }}">
                <xf:elseif is="{$user.reaction_score} >=  $xf.options.rank_halfstar10" /> <img src="{{ base_url('styles/XENTR/ReputationSystem/halfstar-10.png') }}" data-xf-init="tooltip" title="{$user.reaction_score} {{ phrase('reaction_score') }}">
                <xf:elseif is="{$user.reaction_score} >=  $xf.options.rank_fullstar9" /> <img src="{{ base_url('styles/XENTR/ReputationSystem/fullstar-9.png') }}" data-xf-init="tooltip" title="{$user.reaction_score} {{ phrase('reaction_score') }}">
                <xf:elseif is="{$user.reaction_score} >=  $xf.options.rank_halfstar9" /> <img src="{{ base_url('styles/XENTR/ReputationSystem/halfstar-9.png') }}" data-xf-init="tooltip" title="{$user.reaction_score} {{ phrase('reaction_score') }}">
                <xf:elseif is="{$user.reaction_score} >=  $xf.options.rank_fullstar8" /> <img src="{{ base_url('styles/XENTR/ReputationSystem/fullstar-8.png') }}" data-xf-init="tooltip"title="{$user.reaction_score} {{ phrase('reaction_score') }}">
                <xf:elseif is="{$user.reaction_score} >=  $xf.options.rank_halfstar8" /> <img src="{{ base_url('styles/XENTR/ReputationSystem/halfstar-8.png') }}" data-xf-init="tooltip" title="{$user.reaction_score} {{ phrase('reaction_score') }}">
                <xf:elseif is="{$user.reaction_score} >=  $xf.options.rank_fullstar7" /> <img src="{{ base_url('styles/XENTR/ReputationSystem/fullstar-7.png') }}" data-xf-init="tooltip" title="{$user.reaction_score} {{ phrase('reaction_score') }}">
                <xf:elseif is="{$user.reaction_score} >=  $xf.options.rank_halfstar7" /> <img src="{{ base_url('styles/XENTR/ReputationSystem/halfstar-7.png') }}" data-xf-init="tooltip" title="{$user.reaction_score} {{ phrase('reaction_score') }}">
                <xf:elseif is="{$user.reaction_score} >=  $xf.options.rank_fullstar6" /> <img src="{{ base_url('styles/XENTR/ReputationSystem/fullstar-6.png') }}" data-xf-init="tooltip" title="{$user.reaction_score} {{ phrase('reaction_score') }}">
                <xf:elseif is="{$user.reaction_score} >=  $xf.options.rank_halfstar6" /> <img src="{{ base_url('styles/XENTR/ReputationSystem/halfstar-6.png') }}" data-xf-init="tooltip" title="{$user.reaction_score} {{ phrase('reaction_score') }}">
                <xf:elseif is="{$user.reaction_score} >=  $xf.options.rank_fullstar5" /> <img src="{{ base_url('styles/XENTR/ReputationSystem/fullstar-5.png') }}" data-xf-init="tooltip" title="{$user.reaction_score} {{ phrase('reaction_score') }}">
                <xf:elseif is="{$user.reaction_score} >=  $xf.options.rank_halfstar5" /> <img src="{{ base_url('styles/XENTR/ReputationSystem/halfstar-5.png') }}" data-xf-init="tooltip" title="{$user.reaction_score} {{ phrase('reaction_score') }}">
                <xf:elseif is="{$user.reaction_score} >=  $xf.options.rank_fullstar4" /> <img src="{{ base_url('styles/XENTR/ReputationSystem/fullstar-4.png') }}" data-xf-init="tooltip" title="{$user.reaction_score} {{ phrase('reaction_score') }}">
                <xf:elseif is="{$user.reaction_score} >=  $xf.options.rank_halfstar4" /> <img src="{{ base_url('styles/XENTR/ReputationSystem/halfstar-4.png') }}" data-xf-init="tooltip" title="{$user.reaction_score} {{ phrase('reaction_score') }}">
                <xf:elseif is="{$user.reaction_score} >=  $xf.options.rank_fullstar3" /> <img src="{{ base_url('styles/XENTR/ReputationSystem/fullstar-3.png') }}" data-xf-init="tooltip" title="{$user.reaction_score} {{ phrase('reaction_score') }}">
                <xf:elseif is="{$user.reaction_score} >=  $xf.options.rank_halfstar3" /> <img src="{{ base_url('styles/XENTR/ReputationSystem/halfstar-3.png') }}" data-xf-init="tooltip" title="{$user.reaction_score} {{ phrase('reaction_score') }}">
                <xf:elseif is="{$user.reaction_score} >=  $xf.options.rank_fullstar2" /> <img src="{{ base_url('styles/XENTR/ReputationSystem/fullstar-2.png') }}" data-xf-init="tooltip" title="{$user.reaction_score} {{ phrase('reaction_score') }}">
                <xf:elseif is="{$user.reaction_score} >=  $xf.options.rank_halfstar2" /> <img src="{{ base_url('styles/XENTR/ReputationSystem/halfstar-2.png') }}" data-xf-init="tooltip" title="{$user.reaction_score} {{ phrase('reaction_score') }}">
                <xf:elseif is="{$user.reaction_score} >=  $xf.options.rank_fullstar1" /> <img src="{{ base_url('styles/XENTR/ReputationSystem/fullstar-1.png') }}" data-xf-init="tooltip" title="{$user.user_title_ladder} {{ phrase('reaction_score') }}">
                <xf:elseif is="{$user.reaction_score} >=  $xf.options.rank_halfstar1" /> <img src="{{ base_url('styles/XENTR/ReputationSystem/halfstar-1.png') }}" data-xf-init="tooltip" title="{$user.reaction_score} {{ phrase('reaction_score') }}">
                <xf:elseif is="{$user.reaction_score} <   $xf.options.rank_halfstar1" /> <img src="{{ base_url('styles/XENTR/ReputationSystem/empty-star.png') }}" data-xf-init="tooltip" title="{$user.reaction_score} {{ phrase('reaction_score') }}">
 
Top