• Resolved FROM_ROB

    (@from_rob)


    Hi Jason,

    Your plugin is really great!
    It’s exactly what I have been looking for and has been an enormous help to me, so thank you for taking the time to build it and release it for free.

    I have two minor adjustments that I would like your help with if possible, both are related to the messages that are displayed when a person is signing up.

    Are you able to please let me know the best way to edit the message that appears when an email address is already signed up?

    At the moment the message that appears is:
    “example@email.com is already subscribed to list Example. Click here to update your profile.”

    I would like it to display:
    “This email address is already subscribed.”

    and in a similar circumstance, when no email is added it displays:
    “Invalid Email Address:”

    Is it possible to replace the colon with a full stop to say:
    “Invalid Email Address.”

    Would would be the best way to achieve this by editing some of the plugin files?

    Thank you kindly, your help is greatly appreciated,
    Robert

    https://wordpress.org/plugins/mailchimp-sign-up/

Viewing 1 replies (of 1 total)
  • Plugin Author WPTrashPanda

    (@jprescher)

    The error messages are the default messages from the mailchimp server. You would need to update the main mc-signup.php file around line 64 and detect the error code. You can reference them here – User Related Errors

    Then write a php statement like:

    <?
    if ($data->error == 108){
    echo 'This email address is already subscribed.';
    }
    ?>

Viewing 1 replies (of 1 total)
  • The topic ‘Error messages’ is closed to new replies.