XF 1.5 Is there any "template conditional" for external accounts?

mauzao9

Well-known member
Heya,

I'm trying to do something and I'm likely completely sidewalk on how this is meant to be done.

Trying to get a piece of code that checks if the user has X external account linked to his account, to show content to those who do, any guidance?

Thanks,
Max
 
Last edited:

Chris D

XenForo developer
Staff member
Code:
<xen:if is="{$visitor.externalAuth.facebook}">

</xen:if>
That kind of thing should work.

Bear in mind, there is notice criteria that covers this already.
 
Top