• 1) Unable to activate for Contact Form 7 Forms – that’s a new one…
    2) WooCommerce orders ALWAYS show present day as Privacy Policy acceptance date, instead of when it was ACTUALLY accepted (on the time of ordering) – this one is here for ages

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter Kramarz

    (@kramarz)

    Even if you add shortcodes to contact form 7 manually… all you get in email is:

    GDPR accepted on:
    Not accepted.
    Thread Starter Kramarz

    (@kramarz)

    Anyone knows a plugin that could replace this one, please?

    Thread Starter Kramarz

    (@kramarz)

    2.0.13 still doesn’t work.

    Thread Starter Kramarz

    (@kramarz)

    2.0.14 still doesn’t work.

    To fix GDPR Not accepted in CF7 Form:

    File: wp-content/plugins/wp-gdpr-compliance/Integrations/Plugins/ContactForm.php
    Line: 426

    Replace ” === 1 ” with ” == 1 ” (or with ” === ‘1’ “)

    Thread Starter Kramarz

    (@kramarz)

    Thanks for that fix @carminericco. Hope it will get implemented with next plugin update…

    Issue 2) still remains though… WooCommerce orders showing current date and time instead of when the order was made / privacy accepted.

    To fix issue 2), please try this solution while waiting for a permanent solution from the author:

    In file: wp-content/plugins/wp-gdpr-compliance/Integrations/Plugins/WooCommerce.php

    1) For date in Order list:

    Line: 224

    Replace
    ” $value = $this->getAcceptedDate( ! empty( $date ) ); ”
    with
    ” $value = Time::localDateFormat( get_option( ‘date_format’ ) . ‘ ‘ . get_option( ‘time_format’ ), $date ); ”

    2) For date in Order detail:

    Line: 206

    Replace
    ” $value = $this->getAcceptedDate( ! empty( $date ) ); ”
    with
    ” $value = Time::localDateFormat( get_option( ‘date_format’ ) . ‘ ‘ . get_option( ‘time_format’ ), $date ); ”

    3)

    After Line 7:

    Add
    ” use WPGDPRC\Utils\Time; ”

    Thread Starter Kramarz

    (@kramarz)

    Damn… You’re a LEGEND @carminericco. Thanks for taking your time to fix this ??

    Well, let’s hope the author takes your fixes into account in next (asap) release!

    P.S.
    Just one thing, if you could put those snippets as ‘code’, otherwise when people copy it, apostrophes are incorrect type of character, and that may not work for them. Cheers!

    • This reply was modified 2 years, 6 months ago by Kramarz.
    • This reply was modified 2 years, 6 months ago by Kramarz.

    Obviously this is a quick workaround, not a permanent solution which we hope will come soon… Hope it helps

    In file: wp-content/plugins/wp-gdpr-compliance/Integrations/Plugins/WooCommerce.php

    1) For date in Order list:

    Line: 224

    Replace
    $value = $this->getAcceptedDate( ! empty( $date ) );
    with
    $value = Time::localDateFormat( get_option( ‘date_format’ ) . ‘ ‘ . get_option( ‘time_format’ ), $date );

    2) For date in Order detail:

    Line: 206

    Replace
    $value = $this->getAcceptedDate( ! empty( $date ) );
    with
    $value = Time::localDateFormat( get_option( ‘date_format’ ) . ‘ ‘ . get_option( ‘time_format’ ), $date );

    3)

    After Line 7:

    Add
    use WPGDPRC\Utils\Time;

    Thread Starter Kramarz

    (@kramarz)

    Come on guys… can we get an update with the above fixes implemented, please?

    [ Please do not bump. ]

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Does Not Work Anymore’ is closed to new replies.