[HA] Featured Members (+ Verified Badge)

[HA] Featured Members (+ Verified Badge) 1.5.0

No permission to download
How about for XF1?
In XF1 version the membercard doesn't have the badge. But you can add support of it using template modification system.

Xenforo Team officially stopped developing XF1 and I (like a lot of others, if not all) also follow this decision and stopped adding new features to my XF1 add-ons (I only help users with setting up and fixing bugs if reported)

But just to make it easier for you to achieve what you want, I can say this:
  1. Open 1 of my add-on's template modifications
  2. See how the badge is added some where
  3. Do the exact same modification for the member_card template next to the username which is <xen:username user="$user" class="NoOverlay" />
Here is the result:
2019-08-19_13-09-45.webp

For example, find this:
Code:
<xen:username user="$user" class="NoOverlay" />

replace with this:
Code:
<xen:if is="{$user.dad_fm_is_verified}">
    <xen:if is="{$xenOptions.dad_fm_verifiedbadge}">
        <xen:if is="!{$xenOptions.dad_fm_verifiedbadge_opposite}">
            <img class="VerifiedBadge Tooltip" src="{$xenOptions.dad_fm_verifiedbadge}" data-offsetx="-8" title="{xen:phrase dad_fm_taiv, 'username={$user.username}'}" alt="{xen:phrase dad_fm_taiv, 'username={$user.username}'}" />
        </xen:if>
    </xen:if>
</xen:if>
$0

Although you need a little bit more work to make other conditionals work as well. But I think you got the point.
 
In XF1 version the membercard doesn't have the badge. But you can add support of it using template modification system.

Xenforo Team officially stopped developing XF1 and I (like a lot of others, if not all) also follow this decision and stopped adding new features to my XF1 add-ons (I only help users with setting up and fixing bugs if reported)

But just to make it easier for you to achieve what you want, I can say this:
  1. Open 1 of my add-on's template modifications
  2. See how the badge is added some where
  3. Do the exact same modification for the member_card template next to the username which is <xen:username user="$user" class="NoOverlay" />
Here is the result:
View attachment 208727

For example, find this:
Code:
<xen:username user="$user" class="NoOverlay" />

replace with this:
Code:
<xen:if is="{$user.dad_fm_is_verified}">
    <xen:if is="{$xenOptions.dad_fm_verifiedbadge}">
        <xen:if is="!{$xenOptions.dad_fm_verifiedbadge_opposite}">
            <img class="VerifiedBadge Tooltip" src="{$xenOptions.dad_fm_verifiedbadge}" data-offsetx="-8" title="{xen:phrase dad_fm_taiv, 'username={$user.username}'}" alt="{xen:phrase dad_fm_taiv, 'username={$user.username}'}" />
        </xen:if>
    </xen:if>
</xen:if>
$0

Although you need a little bit more work to make other conditionals work as well. But I think you got the point.
Thanks for the help
 
Top Bottom