WordPress.org

Ready to get started?Download WordPress

Forums

Expire Users
[resolved] Email Notifications and Expiration Timezone (6 posts)

  1. hccdev
    Member
    Posted 1 year ago #

    Hi,

    I am trying your plugin out and when I set the time for a user's password to expire (say today at 12PM). I'm on the East Coast and my WP site is set to use New York Time. When I set the expiration date to 4/12/2013 at 12:00 and hit save, the user's password is immediately set to expire even though 12PM EST hasn't happened. What timezone is the plugin using? UTC?

    I also am not getting either an admin notification or a user notification when a user's password expires. Is that because the expire date/time has already happened? I am able to get other emails form my WP site and I am able to schedule future posts on my site using the New York time.

    http://wordpress.org/extend/plugins/expire-users/

  2. mark.whitehead
    Member
    Posted 10 months ago #

    Hi,

    Same issue over here.

    The plugin appears to use standard PHP time() functions instead of the WP current_time() function so it will always expire users on the UTC+0 timezone instead of the local time set on the blog site itself.

    Ref:
    http://codex.wordpress.org/Function_Reference/current_time

    Any chance for a quick fix??

  3. songiuno
    Member
    Posted 3 months ago #

    I, too, am having these issues. Has there not been a fix yet? I was trying to test the user/admin notification emails and have had to set it for a day ahead instead of a few minutes ahead of expiration because the expiration date does not use my local server's timezone.

  4. Ben Huson
    Member
    Plugin Author

    Posted 3 months ago #

    Sorry, I completely missed this thread.

    Please download and try this version of the plugin which uses the WordPress current_time() function.

    Please let me know if this fixes the issue for you.

    Ben

  5. Ralf Weber
    Member
    Posted 3 months ago #

    Hi Ben,

    you have a cool plugin, which is exact what i am searching for.

    I fixed the time() problem for my own, but i also changed the output from the timestamp strings as followed:
    'M d, Y' => get_option( 'date_format' )
    'H:i' => get_option( 'time_format' )
    'M d, Y @ H:i' => get_option( 'date_format' ).' @ '.get_option( 'time_format' )

    Can you change this in your source too, and put it into the WP repository?

    Ralf

  6. Ben Huson
    Member
    Plugin Author

    Posted 3 months ago #

    The timezone issue should be fixed now in version 0.7
    Please post a new thread if you continue to have issues with that version.

    @Ralf
    I have added the date format into the latest version 0.7 too

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic