Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Evan Herman

    (@eherman24)

    Hi IceTurtle4,

    At the moment this can’t be changed from within the plugin. You’ll need to alter a core plugin file to change the text, but your changes will be overwritten on the next update.

    Evan

    Thread Starter IceTurtle4

    (@iceturtle4)

    Would it be possible to tell me which file it would be in? I understand it would change with an update, but I’d love to know the quick fix.

    Plugin Author Evan Herman

    (@eherman24)

    Hi Iceturtle4,

    I am actually just working on a path to release version 5.1, which will have a new filter to allow you to alter the message with a small function.

    Stay tuned! I’ll have it ready in a little while.

    Evan

    Plugin Author Evan Herman

    (@eherman24)

    Ok, I just pushed out a new release (v5.1) which has a custom filter added in to allow you to customize the response message when a user has previously subscribed to.

    You can check the documentation for a working example, but as a quick sample this function will alter the returned message when a user has previously subscribed to the given list :

    function custom_user_already_subscribed_error( $errorMessage , $update_user_link , $email ) {
        $errorMessage = 'Sorry, ' . $email . ' is already subscribed to this list.';
        $errorMessage .= str_replace( 'Update My Info.' , 'Please Update My Information' , $update_user_link );
        return $errorMessage;
    }
    add_filter( 'yikes_mc_user_already_subscribed' , 'custom_user_already_subscribed_error' , 10 , 3 );

    Let us know if you need further help!

    Thanks,
    Evan

    Hi Evan, Apologies but I can’t find this filter. I’ve just installed 5,1,1 but there is only the option to add a message for the Opt in status.

    I really want to redirect subscribers to a specific page, different to non subscribers, but I cannot see how to do this. please can you guide me.
    Thanks
    Christine

    Plugin Author Evan Herman

    (@eherman24)

    Hi Chrstine,

    I’m not sure I fully understand your question. The filter above is code you drop into the functions.php file of your active theme. Your not going to find it in the settings page. Also, when a user had already been subscribed they receive a message that they are already subscribed to the list, they don’t get redirected.

    You can set a custom redirect page from the manage list forms page, but can’t set a conditional at the moment.

    Can you please open up a new thread and explain your problem in full, and I’ll do my best to provide a solution.

    Thanks,
    Evan

    Hi Evan
    Have done as requested in ‘Redirect already subscribed Mailchimp users’
    Hope that is a bit clearer to understand what I would like to achieve. And thank you for your helpful reply.
    Christine

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

The topic ‘Change "…has already subscribed" response message.’ is closed to new replies.