• Resolved noallergiesplease

    (@noallergiesplease)


    Hi, I was a user before of “Scroll Triggered Boxes”. I have upgraded according to your instructions but now I don’t get my interface with AWeber coming up??? It’s blank instead. Otherwise, the popup window works fine.

    The site is called noallergiesplease.com and if you scroll down to the bottom of the page, you’ll see text that is popped up properly but without the AWeber link to get their name and email.

    https://www.ads-software.com/plugins/boxzilla/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Danny van Kooten

    (@dvankooten)

    Hi noallergiesplease,

    How were you previously adding the Aweber form to your Scroll Triggered Boxes box? This is not default plugin functionality, so maybe you used another plugin that offers you some kind of shortcode?

    Thread Starter noallergiesplease

    (@noallergiesplease)

    Do you want “A Visual That Describes How The Allergy Relief Technique Works”… it’s FREE!
    <div class=”AW-Form-1015413663″></div>
    <script type=”text/javascript”>(function(d, s, id) {
    var js, fjs = d.getElementsByTagName(s)[0];
    if (d.getElementById(id)) return;
    js = d.createElement(s); js.id = id;
    js.src = “//forms.aweber.com/form/63/1015413663.js”;
    fjs.parentNode.insertBefore(js, fjs);
    }(document, “script”, “aweber-wjs-uq9ljh0it”));
    </script>

    That is the code in my popup box. Nothing has changed between Scroll Triggered Boxes and Boxzilla. I realize that it is custom code provided by Aweber but it’s necessary to capture their email address.

    Plugin Contributor Harish Chouhan

    (@hchouhan)

    Hi noallergiesplease,

    I tested it in our old and new plugin and was able to replicate the error. The code worked well and the form was displayed in “Scroll Triggered Boxes” but it does not work in BoxZilla.

    I’ll discuss this with my colleague and see if we can find what caused this. Please allow us some time to get back.

    Plugin Contributor Harish Chouhan

    (@hchouhan)

    Hey @ noallergiesplease,

    In our “BoxZilla” plugin to make it similar to WordPress editor, the script tags will not work. We are working on a fix, however if you are in a hurry I would suggest using the standard approach of removing the <script>...</script> from the BoxZilla editor and instead add it directly to the footer.php file in your active theme or through a WordPress function.

    Thread Starter noallergiesplease

    (@noallergiesplease)

    Here’s where I’ll need some guidance. Remember that I’m not a web developer but have programming knowledge behind me.

    If I were to use a WP function, where would I define it? And would it look exactly like the code verbatim? Would Boxzilla call the function? What would the call look like? And what would the function look like?

    Sorry!

    Plugin Contributor Harish Chouhan

    (@hchouhan)

    Hello again,

    Please find a working code example that you can add to the end of the “functions.php” file in your theme.

    function my_aweber_custom_js() {
        echo '<script type="text/javascript">(function(d, s, id) {
    var js, fjs = d.getElementsByTagName(s)[0];
    if (d.getElementById(id)) return;
    js = d.createElement(s); js.id = id;
    js.src = "//forms.aweber.com/form/63/1015413663.js";
    fjs.parentNode.insertBefore(js, fjs);
    }(document, "script", "aweber-wjs-uq9ljh0it"));
    </script>';
    }
    // Add hook for front-end footer
    add_action('wp_footer', 'my_aweber_custom_js');

    Also, please note if you update your theme, you would need to add this code again. Another way would be to use 3rd party plugins such as https://www.ads-software.com/plugins/insert-headers-and-footers/ which allow adding header/footer scripts directly from the backend.

    I hope that helps.

    Plugin Author Danny van Kooten

    (@dvankooten)

    Hi noallergiesplease,

    Small update: we’re releasing an update for Boxzilla early next week in which it is possible to use <script> tags directly in the box content again.

    If you’ve not yet applied Harish’ workaround then an alternative may be to download the latest development version of the plugin from GitHub.

    Download: https://github.com/ibericode/boxzilla-wp/archive/master.zip

    Hope that helps. If not, let me know!

    Thread Starter noallergiesplease

    (@noallergiesplease)

    Thanks Danny!

    Does that plug-in have the most current changes or should I wait a week?

    – John

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘AWeber doesn't come up?’ is closed to new replies.