No Ads in selectable Nodes

xF2 No Ads in selectable Nodes

  • Be sure to use a real e-mail address when joining this site because you will need to comfirm your e-mail address to have your account activated. If you are using a disposable email address, your account will be deleted from our site.
  • Welcome xFWarez Members do not make another account your old logins will work. If you have any issues please contact a member of our staff and we will sort them.
  • Downloading from our site will require you to have a paid membership. Upgrade to a Premium Membership today!

    Dont forget read our Rules! Also anyone caught Sharing this content will be banned. By using this site you are agreeing to our rules so read them. Saying I did not know is simply not an excuse! You have been warned.

  • If we find you sharing Premium resources or Free Resources or any content on this site anywhere else you will be permanently banned and no refund will be issued! So don't do it! We are striving to be the number one Forum Network and Leeching just hurts it for everyone! This content is only intended for personal use and not to be repackaged or resold. If you are caught sharing our content to other sites you are forfeiting your membership and will be banned. Also creating muliple accounts is a bannable offense if you are caught using more than one username you will be banned on all usernames.

Heisenberg

Administrator
Staff member
Administrator
Moderator
Platinum
xenForo 2.x.x
xenForo 1.x.x
Contributor
vBulletin All Access Pass
The Chest
Verified
Ultra Platinum VIP
Platinum VIP
Gold VIP
Silver VIP
Bronze VIP
Member
Jul 17, 2005
17,372
1,160
113
Heisenberg submitted a new resource:

- dont display ads in some Nodes

With XenForo you can already very nicely separate ads by user groups or not show them at all. But what is in certain forums?
Sometimes you do not want to show ads in private forums. Take that:
Search for the numbers of the forums and insert them as below in the example.
Then put the green code before and after your AdCode. Save done :)

Rich (BB code):
<xf:if is="!in_array($__globals.forum.node_id, [1,2,3,77,113])">
<ins class="adsbygoogle"
    style="display:inline-block;width:100%;height:280px"...
 
Thread starter Similar threads Forum Replies Date
Heisenberg xF2 Best advertising positions for your ads Tips & Guides [2.x] 0
Heisenberg xF2 Down and dirty simple rotating ads Tips & Guides [2.x] 0