Theme editor

Solution XenForo XenForo [XFA] Trophies Enhancement Add-on Awards Not Showing in Postbit

Ahmet Kaan

Code Voyager
User
Thread owner
Hello,

I installed the XFA Trophies Enhancement add-on, but the awards are not showing up in the postbit area.
Could you please share how the award and add-on settings should be configured, along with a screenshot if possible?
 
Hey there 👋

You can use my current settings if you’d like. However, in the V13 theme, this add-on unfortunately doesn’t work properly — you’ll need to fix it manually. Before that, let me guide you so the icons appear correctly inside threads.

First, open the message_macros template and locate this line of code:

Bash:
<xf:set var="$xgtSv13DikeyMesajIkon" value="{{ (property('xgt_Sv13_mesaj_kullanici_tasarim') == '2') && property('xgt_Sv13_mesaj_kullanici_ikonlar') }}" />

Then, find the following line right above it:
Bash:
<h4 class="message-name"><xf:username user="$user" rich="true" defaultname="{$fallbackName}" itemprop="{{ $includeMicrodata ? 'name' : '' }}" /></h4>

Replace it with this modified version:
Bash:
<h4 class="message-name"><xf:username user="$user" rich="true" defaultname="{$fallbackName}" itemprop="{{ $includeMicrodata ? 'name' : '' }}" />
    <xf:include template="xfa_te_message_user_info_icons" />
</h4>

After this change, the icons will appear correctly in **vertical postbit view**.
Unfortunately, they won’t show in **horizontal postbit** — this requires the theme developer’s intervention to adjust compatibility.

Here are the recommended add-on settings:

1759855970611.webp
 
Back
Top