Home › Forums › WoodMart support forum › Social login and GDPR checkbox
Social login and GDPR checkbox
- This topic has 4 replies, 3 voices, and was last updated 3 years, 8 months ago by pierredemeudon.
-
AuthorPosts
-
January 17, 2021 at 6:03 pm #259175
roadlinkParticipantHello,
We have learned that woodmart theme doesn’t push customers to click privacy agreement for social media logins.
There is and old topic here, but we couldn’t find the reply.
https://xtemos.com/forums/topic/social-login-and-gdpr/#new-postAny info?
January 18, 2021 at 9:26 am #259284
Artem TemosKeymasterHello,
First of all, we want to say that we can’t provide you with legal advice regarding GRPR compliance.
By default, WordPress and WooCommerce are GDPR-ready and since our theme doesn’t have any custom user data processing, and uses WordPress registration process we can rely on their features for this. And since they don’t use any checkbox for the registration page at all, we didn’t add it to our social login addon as well. They have a text message right before the registration button warning users about the data storage. https://prnt.sc/x44qgp
If you need, we can copy the same text and place it right before Facebook and Google login buttons.Kind Regards
January 19, 2021 at 5:38 am #259561
roadlinkParticipantSure, If you can help to add here, I would be perfect
https://prnt.sc/x6qmosJanuary 19, 2021 at 7:39 am #259605
Artem TemosKeymasterTry to add the following PHP code snippet to the child theme functions.php file to do this
function woodmart_login_form( $echo = true, $action = false, $message = false, $hidden = false, $redirect = false ) { $vk_app_id = woodmart_get_opt( 'vk_app_id' ); $vk_app_secret = woodmart_get_opt( 'vk_app_secret' ); $fb_app_id = woodmart_get_opt( 'fb_app_id' ); $fb_app_secret = woodmart_get_opt( 'fb_app_secret' ); $goo_app_id = woodmart_get_opt( 'goo_app_id' ); $goo_app_secret = woodmart_get_opt( 'goo_app_secret' ); $style = woodmart_get_opt( 'alt_social_login_btns_style' ) ? 'woodmart-social-alt-style' : ''; ob_start(); ?> <form method="post" class="login woocommerce-form woocommerce-form-login <?php if ( $hidden ) echo 'hidden-form'; ?>" <?php echo ( ! empty( $action ) ) ? 'action="' . esc_url( $action ) . '"' : ''; ?> <?php if ( $hidden ) echo 'style="display:none;"'; ?>> <?php do_action( 'woocommerce_login_form_start' ); ?> <?php echo true == $message ? wpautop( wptexturize( $message ) ) : ''; ?> <p class="woocommerce-FormRow woocommerce-FormRow--wide form-row form-row-wide form-row-username"> <label for="username"><?php esc_html_e( 'Username or email', 'woocommerce' ); ?> <span class="required">*</span></label> <input type="text" class="woocommerce-Input woocommerce-Input--text input-text" name="username" id="username" autocomplete="username" value="<?php if ( ! empty( $_POST['username'] ) ) echo esc_attr( $_POST['username'] ); ?>" /> </p> <p class="woocommerce-FormRow woocommerce-FormRow--wide form-row form-row-wide form-row-password"> <label for="password"><?php esc_html_e( 'Password', 'woodmart' ); ?> <span class="required">*</span></label> <input class="woocommerce-Input woocommerce-Input--text input-text" type="password" name="password" id="password" autocomplete="current-password" /> </p> <?php do_action( 'woocommerce_login_form' ); ?> <p class="form-row"> <?php wp_nonce_field( 'woocommerce-login', 'woocommerce-login-nonce' ); ?> <?php if ( $redirect ): ?> <input type="hidden" name="redirect" value="<?php echo esc_url( $redirect ); ?>" /> <?php endif ?> <button type="submit" class="button woocommerce-button woocommerce-form-login__submit" name="login" value="<?php esc_attr_e( 'Log in', 'woodmart' ); ?>"><?php esc_html_e( 'Log in', 'woodmart' ); ?></button> </p> <div class="login-form-footer"> <a href="<?php echo esc_url( wp_lostpassword_url() ); ?>" class="woocommerce-LostPassword lost_password"><?php esc_html_e( 'Lost your password?', 'woodmart' ); ?></a> <label class="woocommerce-form__label woocommerce-form__label-for-checkbox woocommerce-form-login__rememberme"> <input class="woocommerce-form__input woocommerce-form__input-checkbox" name="rememberme" type="checkbox" value="forever" /> <span><?php esc_html_e( 'Remember me', 'woodmart' ); ?></span> </label> </div> <?php wc_registration_privacy_policy_text(); ?> <?php if ( class_exists( 'WOODMART_Auth' ) && ( ( ! empty( $fb_app_id ) && ! empty( $fb_app_secret ) ) || ( ! empty( $goo_app_id ) && ! empty( $goo_app_secret ) ) || ( ! empty( $vk_app_id ) && ! empty( $vk_app_secret ) ) ) ): ?> <span class="social-login-title wood-login-divider"><?php esc_html_e('Or login with', 'woodmart'); ?></span> <div class="woodmart-social-login <?php echo esc_attr( $style ); ?>"> <?php if ( ! empty( $fb_app_id ) && ! empty( $fb_app_secret ) ): ?> <div class="social-login-btn"> <a href="<?php echo add_query_arg('social_auth', 'facebook', wc_get_page_permalink('myaccount')); ?>" class="login-fb-link"><?php esc_html_e( 'Facebook', 'woodmart' ); ?></a> </div> <?php endif ?> <?php if ( ! empty( $goo_app_id ) && ! empty( $goo_app_secret ) ): ?> <div class="social-login-btn"> <a href="<?php echo add_query_arg('social_auth', 'google', wc_get_page_permalink('myaccount')); ?>" class="login-goo-link"><?php esc_html_e( 'Google', 'woodmart' ); ?></a> </div> <?php endif ?> <?php if ( ! empty( $vk_app_id ) && ! empty( $vk_app_secret ) ): ?> <div class="social-login-btn"> <a href="<?php echo add_query_arg('social_auth', 'vkontakte', wc_get_page_permalink('myaccount')); ?>" class="login-vk-link"><?php esc_html_e( 'VKontakte', 'woodmart' ); ?></a> </div> <?php endif ?> </div> <?php endif ?> <?php do_action( 'woocommerce_login_form_end' ); ?> </form> <?php if( $echo ) { echo ob_get_clean(); } else { return ob_get_clean(); } }
April 12, 2021 at 2:14 pm #281977
pierredemeudonParticipantHi,
Till Woodmart theme and / or your execution of Woodlmart requires your visitors to download fonts from Google or Adobe fonts, you are not GDPR compliant. There is a lot of litterature on that. If you’d like to be on safest side, fonts shall be local
Kind regards -
AuthorPosts
- You must be logged in to create new topics. Login / Register