What's new
Xen Factory

Register today to become a member! Once signed in, you'll be able to start purchasing our products, ask questions, request support and suggest new ideas!

Support Rate in the threads

samo733792

New Member
Hi, i just install add-on, just checking evrything and i sow that there is no rating in the threads in UI.X. Style, here is a screenshot.

I can see reputation in defoult style but there is no red and green color.

What i miss, what need to config to fix this problem?
 

Attachments

  • Screenshot 2025-01-12 155045.png
    Screenshot 2025-01-12 155045.png
    12.6 KB · Views: 3
Could be that the template modification is not applied.
Can you post a screenshot of the template modification page in your admincp for the ones related to the add-on ?
 
Yes this is what I meant so indeed on UI.X the template modification is most certainly not getting updated.
 
That's interesting, there is no UI.X message_macros template.
 

Attachments

  • Screenshot 2025-01-12 161659.png
    Screenshot 2025-01-12 161659.png
    66.6 KB · Views: 1
I have found a problem.
Our add-on is looking for:

Code:
<xf:if is="$extras.trophy_points && $xf.options.enableTrophies">
                        <dl class="pairs pairs--justified">
                            <dt>{{ phrase('points') }}</dt>
                            <dd>{$user.trophy_points|number}</dd>
                        </dl>
                    </xf:if>
But UI.X have:

Code:
<xf:if is="$extras.trophy_points && $xf.options.enableTrophies">
                                        <dl class="pairs pairs--justified">
                                            <xf:if is="property('uix_postBitIcons')">
                                                <dt>
                                                    <span data-xf-init="tooltip" title="{{ phrase('points')|for_attr }}">
                                                        <xf:fa icon="fa-trophy" />
                                                    </span>
                                                </dt>
                                            <xf:else />
                                                <dt>{{ phrase('points') }}</dt>
                                            </xf:if>
                                            <dd>{$user.trophy_points|number}</dd>
                                        </dl>
                                    </xf:if>
 
I have add code:
Code:
<xf:if is="$xf.visitor.canViewRSRatings()">
    <dl class="pairs pairs--justified">
        <dt>{{ phrase('xfa_rs_reputation') }}</dt>
        <dd>{$user.xfa_rs_total|number}</dd>
    </dl>
</xf:if>
In UI.X message_macros and it's worked, know i see reputation but it is not right way as i know.
And reputation i see in black, not red and green.
 
I think the color is maybe not applied in the postbit, would have to investigate.

No the best way would be to edit the template modification or keep things like you did and revert the template when I will release an updated version.
 
Top