Jump to content

(NB40) Ads After X Topics


Recommended Posts

Ok, interesting. Around the same time I switched to PHP 7 I also changed some of the call tags I use to call the ads (I use Revive Adserver). The Iframe call is what caused the issue:

Quote

<iframe id='a2357a9d' name='a2357a9d' src='https://www.celiac.com/adserv/www/delivery/afr.php?zoneid=198&amp;source=rel%3D%5C%27nofollow%5C%27&amp;target=_blank&amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;ct0=INSERT_ENCODED_CLICKURL_HERE' frameborder='0' scrolling='no' width='468' height='60'><a href='https://www.celiac.com/adserv/www/delivery/ck.php?n=a478afba&amp;cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='https://www.celiac.com/adserv/www/delivery/avw.php?zoneid=198&amp;source=rel%3D%5C%27nofollow%5C%27&amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;n=a478afba&amp;ct0=INSERT_ENCODED_CLICKURL_HERE' border='0' alt='Celiac.com Sponsor' /></a></iframe>

When I switched it back to asynch call tag the problem doesn't happen:

Quote

<ins data-revive-zoneid="198" data-revive-source="rel%3D%5C%27nofollow%5C%27" data-revive-target="_blank" data-revive-ct0="INSERT_ENCODED_CLICKURL_HERE" data-revive-id="b6ff4bd95242b64ee391a5fd4b82dc64"></ins>
<script async src="/adserv/www/delivery/asyncjs.php"></script>

 

Any idea why?

Link to comment
  • 1 month later...
  • 8 months later...

@newbie LAC, another terrific plugin, thank you. At least conceptually for me as I cannot get it working just yet. Hoping you can help. From the screenshots, you can see I have setup a custom ad key and am attempting to call it using your plugin. Nothing is showing on my topic listing page, even sample "text" text. Any ideas? FYI, the Ads after [x] Posts plugin works fine for me.

934845999_Screenshot2018-04-2904_36_21.thumb.png.7c42c8fe5a683c7e06a48573d8b22e6d.png

21118182_Screenshot2018-04-2904_36_45.thumb.png.e9954a54b9abd8322bf5c0401a90fbc5.png

Link to comment
  • 7 months later...
  • 2 months later...
  • 4 months later...

Hi,

Probably a newbie question but... 

This appears to set to a static post number. So if say I have a thread with 50 posts in it and I set it to appear at "4" it appears at post four of the thread. 

Is there anyway to set it to appear as the fourth post on every page? i.e. at intervals of four posts?

Otherwise I'm going to have to set up loads of custom location keys (e.g. 4,8,12,16,20,24,28,32,36,40,44,48)...

Thanks,

Rob

Link to comment
  • 1 year later...
  • 3 months later...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...