• Resolved jon25b

    (@jon25b)


    Hi, we seem to have an issue of dropdowns failing to work. This first arose and was resolved more than a year ago by keeping to an older version of forminator but that is no longer working now because 2 factor authorisations were failing.

    Having investigated a little, everything now seems to work properly when forminator is the only active plugin. Unfortunately, along with some 700,000 others, we use popup maker. When that plugin is activated then the dropdowns on forminator stop working. we can find a way around this but in view of future plans would much prefer not to. Can you help? Failing resolving that conflict, can you recommend a popup plugin which will work?

    Many thanks

    Jonathan

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

Viewing 15 replies - 1 through 15 (of 16 total)
  • Plugin Support Jair – WPMU DEV Support

    (@wpmudevsupport15)

    Hi @jon25b,

    I hope you are doing well today!

    You can use our Hustle plugin for popups, slide-ins, embeds and more.
    https://ww.wp.xz.cn/plugins/wordpress-popup/
    https://wpmudev.com/docs/wpmu-dev-plugins/hustle/#creating-modules-popups-slide-ins-embeds

    Kind regards,
    Zafer

    Thread Starter jon25b

    (@jon25b)

    Hi, thanks for the quick response. I have installed hustle and this generates exactly the same problem: when the form is inserted into a popup the crucial dropdown stops working. Does this indicate that the problem is within forminator and not the popup plugins?

    I am not bothered which pop plugin we use but hope you can resolve so that at least one works.

    Thanks

    Jonathan

    Plugin Support Imran – WPMU DEV Support

    (@wpmudev-support9)

    Hello @jon25b !

    Sorry to hear you’re still experiencing this issue!

    I wanted to check the site, however it’s currently in maintenance mode and I wasn’t able to access it. Can you let us know when it becomes available or temporarily disable the maintenance mode so we can take a closer look?

    Kind regards,
    Pawel

    Thread Starter jon25b

    (@jon25b)

    We cannot make the site live because the crucial donations system is not working owing to the popup issue.

    I have made a staging copy at staging4.classicconcerts.org.uk. This is a password protected url – I will email the password, please let me know here if you do not get it since there seems to have been some issue with direct email contact. The form testing page is /forminator. This has a simplified form with just the problem dropdown and email address fields of the main forms we actually use.

    The staging site has only the security, hustle and forminator plugs enabled. If you need admin access I can provide this by email.

    Thanks

    Jonathan

    Plugin Support Laura – WPMU DEV Support

    (@wpmudev-support8)

    Hi @jon25b

    I couldn’t replicate the issue with Hustle and it shouldn’t be happening unless there’s something additional conflicting.

    With Popup Maker plugin, however, I can see that drop-downs seem like they are not working. The issue, however, is how the plugin sets z-index CSS value for popups. It’s customizable in plugin but another (I think may be better) solution is to simply add this code to the custom CSS of site

    body.forminator-hustle-dropdown-fix .forminator-select.forminator-select-dropdown-container--open {
    	z-index:19999999999!important;
    }

    Note please: this should be added to custom CSS option of your theme or via some custom CSS plugin and not to custom CSS of your popup or form. You may also need to clear all cache on site/server/in browser after adding it.

    I just tested it with a basic form (with drop-downs) and standard popup made with Popup Maker and it worked fine so give it a try, please.

    Kind regards,
    Adam

    Thread Starter jon25b

    (@jon25b)

    Interesting that you did not experience the consistency of the problem as I do. Your fix, however, seems to work for me (for both plugins). I need to check and test further to be sure that all is working correctly but hopefully the issue is now solved.

    Many thanks for your help

    Jonathan

    Thread Starter jon25b

    (@jon25b)

    Hi, I have done some further checking this morning to make trial payments rather than just looking to see if the dropdown is working. Now we seem to have a problem that neither popup plugin displays the credit card payment box. This was not a problem before but now remains even if the additional css is disabled. The issue seem to be with both plugins and remains with hustle even if popup maker is disabled.

    Can you suggest how to remedy this?

    Many thanks

    Jonathan

    Plugin Support Jair – WPMU DEV Support

    (@wpmudevsupport15)

    Hi @jon25b,

    Please perform plugin/theme conflict test on your staging site and let us know the results.

    To learn more about a plugin conflict test, please see this guide below:
    https://wpmudev.com/docs/getting-started/getting-support/#conflict-test

    Check out this handy flowchart of the troubleshooting process detailed above.
    https://wpmudev.com/wp-content/uploads/2015/09/Support-Process-Support-Process.gif

    Kind regards,
    Zafer

    Plugin Support Amin – WPMU DEV Support

    (@wpmudev-support2)

    Hello @jon25b ,

    We haven’t heard from you for some time now, so it looks like you don’t have any more questions for us.

    Feel free to re-open this ticket if needed.

    Kind regards
    Kasia

    Thread Starter jon25b

    (@jon25b)

    Hi, I thought I had replied to this but somehow must have failed to submit it before navigating away.

    I checked the plugin situation – not complicated as pretty much everything has been disabled for testing forminator. The optimizer plugin is causing some caching issue though, so I have disabled it and this is no issue.

    There is still an issue though. with popmaker it is some kind of caching issue because I can occasionally get the form working. Any suggestions as to how to solve that? Hustle 1 on the forminator page seems ok and shows the credit card details but Hustle 2 where I tried to put the full form shows nothing – but this was done in a rush and maybe I set up the details wrong because nothing displays at all.

    I am a bit snowed under just now and may not be able to look more at this until mid next week.

    Thanks for your help

    Jonathan

    Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    Hi @jon25b,

    I could notice anomalies with the popup maker plugin, I’ll make sure to bring that to our developer’s attention in order to give a closer look at what might be causing it. It seems to be related to a compatibility issue.

    Regarding the Hustle popup where you are facing the issue, please check whether the following snippet helps:

    <?php
    
    add_action( 'wp_footer', function(){
        ?>
        <script type="text/javascript">
        jQuery( document ).ready(function($){
            let _hustle = ['.module_id_15', '.module_id_16', '.module_id_17']; //Please change module ID here
            jQuery.each(_hustle, function(index, item) {
    			if ( $(item).length ) {
    				var elems = $(item).find('#stripe-1 .forminator-stripe-element');
    				if ( $( elems ).is( ':hidden' ) ) {
    					jQuery.expr.pseudos.visible = function( elems ) {
    						return true;
    					};
    				}
    			}
    		});
        });
        </script>
        <?php
    }, 9999 );

    Please make sure to edit the following section from the above code to your Hustle ID:
    '.module_id_15', '.module_id_16', '.module_id_17'

    ie suppose you have the form loaded on 3 Hustle popups with ID 32, 44, and 78 then the above line will change to:
    '.module_id_32', '.module_id_44', '.module_id_78'

    You can implement the above code as a mu-plugins. Please check this link on how to implement the above code as a mu-plugins:
    https://wpmudev.com/docs/using-wordpress/installing-wordpress-plugins/#installing-mu-plugins

    Kind Regards,
    Nithin

    Plugin Support Nebu John – WPMU DEV Support

    (@wpmudevsupport14)

    Hi @jon25b,

    For the issue with the pop-up, you may please try adding the following snippet using a mu-plugin.

    <?php 
    add_action( 'wp_footer', function(){
        ?>
        <script type="text/javascript">
        jQuery( document ).ready(function($){
            let _pmaker = ['#popmake-697']; //Please change popup ID here
            jQuery.each(_pmaker, function(index, item) {
    			if ( $(item).length ) {
    				var elems = $(item).find('#stripe-1 .forminator-stripe-element');
    				if ( $( elems ).is( ':hidden' ) ) {
    					jQuery.expr.pseudos.visible = function( elems ) {
    						return true;
    					};
    				}
    			}
    		});
        });
        </script>
        <?php
    }, 9999 );

    Please note, you need to change the popup ID at
    let _pmaker = ['#popmake-697'];
    in the code.

    Please find how to add a mu-plugin here: https://wpmudev.com/docs/using-wordpress/installing-wordpress-plugins/#installing-mu-plugins

    I hope that helps.

    Kind Regards,
    Nebu John

    Thread Starter jon25b

    (@jon25b)

    Many thanks for your help.

    I have done some further experimentation and testing.

    Nothing seems to get the popmaker popups working reliably and therefore I decided to call time on this problem and switch to hustle. So long as the css snippet for the dropdowns is enabled that seems to run fine without any need for anything else in the form of an muplugin. So we have switched to that and with all plugins active it still tests fine so we have gone live again and will monitor for any further issues.

    The one issue with hustle is that I cannot find out how to setup a css snippet to create a class to open a popup when a button is pressed and, since we have a number of buttons for the same popup, had to find the selector for each – which is likely to get tiresome later.

    The popmaker issue remains unresolved and the snippet sent in the previous message seems to crash it completely. If you would like to explore this further then now we are operational I could set up a staging site and play around with popmaker a little more if this would be useful for you – but so far as I am concerned there is no need since we now have an alternative solution which seems sustainable.

    Thanks again

    Jonathan

    Plugin Support Laura – WPMU DEV Support

    (@wpmudev-support8)

    Hi @jon25b

    Thank you for response and I’m glad to hear that Hustle is working fine for you!

    The one issue with hustle is that I cannot find out how to setup a css snippet to create a class to open a popup when a button is pressed and, since we have a number of buttons for the same popup, had to find the selector for each – which is likely to get tiresome later.

    If you have multiple buttons that you want to use as a “trigger” for the same popup, it would be best to either identify or just add the very same class name or CSS ID to them. But you can as well add multiple selectors (it can also be a mix of classes and IDs) as a “trigger” to popup too.

    They just need to be comma separated in “Behavior -> Popup Trigger -> Click -> Trigger by clicking on an existing page element(s)” option.

    One thing to be aware, though: make sure that these buttons are not used for triggering any other JS already. If they do trigger some JS, this may be conflicting.

    Kind regards,
    Adam

    Thread Starter jon25b

    (@jon25b)

    Thanks! Re the css problem, I have tried adding a css class to the buttons in the block editor and calling that via the popup behaviour but I cannot get it to work at all. If I want a class name of “popup-button” can you specify exactly the entries to make on the block editor and to add in hustle behaviour to create the popup trigger? I realise that perhaps this should be requested on the hustle thread though…

    Also, can a hustle popup be triggered from a url? Popmaker has that option which has been quite useful. I found a workaround but wondering if it is possible?

    Thanks again

    Jonathan

Viewing 15 replies - 1 through 15 (of 16 total)

The topic ‘Dropdowns not working’ is closed to new replies.