• Resolved WilliamH19

    (@williamh19)


    I installed Popup Maker, but it doesn’t work on my localhost. Tried it on my other WordPress website (online) and it worked perfectly fine. How can I solve this problem, I really need to first build this website offline for a client, but he want to see the popup before the release of the website. As there a solution?

    You made a great plugin by the way!!

    https://ww.wp.xz.cn/plugins/popup-maker/

Viewing 15 replies - 1 through 15 (of 28 total)
  • Plugin Author Daniel Iser

    (@danieliser)

    @williamh19 – Hmm ok, so when you say its not working, can you elaborate? Are you able to create popups and change themes ok? If thats all working fine and you just can’t get one to display, check your browsers console for Javascript errors. Report any you see here and we can go from there.

    Another option may be to make your local environment publicly available via IP for testing only.

    Thread Starter WilliamH19

    (@williamh19)

    Sure, the problem is that I can set everything in the setting, add a new popup etc. I can even see a example, but when I set it On Entire Site and I view the site, nothing shows up!
    Also when I link it to a button it doesn’t work.

    I get this error;

    Consider using ‘dppx’ units, as in CSS ‘dpi’ means dots-per-CSS-inch, not dots-per-physical-inch, so does not correspond to the actual ‘dpi’ of a screen. In media query expression: only screen and (-webkit-min-device-pixel-ratio: 2), not all, not all, not all, only screen and (min-resolution: 210dpi)
    (index):1 Consider using ‘dppx’ units, as in CSS ‘dpi’ means dots-per-CSS-inch, not dots-per-physical-inch, so does not correspond to the actual ‘dpi’ of a screen. In media query expression: only screen and (-webkit-min-device-pixel-ratio: 1.5), not all, not all, not all, only screen and (min-resolution: 160dpi)

    I don’t know if it has anything to do with this!?

    Plugin Author Daniel Iser

    (@danieliser)

    @williamh19 – Try the same test in firefox with the Firebug addon. Its console is much better at finding JS errors.

    That said also try testing the popup with super high z-index values available under the Display Settings section. Some themes use extrememly high values here causing the popup to appear behind the theme itself.

    Change them to something much higher than 999 and 998 and see if that fixes it.

    Thread Starter WilliamH19

    (@williamh19)

    Thanx a lot man! The display settings did it!!

    Plugin Author Daniel Iser

    (@danieliser)

    @williamh19 – Awesome, glad you got it working. Typically themes shouldn’t use z-index over 100, which is why we set defaults to 999. But it happens.

    Please take a moment to rate and review the plugin and or support.

    Thread Starter WilliamH19

    (@williamh19)

    Sorry, but I have one more problem!

    The pop-up works perfectly fine, until I logout of my wp-admin and view the site, from that point the popup doesn’t appear any more!

    Any suggestion what the problem could be?

    Plugin Author Daniel Iser

    (@danieliser)

    @williamh19 – Likley you have enabled Admin Debug, but not Auto Open. Both work similar but Admin Debug only works for logged in admin users.

    Thread Starter WilliamH19

    (@williamh19)

    I tried that already, it didn’t work!

    Could it have to do anything with cookies, I can’t uncheck Sitwide Cookie?

    I use also Visual Composer, maybe that blocks something? Tried to disactivate the plugin but it doesn’t make any difference.

    Plugin Author Daniel Iser

    (@danieliser)

    If its working when logged in its likely not a conflict. Have you tried clearing your browsers cookies for the site? Do you have a link?

    Thread Starter WilliamH19

    (@williamh19)

    I did and now the popup works fine.

    But how do I prevent this in de future from happening, that if someone visite the site once, he sees the popup the next time again?

    Plugin Author Daniel Iser

    (@danieliser)

    @williamh19 – Do you want it to show up every time the page is loaded? If so you need to disable the cookie trigger on Auto Open settings. The cookie is used to prevent it from opening every time annoying users.

    Thread Starter WilliamH19

    (@williamh19)

    No, as a matter of fact I want to show it up only when someone clicks one of my menu item’s. So not automatically but only when someone press my menu item!

    I work now with CSS classes to link my menu item to my popup, is that the best way?

    Plugin Author Daniel Iser

    (@danieliser)

    @williamh19 – Correct. Sounds like you got it figured out. There are no reasons for it to stop working now unless another plugin or theme causes a JS error sometime in the future. But that is out of our control 🙂

    Thread Starter WilliamH19

    (@williamh19)

    Almost!

    The last thing is that I want to let the popup only open when people click my menu button (not automatically), that doesn’t work when I uncheck automatically open.

    How do I get that working? That it only opens when I click my menu item?

    Plugin Author Daniel Iser

    (@danieliser)

    @williamh19 – That should be working by default. As long as the popup is set to load on the entire site under Targeting Conditions. If the popup is loaded click function is the most basic and always on for any loaded popup. Unlike Auto Open which has to be specifically enabled.

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

The topic ‘Pop up doesn't work on localhost’ is closed to new replies.