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

  1. hccdev
    Posted 3 years ago #


    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.


  2. mark.whitehead
    Posted 2 years ago #


    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.


    Any chance for a quick fix??

  3. songiuno
    Posted 2 years 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
    Plugin Author

    Posted 2 years 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.


  5. Ralf Weber
    Posted 2 years 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?


  6. Ben Huson
    Plugin Author

    Posted 2 years 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.

    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

  • Expire Users
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic