XF 2 Tip Solved [XTR] Reputation System Display Issue

Snister2

Active member
Registered
Joined
Jan 6, 2023
Messages
36
Points
18

Reputation:

Common issue from XTR reputation system that never show on postbit specially for modified template so I found the Issue because I don't want inserting any addon to make it work, I try to find the addon file viewing all template then I found this code.

just add this code anywhere position you want. Take note! don't forget to enable in addon options
message_macros
Code:
<xf:if is="$xf.visitor.hasPermission('xtrReputation', 'viewLevel')">
                <xf:if is = "{$xf.options.ReputationDesign} == 'StarRank'">
                    <xf:include template="xentr_reputation_system_star" />
                    <xf:elseif is = "{$xf.options.ReputationDesign} == 'BarRank'" />
                        <xf:include template="xentr_reputation_system_bar" />
                    <xf:elseif is = "{$xf.options.ReputationDesign} == 'AnimationBarRank'" />
                        <xf:include template="xentr_reputation_system_animation_bar" />
                    <xf:elseif is = "{$xf.options.ReputationDesign} == 'SpeedRank'" />
                        <xf:include template="xentr_reputation_system_speed" />
                </xf:if>
            </xf:if>

result:
1711161632175.png


please leave a like to make me happy and more contribution.
 
Last edited:
Top