Jump to content

Community

(NB40) Ads After X Topics


newbie LAC
 Share

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
Share on other sites

9 minutes ago, sadams101 said:

Any idea why?

Sorry. I'm not familiar with your ads system.

11 minutes ago, sadams101 said:

Are you sure what this part is correct?

Maybe it shoud be 

https://www.celiac.com/delivery/afr.php?

and these params

INSERT_ENCODED_CLICKURL_HERE
INSERT_RANDOM_NUMBER_HERE

 

Link to comment
Share on other sites

  • 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
Share on other sites

20 minutes ago, 33andrain said:

I've opened up Guest viewing - https://www.33andrain.com/forum/51-teleconnections-research-portal/

Please let me know how else I can support.

Switch on IPS 4 Default (or IPS 4 Default [Modified] or IPS 4 Dark) theme and you will see adverts.

It's something related with your theme.

Edited by newbie LAC
Link to comment
Share on other sites

  • 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
Share on other sites

  • 1 year later...
  • 3 months later...

There seems to be a bug in the newest version after I upgraded to 4.5 IPB. If you have more than one ad, for example an ad that shows after the 2nd topic, and another after the 5th, only the first ad will show. The 2nd, or 3rd ad will not show. 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

We use technologies, such as cookies, to customise content and advertising, to provide social media features and to analyse traffic to the site. We also share information about your use of our site with our trusted social media, advertising and analytics partners. See more about cookies and our Privacy Policy