Clock disappears at 5 hours ahead of countdown time

Support Forums Verde – WP Plugin Clock disappears at 5 hours ahead of countdown time

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #3986
    ShoutCloud
    Participant

    I purchased your plugin for a launch party tonight. And your plugin countdown clock disappears when you get within 5 hours of the countdown time. What is wrong that it is doing that?

    By the time you read this, my event will be over and done with. I am very disappointed that this didn’t work properly.

    #3988
    CreaboxThemes
    Keymaster

    Hi ShoutCloud,

    I so sorry that you are disappointed with the plugin. I have checked it and it works fine. I have set the countdown to 2, 3, 5 and 6 hours and the countdown works fine. I don’t know what happened.

    Regards

    #3990
    ShoutCloud
    Participant

    Okay… I figured it out.

    My server’s real time was actually 5 hours ahead of my wordpress time. I went into your code and made this change in order for it to work again:

    /themes/theme_functions.php

    //$today = date('Y-m-d h:i:s a');
    $now = date('Y-m-d H:i:s a', strtotime("-5 hours"));
    if (strtotime($date) > strtotime($now)){
    //if (strtotime($date) > strtotime($today)){

    I definitely think that you should make this a setting inside of your admin for users that wouldn’t know how to do this. I also think that you should inspect the server time and compare it to the wordpress time and automatically adjust that admin setting for your user.

    Because I figured this out myself, my event was great. Please strongly consider incorporating this into your next release.

    Thanks…

    #3992
    CreaboxThemes
    Keymaster

    Hi,

    thanks for the information. I will added it in the next update.

    Regards

    #3997
    ShoutCloud
    Participant

    Thank you

    #4016
    CreaboxThemes
    Keymaster

    You’re welcome 😉

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.