• Resolved jannnnnneke

    (@jannnnnneke)


    Is it possible that the popup will only open automatically the first time, and after that you have to open it with the button? Now if you visit 4 pages, the popup is opening 4 times even if you close it. Hope you can help, thanks!

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author vaakash

    (@vaakash)

    Hi @jannnnnneke,

    Thanks for using UFW. Right now there is no option to show the widgetbox only once out of the box. But you can try two things.

    1. Set initial state = “Opened” and Trigger -> “Save state” to “yes”. This will retain the state when the widget box is closed. This will still open the box in all pages when it is not closed explicitly. You can also try setting Close -> “after specific time” to close the box automatically.
    2. Upgrade to the PRO version and there is an option to hide widget box based on no of visits – https://www.aakashweb.com/docs/ultimate-floating-widgets/pro/visitor-conditions/#14-number-of-times-an-user-has-visited-the-site

    I would suggest #1 and sure that will solve your requirement.

    Let me know how it goes.

    Thanks,

    Aakash

    Thread Starter jannnnnneke

    (@jannnnnneke)

    Thanks! I’ve tried option 1, but when I close it and go to another page it is still showing. I’m only using the button, not automatically open on scroll. I tried closing it with the round button and with the icon button. Is that right? Am I forgetting something?

    Thread Starter jannnnnneke

    (@jannnnnneke)

    I’ve set the closing option now at 5 seconds, but nothing happens. Not when I scroll and not when I do nothing for 5 seconds. Its always open. Any idea?

    Plugin Author vaakash

    (@vaakash)

    Hi @jannnnnneke,

    Could you please share the page URL where the popup is present? Could be page is cached and you were vieweing old settings?

    I’ll check and get back to you.

    Thanks,

    Aakash

    Thread Starter jannnnnneke

    (@jannnnnneke)

    Hi Aakash, thanks. See bit.ly/4aBX2ce

    I dont know if its cache, but I tried incognito screen. Curious how you see the page, thanks!

    Plugin Author vaakash

    (@vaakash)

    Hi @jannnnnneke,

    Couple of things,

    1. The popup automatically closes after 5 secs when user moves mouse over widget box and leaves it. (There seems to be a bug in auto close on page load) I’ll fix in next version.
    2. I see that the “Save state” option is not set to yes. Can you please set it and see if the open/close state is retained?

    Thansk,

    Aakash

    Thread Starter jannnnnneke

    (@jannnnnneke)

    Hi Aakash,

    Thanks for checking and fixing it in next version. I do have save state set to yes already.. so maybe there is a bug in it? I will share screenshot in next reply

    Thread Starter jannnnnneke

    (@jannnnnneke)

    Does this work? https://ibb.co/L8khtrr

    Plugin Author vaakash

    (@vaakash)

    Hi @jannnnnneke,

    I just checked the code, seems like there is another bug where when save state is set to “0”, then the value is not effected.

    Can you please make this small change in code?

    1. Plugins -> plugin editor
    2. Choose ultimate-floating-widgets/includes/display.php
    3. At line no. 105, change
    if( $save_state == 'yes' && $save_state_duration != '' ){

    to this

    if( $save_state == 'yes' ){

    Save the file.

    The widget box should save state now.

    I have added both these issues to my todo list. I’ll address them in next version. For now I hope these suggestions will solve your requirement.

    Thanks,

    Aakash

    Thread Starter jannnnnneke

    (@jannnnnneke)

    Ah I’ve set the days to 1 day now and then it works! So that is perfect! Thank you so much!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Open popup automatically one time’ is closed to new replies.