[XTR] Top Poster of The Month

[XTR] Top Poster of The Month 1.0.3

No permission to download
Well, i have a temporary fix for the issues just to make it run error free on XF 2.3.4:

Template: tpm.less

Fix; .userBanner.userBanner--tpm
CSS:
.userBanner.userBanner--tpm
{
    .xf-tpmUserBanner();
    
    &:before
    {
        .m-faBase();
        <xf:if is="property('xtrTPMBannerIcon')">       
        .m-faContent(@fa-var-trophy, false);
        </xf:if>
        padding-right: @xf-paddingMedium;
    }
}
Same template: tpm.less

Fix; .block[data-widget-definition="tpm_widget"] .block-minorHeader:before
CSS:
.block[data-widget-definition="tpm_widget"] .block-minorHeader:before 
{
    .m-faBase();
    font-size: @xf-fontSizeLarge !important;
    margin-right: ((@xf-paddingMedium) - 1);
    color: inherit;
    .m-faContent(@fa-var-trophy, false);
}

Template: widget_tpm

Fix: Hide the broken form that allows switching months on the widget

Find: <xf:if is="$xf.visitor.canChangeTPMDate()">

Replace with: <xf:if is="$xf.visitor.canChangeTPMDate() && false">
 
I noticed the same issue, but wasn't sure if something had to run scheduled for that to take place.
This does work for me, and as mentioned, seems to work after the required scheduled events run.
 
Last edited:
I can't get the widget to show, and the members page for this is not accessible either. Anyone have anything related to this 1.0.4 plugin working in XenForo v2.3.6?

1742768621572.webp
 
Back
Top Bottom