Title: Pistacho's Replies | WordPress.org

---

# Pistacho

  [  ](https://wordpress.org/support/users/pistacho/)

 *   [Profile](https://wordpress.org/support/users/pistacho/)
 *   [Topics Started](https://wordpress.org/support/users/pistacho/topics/)
 *   [Replies Created](https://wordpress.org/support/users/pistacho/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/pistacho/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/pistacho/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/pistacho/engagements/)
 *   [Favorites](https://wordpress.org/support/users/pistacho/favorites/)

 Search replies:

## Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce Email Validation] Says “Email addresses do not match” When they do!](https://wordpress.org/support/topic/says-email-addresses-do-not-match-when-they-do/)
 *  [Pistacho](https://wordpress.org/support/users/pistacho/)
 * (@pistacho)
 * [9 years ago](https://wordpress.org/support/topic/says-email-addresses-do-not-match-when-they-do/#post-9034605)
 * I’m not sure if you have the same problem as I do, but I notice that the script
   is called twice, but in the second way the fields are not set. So with a small
   fix in the /classes/class-woocommerce-email-validation.php file.
 * `if (( strtolower( $confirm_email ) != strtolower( $billing_email ) ) && (isset(
   $confirm_email)) && (isset($billing_email)) )`
 * on the line 73 we check if the fields are set and then proceed to verify the 
   email.
 * I hope this info is helpful
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Front End Users] Confirm Mail link broken](https://wordpress.org/support/topic/confirm-mail-link-broken/)
 *  Thread Starter [Pistacho](https://wordpress.org/support/users/pistacho/)
 * (@pistacho)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/confirm-mail-link-broken/#post-5680502)
 * I’m glad to see that you can make it. 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Front End Users] Confirm Mail link broken](https://wordpress.org/support/topic/confirm-mail-link-broken/)
 *  Thread Starter [Pistacho](https://wordpress.org/support/users/pistacho/)
 * (@pistacho)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/confirm-mail-link-broken/#post-5680499)
 * I suggest that verify on the db the confirmation code.
 * When I changed this
 * $wpdb->query($wpdb->prepare(“UPDATE $ewd_feup_user_table_name SET User_Confirmation_Code
   ='”.$ConfirmationCode.”‘ WHERE User_ID = “.$User_ID));
 * was because when it create a new user changed all the confirmation codes, but
   with that line it only change the user that is created. Also another problem 
   is the one I told you before that the confirmation code doesn’t store correctly
   sometimes. If this is the case we are on the same issue
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Front End Users] Confirm Mail link broken](https://wordpress.org/support/topic/confirm-mail-link-broken/)
 *  Thread Starter [Pistacho](https://wordpress.org/support/users/pistacho/)
 * (@pistacho)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/confirm-mail-link-broken/#post-5680497)
 * are you sending the confirmation link to a page where you call the register form
   right?
 * For example
 * mydomain.com/register?/?User_ID=…&ConfirmationCode=…
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Front End Users] Confirm Mail link broken](https://wordpress.org/support/topic/confirm-mail-link-broken/)
 *  Thread Starter [Pistacho](https://wordpress.org/support/users/pistacho/)
 * (@pistacho)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/confirm-mail-link-broken/#post-5680495)
 * Sure. I made few changes. first of all on Prepare_Data_For_Insertion.php look
   for EWD_FEUP_Send_Email and there is a conditional which check if you want to
   use the confirmation link. The first change was to change the random string size
   to 5 because for some reason it didn’t work with 10.
 * $ConfirmationCode = EWD_FEUP_RandomString(5);
 * Then change the query to.
 * $wpdb->query($wpdb->prepare(“UPDATE $ewd_feup_user_table_name SET User_Confirmation_Code
   ='”.$ConfirmationCode.”‘ WHERE User_ID = “.$User_ID));
 * So the confirmation code will only update to the user that is sign up.
 * This works to me. The only problem that sometimes I have is that the DB sometimes
   don’t register the confirmation code correctly. So if someone could find why 
   and help me to fix it I would be very thankful
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Front End Users] Confirm Mail link broken](https://wordpress.org/support/topic/confirm-mail-link-broken/)
 *  Thread Starter [Pistacho](https://wordpress.org/support/users/pistacho/)
 * (@pistacho)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/confirm-mail-link-broken/#post-5680445)
 * Hi.
 * I was looking in the sources files. I find that the problem was on the prepare_for_data_insertion
   file on the EWD_FEUP_Send_Email function.
 * I made some modifications and it seem to work fine now, I hope this post help
   you to improve the plugin because is a really usefull and great plugin.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Front End Users] email instead of username](https://wordpress.org/support/topic/email-instead-of-username/)
 *  Thread Starter [Pistacho](https://wordpress.org/support/users/pistacho/)
 * (@pistacho)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/email-instead-of-username/#post-5515295)
 * thanks StK I will try to figure out how to do this
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Front End Users] Don't Log Out](https://wordpress.org/support/topic/dont-log-out/)
 *  Thread Starter [Pistacho](https://wordpress.org/support/users/pistacho/)
 * (@pistacho)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/dont-log-out/#post-5513887)
 * it works.
 * Thank you
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Front End Users] Display form from php](https://wordpress.org/support/topic/display-form-from-php/)
 *  Thread Starter [Pistacho](https://wordpress.org/support/users/pistacho/)
 * (@pistacho)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/display-form-from-php/#post-5425852)
 * It works pefect. Thank you

Viewing 9 replies - 1 through 9 (of 9 total)