[RSS Feed/News] Conditional statement to hide something only from certain user groups

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
With my Google Ads, I want to display the ads to all user groups except two (supporting members and lifetime supporting members).

Right now I am using this code:

Code:

Code:
        <!-- Added by Chris (conditional code that only shows Google ads if user is not logged in)-->
        <xf:if is="!$xf.visitor.user_id">
            <link rel="preload" href="https://prebid.dblks.net/ff/2715236.js" as="script">
            <link rel="preload" href="https://securepubads.g.doubleclick.net/tag/js/gpt.js"...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom