• Hello there,

    I wanna request a feature / setting in which we can update our timezone or could match the time zone of WordPress. Because this plugin’s time zone and wordpress time zones are always different.

    Thank you

Viewing 8 replies - 1 through 8 (of 8 total)
  • Yes, I have the problem right now. Unfortunately the plugin does not take over the wp local time and there is no possibility to set a time.

    Thanks for help!

    For me too!

    futurebreeze

    (@futurebreeze)

    I solved this problem by adding into email-posts-to-subscribers.php file the line:
    date_default_timezone_set('Europe/Bucharest') # you must change it accordingly to your local time under the first line:
    if(preg_match('#' . basename(__FILE__) . '#', $_SERVER['PHP_SELF'])) { die('You are not allowed to call this page directly.'); }

    rainerb

    (@rainerb)

    Thanks, but when I added

    date_default_timezone_set(‘Europe/Berlin’) #

    Error: critical issue, page down.

    (actual wp version)

    futurebreeze

    (@futurebreeze)

    You’ve probably forgot to put the semicolon at the end of the line. Sorry I’ve ommited this. The complete line is:
    date_default_timezone_set(‘Europe/Berlin’);

    rainerb

    (@rainerb)

    ok. now without error. (I con not program only copy :-))

    But under Mail configuration –>Your server current Date and Time: ….
    still the universal time instead of the local time. ??

    I first overwrote the file via ftp and then logged in at wp.

    • This reply was modified 4 years ago by rainerb.

    I put that line as described and under

    Options -> Cron details ->

    immediately before the text

    How to setup auto emails?

    there is the “Current Date:” label with the right date and time.
    Anyway, I own the web server so I have all the administrative rights, including setting the local time and date on that machine. You should check the local time and date on your webserver, accessing SSH would be a way for this. If you do not know how or you don’t have access this would be a second way:
    – create an empty .php file on your server
    – put these lines in it:

    <?php
    echo date("d.m.Y h:i:sa");
    ?>

    – access this file in browser (eg.

    https://yourserver/yourfile.php

    )
    – this should show the date and time as they are set on your server
    If the date is different then add the directive I posted earlier add your code should be like:

    <?php
    date_default_timezone_set('Europe/Berlin');
    echo date("d.m.Y h:i:sa");
    ?>

    If nothing changes, then your server is configured not to accept PHP directives.

    • This reply was modified 3 years, 12 months ago by futurebreeze.
    • This reply was modified 3 years, 12 months ago by futurebreeze.
    • This reply was modified 3 years, 12 months ago by futurebreeze.

    Thanks for your tips!
    The server time is correct. That was actually logical, because wp shows the exact local time. But the plugin shows the current time with one hour difference.
    The problem must be the plugin… Is there a relevant file in the plugin?

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Need Timezone setting’ is closed to new replies.