WordPress.org

Ready to get started?Download WordPress

Forums

Pie Register
[resolved] Grace Period Not Working! (4 posts)

  1. Stergos
    Member
    Posted 1 year ago #

    Hi, I have set Grace Period to 1 Day but is not working. If I do not delete manually the unregistered users they are still there... Anyone else face this problem? Thanks in advance!

    http://wordpress.org/extend/plugins/pie-register/

  2. allanit
    Member
    Posted 8 months ago #

    Did you ever find a solution to this problem?

  3. Genetech Solutions
    Member
    Plugin Author

    Posted 8 months ago #

    Hi,

    This is a quick fix for this problem, please note: you must be familiar editing PHP code before doing so.

    #1
    Go to line #689 where it reads:
    $update["email_delete_grace"] = $this->disable_magic_quotes_gpc($_POST['piereg_email_delete_grace']);

    Replace it with
    $update["email_delete_grace"] = intval($_POST['piereg_email_delete_grace']);

    #2

    Go to line #2310 where it reads:
    $grace_date = date('Ymd', strtotime("-7 days"));

    Replace it with:
    $grace_date = date('Ymd', strtotime("-{$grace} days"));

    Hope it helps.

    Thanks

  4. allanit
    Member
    Posted 8 months ago #

    Hi Genetech Solutions

    Thanks that worked perfectly.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic