• Resolved ttomp13

    (@ttomp13)


    This plugin is absolutely AMAZING.

    I’m running this plugin w/ the Forum Plugin: Simple Press.

    The problem is, Ad Inserter is displaying everything within each new forum thread that is created on one page.

    If there are 50 new threads on 1 forum topic, Simple Press is generating each thread into a “page” and Ad Inserter is injecting advertisements into each thread on one page.

    Huge problem.

    Is there any way to BLACKLIST an entire folder?

    IE https://www.yourdomain.com/forum

    And have everything that is after /forum/ Blacklisted?

    For example:

    /forum/post
    /forum/post-2
    /forum/post-3

    My readers are going to post in the forum, and each new post that is made, I will have to manually blackist. ??

    Anyway to blacklist an entire folder?

    Thank you so much!

    The plugin has been amazing.

    https://www.ads-software.com/plugins/ad-inserter/

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

    (@ttomp13)

    Plugin Author Spacetime

    (@spacetime)

    Not yet, only individual urls can be blacklisted.
    But I put this feature on the todo list.

    Of course, now you can blacklist url patterns with a simple PHP code for each block. Something like this (do not forget to enable PHP processing):

    <?php
    if (strpos ($_SERVER ['REQUEST_URI'], '/forum') === false) {
    ?>
    
    AD CODE
    
    <?php
    }
    ?>
    Thread Starter ttomp13

    (@ttomp13)

    Dude – You are absolutely brilliant. The piece of code you have provided me with?

    Saved me soooooo much time!

    I thought I was going to have to move the ENTIRE forum to a different domain just so this wouldn’t happen.

    Honestly, the fix you have provided is solid. Way easier to add in a few pieces of code then to make a completely new domain OR manually insert ads into each individual post.

    You are amazing, brother.

    Seriously amazing.

    You should post a fix for this on your site just in case anybody else runs into this problem.

    I would title it, “Using Simple Press and Ad Inserter” Removing advertisements from sub-directories.

    Thank you so much!!!!!

    You saved me hours and hours of work.

    PS:

    Most developers do not provide this kind of support. Absolutely brilliant. I would love to join your newsletter. Consider me a customer for life.

    Plugin Author Spacetime

    (@spacetime)

    Thank you!

    Would appreciate if you could leave 5 star rating for Ad Inserter ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Blacklisting an Entire Directory?’ is closed to new replies.