XF 1.4 A condition if the user has a banner (only in threads and conversations)?

Dylan V

Well-known member
Hello,

I'd like to know if it was possible to display different content if the user has a banner in the threads and conversations. If yes, can you give me the condition?

Thanks.
 
Presumably the banner is applied via a user group?

If so, you can use a standard user group ID check.
I have a problem, Brogan. Look at the picture:

7yawsyu.webp

I'd like to put an option allowing, if the user has no banner, so I can adjust the height where the arrow indicates the element. Basically, use something like this:

Code:
<xen:if is="{$xenOptions.userBanners}">

<xen:else />

.messageUserBlock .extraUserInfo
{
    margin-top: -50px;
}

</xen:if>

But I can't find the condition to do that only if the user does not have any banner.
 
Back
Top Bottom