Support » Plugin: Launchpad - Coming Soon & Maintenance Mode Plugin » Launchpad not launching automatically

Viewing 8 replies - 1 through 8 (of 8 total)
  • Update from my side: This is most likely related to timezones/server time.

    The site unlocks but 2 hours too late.

    Plugin Author obox

    (@obox)

    Hey Jack,

    Thanks for the update. I’ll mark this as resolved but I want to add for anyone else who sees this forum that it’s possible that if you have a caching plugin installed, the Launchpad holding page can be cached, so you need to be certain that you’ve cleared the cache for the auto launch to work.

    ~ Marc

    Hi Marc,

    It wasn’t the caching, I didn’t get the full problem but I solved it by adding 2 hours to your timer in your php file. I’m located in Vienna and have UTC +2.

    vibhorv

    (@vibhorv)

    Hi Jackfelix,

    Can you kindly provide more information on, where did you actually changed the time in plugin file which fixed the issue for you?

    Thanks!

    I’m interested in a solution for this problem, too! My site unlocks, but two hours late. I’m located in Germany.

    Hi catnasebaer,

    Kindly edit the below code to get the desired result:

    The file where code needs to be edited is under plugins: \launchpad-by-obox\functions\class.php

    Search for the word ‘automatic’ over there; you will get the below line:

    elseif(isset($options["automatic_launch"]) && isset($options["launchdate"]) && strtotime($options["launchdate"]) < time())

    Here kindly add your timezone difference in seconds; for Germany 2 hours difference will be 7200 seconds; so for you the code will be:

    elseif(isset($options["automatic_launch"]) && isset($options["launchdate"]) && strtotime($options["launchdate"]) < time()+7200)

    This should work! 🙂

    Hi vibhorv, your code works! Thank you for your help!

    Cheers! 🙂

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Launchpad not launching automatically’ is closed to new replies.