newbie LAC Posted October 14, 2019 Author Posted October 14, 2019 5 hours ago, Silnei L Andrade said: With the plugin I can display a banner in a particular forum? Hello, Where do you want display a banner? Location please Silnei L Andrade 1
Silnei L Andrade Posted October 14, 2019 Posted October 14, 2019 (edited) To display a banner just below my ID 631 forum for example, how do I do it? Edited October 15, 2019 by Silnei L Andrade
newbie LAC Posted October 15, 2019 Author Posted October 15, 2019 Hello, 12 hours ago, Silnei L Andrade said: To display a banner just below my ID 631 forum for exemple, how do I do it? Just confused. Do you want to add a banner on the index page after specific forum? Or do you want to add a banner on the page of specific forum? Silnei L Andrade 1
Silnei L Andrade Posted October 15, 2019 Posted October 15, 2019 (edited) On the page of specific forum. For example, if I have a 4x4 vehicle forum in my community and want to post a banner offering tires for these vehicles on this forum page and on all topic pages of this forum, how do I do it? Edited October 15, 2019 by Silnei L Andrade
newbie LAC Posted October 15, 2019 Author Posted October 15, 2019 26 minutes ago, Silnei L Andrade said: On the page of specific forum. For example, if I have a 4x4 vehicle forum in my community and want to post a banner offering tires for these vehicles on this forum page and on all topic pages of this forum, how do I do it? Add in Extra condition field {{if isset(\IPS\Output::i()->hiddenElements['nbenhadverts_node_class']) and \IPS\Output::i()->hiddenElements['nbenhadverts_node_class'] instanceof \IPS\forums\Forum and \IPS\Output::i()->hiddenElements['nbenhadverts_node_id'] == 631}} 1 {{endif}} Silnei L Andrade and media 1 1
mtlurb Posted November 13, 2019 Posted November 13, 2019 Hello I am having a hard time understanding the CSS system. For example I want an ad after this menu at the complete bottom of the thread page. If I go with CSS selector I get: ipsToolList ipsToolList_horizontal ipsClearfix ipsSpacer_top ipsResponsive_hidePhone If I use ipsToolList it appears the first place where its used in the page... not where i wanted it to be. How does this translate into a usable code for this plugin? Is there a proper tutorial please? Just saying use a CSS selector is not enough.
newbie LAC Posted November 14, 2019 Author Posted November 14, 2019 Hello, 13 hours ago, mtlurb said: For example I want an ad after this menu at the complete bottom of the thread page. Selector .cTopic + .ipsToolList.ipsToolList_horizontal Position Insert advert after the chosen element(s) 13 hours ago, mtlurb said: How does this translate into a usable code for this plugin? .ipsToolList.ipsToolList_horizontal.ipsClearfix.ipsSpacer_top.ipsResponsive_hidePhone 13 hours ago, mtlurb said: Is there a proper tutorial please? All you need to know is css. If you are not familiar with css feel free to ask me in the support topic or PM (some customers do it)
mtlurb Posted November 14, 2019 Posted November 14, 2019 13 hours ago, newbie LAC said: Hello, Selector .cTopic + .ipsToolList.ipsToolList_horizontal Position Insert advert after the chosen element(s) .ipsToolList.ipsToolList_horizontal.ipsClearfix.ipsSpacer_top.ipsResponsive_hidePhone All you need to know is css. If you are not familiar with css feel free to ask me in the support topic or PM (some customers do it) Ok so the proper to do it is to insert . between each css style of an element? Thanks!!
newbie LAC Posted November 15, 2019 Author Posted November 15, 2019 10 hours ago, mtlurb said: Ok so the proper to do it is to insert . between each css style of an element? https://invisioncommunity.com/forums/topic/429838-nb41-enhanced-advertisements/?do=findComment&comment=2637329
mtlurb Posted November 15, 2019 Posted November 15, 2019 Thank you it works! My other question is regarding this page: https://mtlurb.com/discover/ It is a page that dynamically loads, and I am able to place an ad only in the section that loaded first, not subsequent sections. I tried: .ipsStreamItem_contentBlock:eq(50) And it doesnt show. Thanks for the help!
newbie LAC Posted November 17, 2019 Author Posted November 17, 2019 On 11/15/2019 at 11:46 PM, mtlurb said: My other question is regarding this page: https://mtlurb.com/discover/ It is a page that dynamically loads, and I am able to place an ad only in the section that loaded first, not subsequent sections. I tried: .ipsStreamItem_contentBlock:eq(50) And it doesnt show. I'll look into that
Mike Gholson Posted December 2, 2019 Posted December 2, 2019 @newbie LAC, I just purchased your enhanced ad module. It looks good so far. A few questions: My existing ads are not showing up in the advert list (on your module). How do I get them to show up? How do I enable the click counter for ads that I've already got running? I want to show an ad for every 3 posts when a guest is viewing a topic. How do I get this going? (I had your previous Ads after X posts and want to get that working again) Thank you! Mike
newbie LAC Posted December 3, 2019 Author Posted December 3, 2019 Hello, 8 hours ago, Mike Gholson said: My existing ads are not showing up in the advert list (on your module). How do I get them to show up? Do you mean this? That page displays ads with clicks 8 hours ago, Mike Gholson said: How do I enable the click counter for ads that I've already got running? 8 hours ago, Mike Gholson said: I want to show an ad for every 3 posts when a guest is viewing a topic. How do I get this going? (I had your previous Ads after X posts and want to get that working again) CSS selector .cPost:nth-child(3n) Position Insert advert after the chosen element(s)
Mike Gholson Posted December 3, 2019 Posted December 3, 2019 Great thanks! I suppose the ads weren't showing up on your module because I didn't have the click log enabled? Will try that now. I am a bit confused with the ad after every 3 posts, but, will look into it tomorrow when I have a bit more time to follow your instruction. Mike
newbie LAC Posted December 3, 2019 Author Posted December 3, 2019 1 minute ago, Mike Gholson said: I suppose the ads weren't showing up on your module because I didn't have the click log enabled? You have no ads clicked by users. My application logs clicks and show the stats (see above screenshot). 4 minutes ago, Mike Gholson said: I am a bit confused with the ad after every 3 posts, but, will look into it tomorrow when I have a bit more time to follow your instruction.
Mike Gholson Posted December 4, 2019 Posted December 4, 2019 @newbie LAC, thank you this worked fine. Do you happen to have a list of valid elements and their locations?
newbie LAC Posted December 4, 2019 Author Posted December 4, 2019 Hello, 1 hour ago, Mike Gholson said: Do you happen to have a list of valid elements and their locations? It's css I explain how it works here
Mike Gholson Posted December 4, 2019 Posted December 4, 2019 15 hours ago, newbie LAC said: Hello, It's css I explain how it works here Thanks. However, I am not a CSS programmer so I don't know where to find these elements? Is there a simple way to find them? m
newbie LAC Posted December 5, 2019 Author Posted December 5, 2019 7 hours ago, Mike Gholson said: I am not a CSS programmer so I don't know where to find these elements? Is there a simple way to find them? You can read some docs (ex. https://developer.mozilla.org/en-US/docs/Learn/CSS/Building_blocks/Selectors, https://developer.mozilla.org/en-US/docs/Learn/CSS/Building_blocks/Debugging_CSS). You can also ask me in the topic or PM.
christopher-w Posted January 1, 2020 Posted January 1, 2020 Abs adore this product. Quick question on Clubs. I see you've answered this before but I didn't quite understand the solution. When I target forums, Club forums are included too. What is the 'and not clubs' condition that I need to use to exclude Clubs from other selection sets. Many thanks!
newbie LAC Posted January 1, 2020 Author Posted January 1, 2020 42 minutes ago, christopher-w said: Quick question on Clubs. I see you've answered this before but I didn't quite understand the solution. When I target forums, Club forums are included too. What is the 'and not clubs' condition that I need to use to exclude Clubs from other selection sets. Hello, What condition are you using?
christopher-w Posted January 1, 2020 Posted January 1, 2020 (edited) 47 minutes ago, newbie LAC said: Hello, What condition are you using? I'm not using anythng specific at the moment, but for example if I used your example from the admin panel, could I include a not clubs parameter in this? {{if request.app == 'forums' and request.module == 'forums' and request.controller == 'forums'}}1{{endif}} Edited January 1, 2020 by christopher-w
newbie LAC Posted January 1, 2020 Author Posted January 1, 2020 (edited) 2 minutes ago, christopher-w said: if I used your example from the admin panel, could I include a not clubs parameter in this? {{if request.app == 'forums' and request.module == 'forums' and request.controller == 'forums' and !isset(\IPS\Output::i()->hiddenElements['nbenhadverts_club_id'])}}1{{endif}} Edited January 1, 2020 by newbie LAC christopher-w 1
christopher-w Posted January 8, 2020 Posted January 8, 2020 Hey, Can I place custom blocks similar to {block="xx"} inside the HTML block? Many thanks
newbie LAC Posted January 9, 2020 Author Posted January 9, 2020 Hello, 14 hours ago, christopher-w said: Can I place custom blocks similar to {block="xx"} inside the HTML block? Do you mean Pages blocks? If so you can do it christopher-w 1
Recommended Posts