Display criteria
where you can select groups who should or shouldn't get the ad code!sorry can you make a screen.. i dont see it any display criteria.. im using adsensead panel in backend. every ad block as an option namedDisplay criteria
where you can select groups who should or shouldn't get the ad code!
14. a Hide content for only one user group
Code:
<xf:if is="{{!$xf.visitor.isMemberOf(x)}}">
Hide content...
</xf:if>
i really dont know how to move the advertisement in the other section.. what should i do?right. it's possible to do it in page_container using something like this from here:
Guide and tutorial for conditional statements using XenForo 2 syntax
- eTiKeT™
- conditional for statements xenforo 2 xf:else xf:if
- XenForo tips & guides [2.x]
Code:14. a Hide content for only one user group Code: <xf:if is="{{!$xf.visitor.isMemberOf(x)}}"> Hide content... </xf:if>
but do consider to just move your ad codes to advertising section for better control!
If you are just putting the ad code in header section of page_container, get this addon. Much easier to manage.
Resource iconSo you don't have to edit your PAGE_CONTAINER template
- mazzly
- ads ads manager adsense adsense auto ads
- Add-ons [2.x]
lol you might like as well.. 35 dollars.. i already purchased the adblocker another 40 dollar and its not even working..
Harsh... @AndyB is a good guy...lol you might like as well.. 35 dollars.. i already purchased the adblocker another 40 dollar and its not even working..
so i can remove the script from page container and just install theandy addon? and put the id?Instead of editing page container you would find it very simple to use the Ad positions in xenforo
Admin Contro Panel > Setup > Advertising because there you can not only define which usergroups see specific ads in specified positions, but you can also define overall which templates don't serve ads. This is useful because Adsense may nag you if ads are shown on non public pages where they cannot check it.
If you want Auto ads then I'm sure Andy's addon is great, they all are,
I don't know about the addon, just saying that Andy's addons are very good. But without any addon you can just remove the script from the PAGE_CONTAINER anyway and put it in the built in Ad positions at Admin Contro Panel > Setup > Advertising. You just choose the position (e.g. over/under breadcrumbs etc) then put the code in the text field and choose user groups to show or hide.so i can remove the script from page container and just install theandy addon? and put the id?
so i can remove the script from page container..I don't know about the addon, just saying that Andy's addons are very good. But without any addon you can just remove the script from the PAGE_CONTAINER anyway and put it in the built in Ad positions at Admin Contro Panel > Setup > Advertising. You just choose the position (e.g. over/under breadcrumbs etc) then put the code in the text field and choose user groups to show or hide.
View attachment 305174
Yesso i can remove the script from page container..
go in the acp open advertising and paste the script there..
Ignore that, it was my code as an example - you need to paste in your own code that Adsense gave you (ie what you put in PAGE_CONTAINER) , not my code which was just an example! Please don't paste in my ads or you will get nothing and I;ll get all the money from your siteand what all the other code "cafe sidebar"
excuse me .. one more question.Yes
Ignore that, it was my code as an example - you need to paste in your own code that Adsense gave you (ie what you put in PAGE_CONTAINER) , not my code which was just an example! Please don't paste in my ads or you will get nothing and I;ll get all the money from your site
Inside <head> of the html
set in header and put the ad code there.Container Content: Above
seems like a good place. Just one would be fine as the code would appear throughout the forum pages. Individual sections are useful when you want to put ads manually at locations you want the ads to appear in.Prevent ads showing in these templates
is the section where you can put in individual templates to not have the ad codes in.No, you shouldn't, Google needs it's code to be in your website's code, and then he takes over.excuse me .. one more question.
i used to have automated advertisment. so they just fill a little bit everywhere..
now i have to open one for each position? or the "container sidebar above" is enough?
or i have to open , above , below.. then? which other options to filmm as much as possible? thank you
We use essential cookies to make this site work, and optional cookies to enhance your experience.