XF 2.1 "If member has Connected Account" conditional?

maxicep

Active member
Hello everyone,

Actually i want to show an icon in message user info template, if member has connected account from any service provider.
Is there any template conditional for do it?

If Member has connected account than show that icon.

Thanks
 
You can check for connected accounts with this conditional:

Code:
<xf:if is="$user.Profile.connected_accounts">
    // User has at least one connected account, do something
</xf:if>
 
Back
Top Bottom