[OzzModz] User Reputation

[OzzModz] User Reputation [Paid] 2.0.0

No permission to buy ($10.00)

Painbaker

Well-known member

Sanmu

Member
Hello, I purchased this add-on.

1. When using this add-on, sometimes it increases by 2 points though I only rate 1 time. Sometimes it increases by 1 point.

I want every behaves only to increase/decrease by 1 point, what should I do it? Is this a bug?

2. It is possible to replace the "star" icon with a single word like "reputation"? If so, how to do it?
 

Painbaker

Well-known member
@Sanmu can you send a screenshot with add-on settings? I can't reproduce this with "default" "user reputation score display" behavior.

It is possible to replace the "star" icon with a single word like "reputation"? If so, how to do it?

I will add display style option for "Message user info elements" in the next version.
But you can make your own template modification if you want.
Template "message_macros", search type "Regular expression".

Find:
Code:
/<xf:if is="\$extras.website && \$user.Profile.website">[\s\S]*?<\/xf:if>/

Replace:
Code:
$0

<xf:if is="$xf.visitor.canViewUserRating()">
    <dl class="pairs pairs--justified">
        <dt>{{ phrase('pb_ur_reputation_score') }}</dt>
        <dd>
            <xf:if is="$user.user_id != $xf.visitor.user_id">
                <a href="{{ link('user-rep', $user) }}" data-xf-click="overlay">
                    {$user.getPointedReputationScore()}
                </a>
            <xf:else />
                {$user.getPointedReputationScore()}
            </xf:if>
        </dd>
    </dl>
</xf:if>
 
Top