Pistacho
Forum Replies Created
-
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
In reply to: [Front End Users] Confirm Mail link brokenI’m glad to see that you can make it. ??
Forum: Plugins
In reply to: [Front End Users] Confirm Mail link brokenI 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
In reply to: [Front End Users] Confirm Mail link brokenare 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
In reply to: [Front End Users] Confirm Mail link brokenSure. 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
In reply to: [Front End Users] Confirm Mail link brokenHi.
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
In reply to: [Front End Users] email instead of usernamethanks StK I will try to figure out how to do this
Forum: Plugins
In reply to: [Front End Users] Don't Log Outit works.
Thank you
Forum: Plugins
In reply to: [Front End Users] Display form from phpIt works pefect. Thank you