• Resolved diamantlinks

    (@diamantlinks)


    Hello,

    – I use AdInserter version 2.3.18.
    – I have enabled remote debugging.
    – I have disabled my caching pluging.
    – I have disabled caching for the AdInserter-Block I have problems with.
    – I have disabled all AdBlockers.

    I use the plugin YouTube to display a YouTube Channel as a gallery in a WordPress post. (https://www.ads-software.com/plugins/youtube-embed-plus/)

    An example on my following page: https://dampfertv.moselbook.de/liquidhimmel/

    There above is the video player and below a list of thumbnails, linked to other videos.

    Between the rows of 3 thumbnails you will find the following code:
    <div class="epyt-gallery-rowbreak"></div>

    In the AdInserter-Block I have specified this HTML element:
    .epyt-gallery-rowbreak

    That way I get my block (only simple text links) to the right place, great! ??

    Screenshot of the Block’s settings:
    https://gyazo.com/2c9d675e54ffe3d680eaa6a755940d92

    If I click on the link “?ltere Videos” (Older videos) to go to the next page, this block will NOT be displayed. ?? Only when I refresh the page, the block is also displayed there.

    The HTML element is always the same:
    epyt-gallery-rowbreak

    The problem is the same in Chrome and in Firefox.

    I have already experimented with insertion settings and cache settings in AdInserter, unfortunately so far unsuccessful.

    I hope someone can explain to me how I get my block there on the other pages. Without the need of refreshing.

    Thanks for any help!

    Greetings Christian

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter diamantlinks

    (@diamantlinks)

    I think it’s this Youtube plugin and how it shows or loads these channel galleries.

    If you navigate forwards or backwards in the list, the page is not really refreshed.

    Is this maybe an iframe or something similar?

    What options are there for displaying AdInserter blocks on these type of pages?

    Somehow that will work for sure, right?

    Plugin Author Spacetime

    (@spacetime)

    The reason is very simple: the insertion is done server-side when the page is created.

    When you click on “?ltere Videos” they are loaded via Ajax call which only loads new videos – it doesn’t refresh the page and consequently Ad Inserter is not called to do its job.

    To find the best solution you need to first find out whether the Ajax call calls the_content filter to process the content it loads. You need to check with plugin (or theme) authors.

    If the answer is no then you won’t be able to inssert.

    If the filter is called then you need to configure block to insert after paragraphs.
    Define paragraph tags that contain wanted class (don’t specify paragraph numbers) and then set Filter to insert after every 3 videos, e.g. %3:

    https://adinserter.pro/documentation/paragraph-settings

    https://adinserter.pro/documentation/additional-block-settings#filter

    Thread Starter diamantlinks

    (@diamantlinks)

    Thank you for your help! ??

    Plugin Author Spacetime

    (@spacetime)

    You are welcome!

    Thank you for your help!

    Please say it here:
    https://www.ads-software.com/support/plugin/ad-inserter/reviews/

    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Block appears only after refresh not with 1st site load.’ is closed to new replies.