Eero Hermlin
Forum Replies Created
-
Forum: Plugins
In reply to: [Scroll Triggered Box] Scrollbox design doesn't charge in https connectionI thought about the issue and can offer such solution (assuming, that in your case WP is installed into web root):
Open Scrollbox editor, use Text (HTML) mode and paste into the end of existing content following piece of script:
<script type="text/javascript">// <![CDATA[ $DGD.loadCss('/wp-content/plugins/dreamgrow-scroll-triggered-box/themes/clean_white/style.css', document.head); // ]]></script>
I hope this resolves https users problem. Please let me know if it helped. In future I will try to solve it in plugin code, so that http/https users don’t have to worry about it any more.
Forum: Plugins
In reply to: [Scroll Triggered Box] 404 on style.cssNow it is so because your users have still cached versions of your site. I revisited that page, made good Ctrl+R refresh and looked the network log – there wasn’t any request to that not existing stylesheet any more.
Picture (sorted by type so only loaded stylesheets are shown): https://i.imgur.com/21rXThi.png
Forum: Plugins
In reply to: [Scroll Triggered Box] Stop scrollbox from showing after successful subscribeI think #1 and #2 will be solved if you take exactly the MailChimp html code – maybe you can copy it again from MailChimp and paste. The code you posted above showed that you used incomplete code.
If those are fixed, we can move to solving #3, and perhaps also #4 – my solution requires that MailChimp own code is pasted and working correctly.Forum: Plugins
In reply to: [Scroll Triggered Box] Stop scrollbox from showing after successful subscribeDo you have in some page this broken Scrollbox working at the moment? I looked but couldn’t find any.
Forum: Plugins
In reply to: [Scroll Triggered Box] 404 on style.cssYou must purge cache and/or redo script minification.
I can tell that page https://www.freerides.org/events/burke-mountain-freeride-2015/ takes our plugin js functions from cached file what contains still old (2.1.2) version of javascript.
Forum: Plugins
In reply to: [Scroll Triggered Box] 404 on style.cssYou must purge cache and/or redo script minification.
I can tell that page https://www.freerides.org/events/burke-mountain-freeride-2015/ takes our plugin js from file
https://www.freerides.org/wp-content/cache/minify/000000/XY5BDkIhDAUvJBLjiQo0TRUoaUu-8fRqXIAuZ5J5eZdYFKGRyhEsq9QaXJkIFUtI8og3i2_Pw0_XODlmUTw37l86uBD64iHGztKXaTJtC0zUIdXNFHAcnO-oW4R9LoLpkqWNir51isbPvykFol-Vpvt-pzBUoQ-_AA.jsBut this contains still old (2.1.2) version of javascript.
Forum: Plugins
In reply to: [Scroll Triggered Box] Scrollbox design doesn't charge in https connectionHi
Can you please provide link to your page, so I could check?
Forum: Plugins
In reply to: [Scroll Triggered Box] Error fancybox is not a functionI think that only problem why box is not showing is about triggering action. Those javascript errors do not bother. If I went to your site and initiated manually scrollbox showing: it can be done by entering into javascript console
$DGD.showBox($DGD.scrollboxes[0]);
Then it showed up like it should.Forum: Plugins
In reply to: [Scroll Triggered Box] 404 on style.cssIt should be fixed in latest version (2.2.0).
Forum: Plugins
In reply to: [Scroll Triggered Box] Helper js for setting completed cookieHere another possibly useful implementation of that idea.
To close Scrollbox automatically after MailChimp submission (Using MailChimp own HTML form), add following piece of script after <!– End mc_embed_signup –>
<!--End mc_embed_signup--> <script type="text/javascript">// <![CDATA[ jQuery('#mce-success-response').bind("DOMSubtreeModified",function(){ var boxid = jQuery(this).closest('.dgd_stb_box').attr('id'); $DGD.closeAfterSubmit(boxid); }); // ]]></script>
It should work on Chrome, Firefox, IE9+, Safari, Android.
Forum: Plugins
In reply to: [Scroll Triggered Box] Stop scrollbox from showing after successful subscribeI actually understand why you have erased that from your Scrollbox – you wanted to implement your own email validation, because MailChimp’s way is not ok for you. But maybe you can still use MailChimp own validation, perhaps adding some style=”” parameters to MailChimp fields etc. Because, otherwise MailChimp AJAX will not work and you will not get your desired result.
To close Scrollbox automatically after MailChimp submission, add following piece of script after <!– End mc_embed_signup –>
<!--End mc_embed_signup--> <script type="text/javascript">// <![CDATA[ jQuery('#mce-success-response').bind("DOMSubtreeModified",function(){ var boxid = jQuery(this).closest('.dgd_stb_box').attr('id'); $DGD.closeAfterSubmit(boxid); }); // ]]></script>
In this case Scrollbox will be closed automatically after showing Mailchimps success message after time period defined in “Close box automatically after “Thank You” message is shown for” in Admin page. And If you have ticked “Close permanently” checkbox, then it will be closed for that user permanently as well.
Forum: Plugins
In reply to: [Scroll Triggered Box] Stop scrollbox from showing after successful subscribeSorry for delay. I had to look it over, because I haven’t used MailChimp for a while.
About feedback not appearing inside box: what comes to my mind is, that you must paste into Scrollbox html view complete script what you got from MailChimp, including <!– Begin MailChimp Signup Form –> and <!–End mc_embed_signup–>
I’m afraid you have left something out, like that part of mailchimp html:<script type='text/javascript' src='//s3.amazonaws.com/downloads.mailchimp.com/js/mc-validate.js'></script><script type='text/javascript'>(function($) {window.fnames = new Array(); window.ftypes = new Array();fnames[0]='EMAIL';ftypes[0]='email';fnames[1]='FNAME';ftypes[1]='text';fnames[2]='LNAME';ftypes[2]='text';}(jQuery));var $mcj = jQuery.noConflict(true);</script>
Forum: Plugins
In reply to: [Scroll Triggered Box] 404 on style.cssHi
Thanks for noticing this. It will be permanently fixed in next version.
Forum: Plugins
In reply to: [Scroll Triggered Box] Helper js for setting completed cookieI can confirm that this works and could be particularly useful when you use some third party submission form where Scrollbox plugin does not understand natively that desired action has happened. You can call out $DGD.closeAfterSubmit of course also from some other script, like for example from some AJAX response handler function.
PS. You need to have “Close box permanently for subscribed user” checkbox checked in admin screen for this to work. Additionally you can set also time delay for auto close with setting
"Close box automatically after "Thank You" message is shown for"
.Forum: Plugins
In reply to: [Scroll Triggered Box] Scrollbox is Requiring Login when user Submits FormI guess, this is happening only for not logged in users? And if you try it and are logged in as administrator, then it is ok?