Latest upgrades

Latest upgrades [Paid] 1.1

No permission to buy ($35.00)

AndyB

Well-known member
AndyB submitted a new resource:

Latest upgrades - Displays a Latest upgrades widget.

Premium upgrade:

This XF2 add-on along with the entire collection can be purchased for $25.00 USD. Your Premium upgrade will allow you to download as many XF2 add-ons as you like for one year. Please see the entire collection located in the Resources area at this URL:

https://www.xf2addons.com/

Note: all my XF1 add-ons are still 100% free and are supported by donations.

Description:

Displays a Latest upgrades widget.

(Example of Latest upgrades widget)...

Read more about this resource...
 
This is nice. However, can I suggest the default template is modified to align the styling with that of the default Members online widget. i.e.:

HTML:
<xf:if is="{{ $xf.visitor.hasPermission('latestUpgrades', 'view') }}">

<div class="block"{{ widget_data($widget) }}>
    <div class="block-container">
        <h3 class="block-minorHeader">{$title}</h3>
        <div class="block-body">
            <div class="block-row block-row--minor">
                <ul class="listInline listInline--comma">
                <xf:foreach loop="$users" value="$user">
                    <li><xf:username user="{$user.User}" rich="true" /></li>
                </xf:foreach>
                </ul>               
            </div>
        </div>
    </div>
</div>
    
</xf:if>

Note that I've also added {$title} to the header, in order that it can be customised in the widget section.
 
@AndyB
My user case is to create a floating notice showing randomly latest X members who have upgraded. The notice will be under specific node/page where I list my product.

Example: on a page showing a product, I will show the random members who recently purchased user upgraded for this product.
I can have separate notices for different pages.
 
@AndyB how often does this update? I removed several users from the user upgrades usergroup, they're not in the active user upgrades list, and they're still showing in the widget 24+ hours later.
 
Would it be possible to display the top donors instead? (by making a sum of all donations from the same user)
 
Top Bottom