Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
February 18, 20168 yr Author 3 hours ago, Joey_M said: Hello, Not sure what you mean. What I'll need add? Examples please
February 19, 20168 yr I mean separate ad units per allocated 'after x posts/topics'. Show after 1,12,19 1 - Separate ad unit 2 - Separate ad unit 3 - separate ad unit Of course some may prefer it to be a single unit as default. Yet this could allow us to sell banner spaces or use ad companies which require different units per placement.
February 19, 20168 yr Author Just now, Joey_M said: I mean separate ad units per allocated 'after x posts/topics'. Like this
February 20, 20168 yr Author 13 hours ago, Joey_M said: Yes Newbie, that would be perfect. I think mission impossible. I can't use ips stack in stack
February 21, 20168 yr Author 4 hours ago, Joey_M said: Ah, it would have been useful - no other way around it? There are many work What the goal? Display the same information differently
February 22, 20168 yr 19 hours ago, newbie LAC said: There are many work What the goal? Display the same information differently Different information, different ad unit. We could stick google in the top one, in-house beneath and another ad company at the bottom. I know many people mix, yet I hope to go all in-house soon enough, so having the ability to show different banners would be great.
February 28, 20168 yr @newbie LAC I've seen the thread with you talk through the code to exclude if on a certain page Is it possible to add a setting to this plugin so only ads after X posts are shown if it is in X forum? would be a nice addition to your other plugin ads after x topics. I'm using both this and your ads after x topics plugin, to keep Google happy I'm trying to remove all ads from one board so I can make it private. If I add {{if ( \IPS\Request::i()->controller == 'forums' AND isset( \IPS\Request::i()->id ) AND ! in_array( \IPS\Request::i()->id, array( 9 ) ) ) }} {{endif}} Around the custom ad key for the header ads in forumDisplay and into your nbAdsAfterXTopics template it works fine, ads show in all but this one board. But if I add it in to the topic template and nbAdsAfterXPosts it removes ads from posts within all boards.
February 28, 20168 yr Author Just now, daveoh said: But if I add it in to the topic template and nbAdsAfterXPosts it removes ads from posts within all boards. Hello, For topic view {{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 ); $forumId = $topic->forum_id; } catch( \Exception $e ) {};}} {{endif}} {{if !in_array($forumId, array(9))}} code {{endif}} Just now, daveoh said: Is it possible to add a setting to this plugin so only ads after X posts are shown if it is in X forum? would be a nice addition to your other plugin ads after x topics. Yes.
February 28, 20168 yr Would it be possible to have multiple installations to resolve my request @newbie LAC? If it's not possible to apply changes to the plugin itself, perhaps I could install three different version (with your permission) and then I can set it to show one per area. Would this work?
February 28, 20168 yr 3 minutes ago, newbie LAC said: Hello, For topic view {{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 ); $forumId = $topic->forum_id; } catch( \Exception $e ) {};}} {{endif}} {{if !in_array($forumId, array(9))}} code {{endif}} Yes. Wow wow wow, you're a superstar, works a treat!! Many many thanks, if this could be included in the next plugin update to save template edits that would be super awesome.
February 28, 20168 yr Author Just now, Joey_M said: Would it be possible to have multiple installations to resolve my request @newbie LAC? No. I really don't understand why yours is better than mine. locations -> pids vs. pids -> locations
February 28, 20168 yr I need to show separate ad units (different one's). Myself, I will be using the 'in-house' system. I have people who have paid me money, yet I would like to display. Banner 1 Banner 2 Banner 3 Currently it would only show just one.
February 28, 20168 yr Author Just now, Joey_M said: Currently it would only show just one. Hmmm... I created 3 ads. Plugin settings Result
February 28, 20168 yr 5 minutes ago, newbie LAC said: Hmmm... I created 3 ads. Plugin settings Result @newbie LAC: One banner per location. After post x - Banner1 After post x5 - Banner 2 After post x10 - Banner 3 Sorry for the confusion.
February 28, 20168 yr Author Just now, Joey_M said: @newbie LAC: One banner per location. After post x - Banner1 After post x5 - Banner 2 After post x10 - Banner 3 Sorry for the confusion.
May 18, 20168 yr Hello This mod is really interesting, Can you modify the location to "inside the post" ? So we can see for a example a banner inside the 1st post, inside the 3rd post etc?
May 19, 20168 yr Author 10 hours ago, Karel Beuckelaere said: Hello This mod is really interesting, Can you modify the location to "inside the post" ? So we can see for a example a banner inside the 1st post, inside the 3rd post etc? Hello, I have separate custom plugin made by request. Ad show inside the post above the text.
June 8, 20168 yr Hi newbie LAC Works perfect! fully expirmenting with it now. Can you advise how we can center the advertisements instead of left alligned. Also its seems to allign left top, leaving space under it. (not sure how i can fix it)
June 9, 20168 yr Author 13 hours ago, Karel Beuckelaere said: Hi newbie LAC Works perfect! fully expirmenting with it now. Can you advise how we can center the advertisements instead of left alligned. Also its seems to allign left top, leaving space under it. (not sure how i can fix it) Hello, Try to use css class ipsPos_center More info here
June 9, 20168 yr Hello Newbie_Lac We are trying to implement advertisement after 1 and 3rd post, for normal topic this is working perfectly, however for QA forum its not working as intended. We defined - Custom Location PID 1 - each page - Custom Location PID 3 - each page As the Question is split from the replys, we see: - first page: * banner above first reply or something under the first reply * banner after second reply (?) - Second page: * only 1 banner shown after first Any advise on that? Thanks
June 9, 20168 yr Author 2 minutes ago, Karel Beuckelaere said: Hello Newbie_Lac We are trying to implement advertisement after 1 and 3rd post, for normal topic this is working perfectly, however for QA forum its not working as intended. Hello, Not tested with QA. Give me some time.
June 9, 20168 yr Author 1 hour ago, Karel Beuckelaere said: * banner after second reply (?) second reply + question = 3 posts. The following question appears. Incude or exclude question (first post) in QA forums? Exclude. 1 hour ago, Karel Beuckelaere said: * only 1 banner shown after first I can't reproduce. Can you give me acp access? 1 hour ago, Karel Beuckelaere said: As the Question is split from the replys, we see: Confirmed. I excluded first post (question). Ad shows after answers. Edited June 9, 20168 yr by newbie LAC
June 12, 20168 yr On 10/12/2015 at 1:09 AM, newbie LAC said: Support topic I purchased this plugin and it seems to work great. However, I have a very important question. I am using adsense with this plugin and the active viewable percentage is awful for the ads in the middle or towards the end of topics. Does this plugin force the ads to load for each page but only display them if X amount of posts are reached according to the plugin settings? If so, this is a big flaw and could get people in trouble with adsense for hidden ads.