Unlucky Posted November 14, 2017 Posted November 14, 2017 Hi, I am not sure exactly where to add that extra code?
newbie LAC Posted November 14, 2017 Author Posted November 14, 2017 29 minutes ago, Unlucky said: I am not sure exactly where to add that extra code? On ACP when you add/edit advert.
Unlucky Posted November 14, 2017 Posted November 14, 2017 4 minutes ago, newbie LAC said: On ACP when you add/edit advert. Thank you - What would I do without you.
daunk Posted November 15, 2017 Posted November 15, 2017 Is it possible to exclude the adverts from certain forums with this app?
newbie LAC Posted November 15, 2017 Author Posted November 15, 2017 20 minutes ago, daunk said: Is it possible to exclude the adverts from certain forums with this app? Hello, Yes using conditions. In the topic you can find some examples https://invisioncommunity.com/forums/topic/429838-nb41-enhanced-advertisements/?do=findComment&comment=2668271 daunk 1
media Posted November 15, 2017 Posted November 15, 2017 I bought this app but I do not know how to use it... Here are my questions I would like to add ads to board index page between forums; HOW? I would like to add ads between topic list every 7 topic; How? I would like to add ads between post every 7 post; How? I would like to add ads on blog index page every 7 blogs; How? I would like to add ads on inside a blog post; How? I would like to add ads on Gallery images; insert description; How? I would like to add ads on Clubs; insert a club description: How? Thanks Bliss99 1
Stormlilly Posted November 16, 2017 Posted November 16, 2017 (edited) Hi, Just purchased, thank you for the contribution. I am having a little trouble determining the correct CSS selectors, etc to use. Do you have a document that has a summary of common selectors and input fields to use for common ad placements? Edited November 16, 2017 by Stormlilly
newbie LAC Posted November 16, 2017 Author Posted November 16, 2017 (edited) Hello, 15 hours ago, media said: I would like to add ads to board index page between forums; HOW? Between each? 15 hours ago, media said: I would like to add ads between topic list every 7 topic; How? https://invisioncommunity.com/forums/topic/429838-nb41-enhanced-advertisements/?do=findComment&comment=2701329 change 9 to 6 15 hours ago, media said: I would like to add ads between post every 7 post; How? https://invisioncommunity.com/forums/topic/429838-nb41-enhanced-advertisements/?do=findComment&comment=2637329 15 hours ago, media said: I would like to add ads on blog index page every 7 blogs; How? I would like to add ads on inside a blog post; How? I would like to add ads on Gallery images; insert description; How? I would like to add ads on Clubs; insert a club description: How? It would be better if you give me links/screenshots. 1 hour ago, Stormlilly said: I am having a little trouble determining the correct CSS selectors, etc to use. Do you have a document that has a summary of common selectors and input fields to use for common ad placements? Hello, I explained how to use the app here https://invisioncommunity.com/forums/topic/429838-nb41-enhanced-advertisements/?do=findComment&comment=2637329 and here https://invisioncommunity.com/forums/topic/429838-nb41-enhanced-advertisements/?do=findComment&comment=2718079 There is no selectors list because you can add yourself like <div class="mySuperClass">text</div> Ask me if you have any problems Edited November 16, 2017 by newbie LAC Stormlilly 1
kalin Posted November 23, 2017 Posted November 23, 2017 after updating to version 1.0.5 I do not see the ads and I can not create new ones
newbie LAC Posted November 23, 2017 Author Posted November 23, 2017 (edited) 8 minutes ago, kalin said: after updating to version 1.0.5 I do not see the ads and I can not create new ones Hello, It's application's modules. To add/edit adverts go to ACP - System (cog icon) - SITE PROMOTION - Advertisements Edited November 23, 2017 by newbie LAC
kalin Posted November 23, 2017 Posted November 23, 2017 2 minutes ago, newbie LAC said: Hello, It's applications modules. To add/edit adverts go to ACP - System (cog icon) - SITE PROMOTION - Advertisements Offf sorry, I forgot everything :D
orp Posted November 28, 2017 Posted November 28, 2017 feature request... could you make it possible to set a priority for each ad (when the global circulation setting in IPS is configured for "random")? for example, be able to have some ads show about twice as often as others... or have an ad that only shows about 5% of the time. basicly adjust how the pseudo-random rotation is executed. i'm coming to IPS from vBulletin and was using a free plugin for rotating banners (https://www.vbulletin.org/forum/showthread.php?t=188328). they called the attribute "likelihood" and did it in the form of a percentage. this feature is sorely missed as we had some non-profit and self-promotion ads that we set to only show very occasionally in the mix. thanks!
newbie LAC Posted November 29, 2017 Author Posted November 29, 2017 Hello, 9 hours ago, orp said: could you make it possible to set a priority for each ad (when the global circulation setting in IPS is configured for "random")? for example, be able to have some ads show about twice as often as others... or have an ad that only shows about 5% of the time. basicly adjust how the pseudo-random rotation is executed. i'm coming to IPS from vBulletin and was using a free plugin for rotating banners (https://www.vbulletin.org/forum/showthread.php?t=188328). they called the attribute "likelihood" and did it in the form of a percentage. this feature is sorely missed as we had some non-profit and self-promotion ads that we set to only show very occasionally in the mix. Maybe in the next release. But no guarantee
media Posted November 30, 2017 Posted November 30, 2017 You need to work on how it looks in ACP. Design is terrible man...
newbie LAC Posted December 1, 2017 Author Posted December 1, 2017 14 hours ago, media said: You need to work on how it looks in ACP. Design is terrible man... Hello, Do you mean php (if/else/etc) code?
PPlanet Posted January 3, 2018 Posted January 3, 2018 @newbie LAC Happy new year! I've been wondering if this app could help me implement something similar to this that I did on 3.4 (with one of Dawpi's apps that he hasn't updated to version 4) Basically adding the advert above the first post of a thread in something that looks like a post container. Of course, I'm looking for something similar on 4.2, for desktop and mobile (actually I'm after more mobile than desktop, even if the picture here corresponds to a desktop view). The idea is for it to look as close as possible to the other posts, whether it's desktop or mobile. As you see there's something in the place of the user details (a site avatar, site name, and instead of the user's name a short phrase or description) I'd also need to have the capacity of showing this on some subforums and not others. (Which I assume possible going by some previous posts here) Is this something, that if I get the app, you could help me achieve here? or would be something more of a job commissioning nature? (that I'd be happy to do too). I simply don't know the level of difficulty so that's why I ask.
newbie LAC Posted January 3, 2018 Author Posted January 3, 2018 (edited) Hello, Happy New Year! 53 minutes ago, PPlanet said: I've been wondering if this app could help me implement something similar to this that I did on 3.4 (with one of Dawpi's apps that he hasn't updated to version 4) You can take the html of post and edit it. Example Quote I'd also need to have the capacity of showing this on some subforums and not others. (Which I assume possible going by some previous posts here) You can use conditions Quote Is this something, that if I get the app, you could help me achieve here? Yes. Actually for this you can use. I guess. Not tested. You can't by default. Edited January 3, 2018 by newbie LAC PPlanet 1
PPlanet Posted January 3, 2018 Posted January 3, 2018 Okay, great. Will get the app and probably then hit you with many questions. Cheers
Sergey_SV Posted January 5, 2018 Posted January 5, 2018 Hi, I am currently using the code for restricting to several forums {{if \IPS\Request::i()->app == 'forums' and \IPS\Request::i()->module == 'forums' and \IPS\Request::i()->controller == 'topic'}} {{$forumId = 0; try { $topic = \IPS\forums\Topic::loadAndCheckPerms( \IPS\Request::i()->id ); $topicId = $topic->topic_id; } catch( \Exception $e ) {};}} {{endif}} {{if !in_array($forumId, array(29,46))}} how can I restrict ads not to show in topics with certain IDs?
newbie LAC Posted January 6, 2018 Author Posted January 6, 2018 Hello, 11 hours ago, Sergey_SV said: how can I restrict ads not to show in topics with certain IDs? {{if \IPS\Request::i()->app == 'forums' and \IPS\Request::i()->module == 'forums' and \IPS\Request::i()->controller == 'topic' and !in_array(\IPS\Request::i()->id, array(1,2,3))}} Code {{endif}}
Sergey_SV Posted January 6, 2018 Posted January 6, 2018 5 hours ago, newbie LAC said: Hello, {{if \IPS\Request::i()->app == 'forums' and \IPS\Request::i()->module == 'forums' and \IPS\Request::i()->controller == 'topic' and !in_array(\IPS\Request::i()->id, array(1,2,3))}} Code {{endif}} Thank you very much for support!
Darek_Hugo Posted January 29, 2018 Posted January 29, 2018 Hello@newbie LAC is there an option to exclude advertising on specific subpages? For example, a login page? Thank you and best regards
newbie LAC Posted January 29, 2018 Author Posted January 29, 2018 7 minutes ago, Hugo_S4 said: Hello@newbie LAC is there an option to exclude advertising on specific subpages? For example, a login page? Thank you and best regards Hello, Currently you can use conditions. I added global setting in 1.0.6 I'll upload it coming soon. If you need separate setting (per advert) tell me and I'll add
Darek_Hugo Posted January 29, 2018 Posted January 29, 2018 Cool. I'm looking forward to version 1.0.6 Will you tell me what condition to apply to exclude an ad from the login page? https://example.com/login/
Recommended Posts