Wrong success message
-
Hi,
the plugin works wonders with bi-lingual websites and WPML. Thank you.I have however found what I think is a little bug.
The success messsage should read:
“Thank you for subscribing! Check your email for the confirmation message.”However mine was getting truncated to “Thank you for subscribing!”
I have checked the files and I found it in two places, I have fixed my local , but I thought to let you know.
FILE: process_form_submission.php
LINE: 272$default_success_response = ( 1 === $form_settings['optin_settings']['optin'] ) ? __( 'Thank you for subscribing! Check your email for the confirmation message.' , 'yikes-inc-easy-mailchimp-extender' ) : __( 'Thank you for subscribing!' , 'yikes-inc-easy-mailchimp-extender' );FILE: process_form_submission_ajax.php
LINE: 287$default_success_response = ( 1 === $optin_settings['optin'] ) ? __( "Thank you for subscribing! Check your email for the confirmation message." , 'yikes-inc-easy-mailchimp-extender' ) : __( "Thank you for subscribing!" , 'yikes-inc-easy-mailchimp-extender' );My PHP is quite rusty to say the least, but it seems that the plug in is going for the second part.
Ciao
V.
https://ww.wp.xz.cn/plugins/yikes-inc-easy-mailchimp-extender/
-
Hi Valentina Giorcelli,
Do you have the double optin setting set to single or double?
When the optin setting is set to single, the message should be:
“Thank you for subscribing!”
If it is set to double, you will then see the ‘Check your email for the confirmation.” text appended to the notice.
“Thank you for subscribing! Check your email for the confirmation message.”
This is intentional, since single optin doesn’t require any additional action to be made by the user. Double optin does require them to confirm the email address entered into the form.
Here is an article from our documentation about what I am referencing:
https://yikesplugins.com/support/knowledge-base/opt-in-settings/Thanks!
EvanHi Evan,
thank you for your answer.
I have double opt-in selected for both my forms.
Can you revert the changes that you’ve made to the code base and provide us with a link to test the form?
Thanks,
Evan‘Morning Evan,
I have reverted the changes to the files and removed the custom message.
Now it is all back to the original form.You can test it here:
On the english page. The Italian page still has the customized message in, let me know if you need me to remove that as well.
Also here you can test the problem with the system not sending the “upgrade” email. For this I am going to update the other ticket as well.
Ciao
V.
Hi Valentina,
I can’t reproduce the issue on my end. The error messages seem to return properly based on the opt-in setting that I have.
I tested your form, and see that things are set to double optin, but the message I receive is still ‘Thank you for subscribing!’.
Maybe WPML, another plugin or your theme is causing some sort of conflict and is returning the wrong message?
Thanks,
EvanOK
Oh well an easy fix, however still a bit of a pain
Thanx anyway
V.
The topic ‘Wrong success message’ is closed to new replies.