Support » Plugin: Facebook Page Promoter Lightbox » Conflict with Adfly Script

  • Resolved geekdream


    Hello, i’ve seen the plugin go in conflict with AdFly, the When click on Close Button, it redirect to a 404 page of AdFly.

    I’ve put a Java Script for convert all link of the page in Adfly links in the header, and i can set a list of the ignored domains will be not converted but i don’t know what i can write… the close button don’thave a domain is a javascript code.

    Can see the issue on any article of my site

    Thx guys! 😉

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Arevico


    Hi, i’m not familliar with the adfly script, but I can suggest some fixed for the issue.

    – The domain is not specified with the links fancybox (and so this plugin uses). However, when no domain is specified the current domain is implicitly mentioned. Unfortunately I cannot fix this conflict without enforcing improper coding standards. Whata the best solution should be is to modify or ask to modify the adfly script (if its not under your control) to only link elements in the container div of the page/post



    Is not on my control!

    The code is this and request and external JS file…

    <script type=”text/javascript”>
    var adfly_id = 2924932;
    var adfly_advert = ‘int’;
    var exclude_domains = [‘’, ‘’];
    <script src=””></script>

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Conflict with Adfly Script’ is closed to new replies.