newbie LAC Posted January 5, 2017 Author Posted January 5, 2017 11 minutes ago, Mike_ said: 1. Advert after 3rd post in activity feed HTML {{if request.app == 'core' and request.module == 'discover' and request.controller == 'streams' and !isset(request.id)}} Activity Stream After 3 post {{endif}} Selector .ipsStreamItem_contentBlock:eq(2) Position Insert advert after the chosen element(s) 12 minutes ago, Mike_ said: 2. Advert after first subcategory in category? HTML {{if request.app == 'forums' and request.module == 'forums' and request.controller == 'forums' and request.id}} Advert after first subcategory in category {{endif}} Selector .cForumList li[data-forumid]:eq(0) Position Insert advert after the chosen element(s) Mike_ 1
Darek_Hugo Posted January 6, 2017 Posted January 6, 2017 Hello. I added the ad code after 5,20,35 post. Custom CSS and position: article.Post:eq(5) article.cPost: eq (20) article.cPost: eq (35) When I go to the second or the next page is an advertisement does not shine. It appears only when you refresh the page. Thank you for your help
newbie LAC Posted January 6, 2017 Author Posted January 6, 2017 19 minutes ago, Hugo_S4 said: Hello. I added the ad code after 5,20,35 post. Custom CSS and position: article.Post:eq(5) article.cPost: eq (20) article.cPost: eq (35) When I go to the second or the next page is an advertisement does not shine. It appears only when you refresh the page. Thank you for your help Hello, I can't reproduce. What's the code you use? html, js?
mwcboard Posted January 12, 2017 Posted January 12, 2017 (edited) Hi @newbie LAC, it appears your plugin may be what I was looking for here: So if I download your plugin and want it to show advertisements every X topics & every X posts, what would I need to do? Thanks in advance. Nevermind, I see you already developed this! Thanks! Edited January 12, 2017 by mwcboard
Joey_M Posted January 12, 2017 Posted January 12, 2017 I'm looking to purchase this with the next/upcoming version. As you know Newbie, I have your x posts per topic and post plugins - this will work fine with them? Thank you for considering my suggestions.
newbie LAC Posted January 12, 2017 Author Posted January 12, 2017 Hello, 1 hour ago, Joey_M said: this will work fine with them? Yes. Joey_M 1
Joey_M Posted February 10, 2017 Posted February 10, 2017 There's no icon Newbie? (Is this supposed to happen?) Does the click protection only work for HTML codes? Say I wanted to show a banner instead of say Adsense, how would I call one of my banner advertisements to display when someone has clicked to many times?
newbie LAC Posted February 10, 2017 Author Posted February 10, 2017 Hello, 56 minutes ago, Joey_M said: There's no icon Newbie? (Is this supposed to happen?) Where? 57 minutes ago, Joey_M said: Does the click protection only work for HTML codes? Say I wanted to show a banner instead of say Adsense, how would I call one of my banner advertisements to display when someone has clicked to many times? Do you mean "Type of advertisement (Upload images)"? I added data-nbenhadvid="X" attribute to this type of ads. X is advert ID So you can add div[data-nbenhadvid="X"] to CSS selectors setting
EricT Posted February 11, 2017 Posted February 11, 2017 Hi, No icon app for me too : How can I create an advert ? I can't see a New button or Add button on ACP Could you help me ? Thank you
newbie LAC Posted February 11, 2017 Author Posted February 11, 2017 Hello, 21 minutes ago, EricT said: No icon app for me too : Here? Its not important and I didn't add an icon. 25 minutes ago, EricT said: How can I create an advert ? I can't see a New button or Add button on ACP As usual. ACP - System - Site Promotion - Advertisements EricT 1
Joey_M Posted February 20, 2017 Posted February 20, 2017 @newbie LAC: I'm just starting out with using this. The click protection can you confirm it only applies to HTML ads? (I'd hate any banner advertisements to lose out on impressions). May I also purpose that the option to show an alternative advert once a HTML ad has been clicked to many times is relocated inside the ad options itself? This would allow us to define separate replacements. Example - I will be using Amazon Affiliates, so once Adsense an IP triggers to many HTML clicks, I could then display a banner or alternative code that the click protection isn't applied too.
newbie LAC Posted February 20, 2017 Author Posted February 20, 2017 Hello, 4 hours ago, Joey_M said: The click protection can you confirm it only applies to HTML ads? No 4 hours ago, Joey_M said: May I also purpose that the option to show an alternative advert once a HTML ad has been clicked to many times is relocated inside the ad options itself? This would allow us to define separate replacements. What to add and where?
Joey_M Posted February 20, 2017 Posted February 20, 2017 17 hours ago, newbie LAC said: No I have some in-house advertisers about to come on board, they will be paying for impressions and if people click this would limit that amount. Would you be able to look into making it HTML only that is protected by the click counter? 17 hours ago, newbie LAC said: What to add and where? Somewhere inside the Advertisement configuration page would be awesome. Inside here would allow for greater control, allowing for more customization with the ads. I can replace ads for like for like, so a in-house banner could be shown when a HTML ad unit is under the click limit. PS. Would it also be possible to add a setting for a mobile/responsive HTML advert? Adsense have done a way with their responsive banner adverts, the link version is very uninspiring (almost as poorly designed as Media.net's). If I could add a smaller banner designed for mobiles, I could have a banner showing instead just links.
newbie LAC Posted February 21, 2017 Author Posted February 21, 2017 Hello, 6 hours ago, Joey_M said: Would you be able to look into making it HTML only that is protected by the click counter? Have you seen how the app works? It does not depend on image or html. It check css selectors. You can use <img src="ad.png" class="protect_this_image"> Or <div class="protect_this_div">Some text</div> Then add css selectors .protect_this_image and .protect_this_div 6 hours ago, Joey_M said: PS. Would it also be possible to add a setting for a mobile/responsive HTML advert? You mean html ads? 6 hours ago, Joey_M said: Somewhere inside the Advertisement configuration page would be awesome. What to add?
Joey_M Posted February 21, 2017 Posted February 21, 2017 5 hours ago, newbie LAC said: Have you seen how the app works? Sorry, I'm in the process of settings things up and I find it a little confusing. 6 hours ago, newbie LAC said: It does not depend on image or html. It check css selectors. You can use <img src="ad.png" class="protect_this_image"> Or <div class="protect_this_div">Some text</div> Then add css selectors .protect_this_image and .protect_this_div Ads are not protected until code is added? Where would I add the code? 6 hours ago, newbie LAC said: What to add? The alternative advert code. To my understanding currently there is only one available, I think it would be better defined by each advertisement.
newbie LAC Posted February 21, 2017 Author Posted February 21, 2017 1 minute ago, Joey_M said: Ads are not protected until code is added? Where would I add the code? No ACP - Enhanced Adverts - Advertisements - Settings 2 minutes ago, Joey_M said: To my understanding currently there is only one available, I think it would be better defined by each advertisement. I asked on PM and you told me "one replaced advert for all adverts"
Joey_M Posted February 21, 2017 Posted February 21, 2017 15 hours ago, newbie LAC said: You mean html ads? Yes, sorry - I should make a note to check that I'm being clear enough. 'Show On' - is this what you plan to add? Would it be possible to replicate what the banner element does? Instead of 'upload smaller versions'. Supply mobile and tablet code. 9 hours ago, newbie LAC said: I asked on PM and you told me "one replaced advert for all adverts" Lack of being clear and probably rushing on my behalf, sorry about this also Newbie. I should have said this but I honestly don't recall.
newbie LAC Posted February 22, 2017 Author Posted February 22, 2017 11 hours ago, Joey_M said: 'Show On' - is this what you plan to add? Added already (version 1.0.4) 11 hours ago, Joey_M said: Would it be possible to replicate what the banner element does? Instead of 'upload smaller versions'. Supply mobile and tablet code. No. I added select box not code boxes for devices.
Joey_M Posted February 22, 2017 Posted February 22, 2017 (edited) 2 hours ago, newbie LAC said: Added already (version 1.0.4) No. I added select box not code boxes for devices. This will require people to have two ads though, perhaps even three. I will be putting them in blocks, so I'd require two. -Edit- Is there a way I may be able to use 1 block but two ad units? (would placing both codes work?) I guess I can try. Edited February 22, 2017 by Joey_M
newbie LAC Posted February 22, 2017 Author Posted February 22, 2017 Maybe I'll add code boxes in the next release. 15 minutes ago, Joey_M said: Is there a way I may be able to use 1 block but two ad units? (would placing both codes work?) I guess I can try. What's the block? Pages app?
Joey_M Posted February 22, 2017 Posted February 22, 2017 Yes Newbie, but also I aim to use your ads after x topics/posts.
newbie LAC Posted February 22, 2017 Author Posted February 22, 2017 1 minute ago, Joey_M said: Yes Newbie, but also I aim to use your ads after x topics/posts. You can put in the block as many ads as you want.
Joey_M Posted February 22, 2017 Posted February 22, 2017 5 hours ago, newbie LAC said: You can put in the block as many ads as you want. Yes, this works well for what I wanted to do. I'm not sure if this is cache or something but at times the first ad inside a block shows on mobiles despite being set for desktop only. The triggers a bit hit and miss, so it's kinda random. This is the same block, but then this happens. I've noticed when this happens, the menu tab doesn't work on the page effected. Not sure if this is helpful info? But i tought I'd just pointing this out.
sulervo Posted March 19, 2017 Posted March 19, 2017 Can I insert ads after 1st post in specified categories? How this will act with ads in "After the first post in each topic" location?
Recommended Posts