Not Solved How can I get reputation to color in member profile?
#3
Not Solved
This is what I personally use. Requires PHP and Template Conditionals. For member_profile_reputation:

<if $memprofile['reputation'] < -10 then>
    Very untrustworthy
<elseif $memprofile['reputation'] < 0 then>
    Untrustworthy
<elseif $memprofile['reputation'] == 0 then>
    Neutral
<elseif $memprofile['reputation'] > 10 then>
    Very trustworthy
<elseif $memprofile['reputation'] > 0 then>
    Trustworthy
</if>

You can of course adjust the conditions to your needs, add or remove them, etc.. As long as you have an appropriate variable you can apply this to all templates (eg.: $reputation in postbit_reputation_formatted, $user['postreputation'] in postbit_reputation, and so on).
[Image: fSGNVQj.png]
Reply


Messages In This Thread
RE: How can I get reputation to color in member profile? - by Shade - 2019-08-02, 08:58 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)