XF 2.3 Remove Reaction Score from user profile page

Mendalla

Well-known member
A new user pointed out that they had a reaction score of 0 in spite of receiving several reactions. It is because I killed the reaction point system a long time ago due to members not wanting that "competitive" element on the site (basically, just made all reactions neutral giving 0 points). However, in doing that, I neglected to change the user profile so it doesn't show a reaction score and people who predated that change (like me) still show a score. Mine is actually fairly high because it includes points from "Likes" given in the pre-reaction days.

So, is there a template edit or other mod that can hide that part of the user profile? I'm comfortable with editing templates and have some background with HTML and scripts from work and other parts of my life so unless this is really, seriously complicated, I would rather not spend money on it.
 
Solution
In template extra .less

Code:
.memberHeader-stats .pairJustifier .pairs:nth-of-type(5)
{display:none}

Screenshot 2024-09-22 at 19.13.04.webp

This removes the 5th item which would work here, but you need to determine in your forum which number in the list
In template extra .less

Code:
.memberHeader-stats .pairJustifier .pairs:nth-of-type(5)
{display:none}

Screenshot 2024-09-22 at 19.13.04.webp

This removes the 5th item which would work here, but you need to determine in your forum which number in the list
 
Solution
Or in member_macros remove this

Code:
<dl class="pairs pairs--rows pairs--rows--centered">
        <dt>{{ phrase('reaction_score') }}</dt>
        <dd>
            {$user.reaction_score|number}
        </dd>
    </dl>
 
Back
Top Bottom