Dadparvar
Well-known member
In XF1 version the membercard doesn't have the badge. But you can add support of it using template modification system.How about for XF1?
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:
- Open 1 of my add-on's template modifications
- See how the badge is added some where
- Do the exact same modification for the
member_card
template next to the username which is<xen:username user="$user" class="NoOverlay" />
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.