Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1236697

    lily
    Participant

    Hi, I tried doing the following (below) to disable double optin and just send a welcome message once the user signs up, but it did not work for me.

    Could you please advice?

    Here is the link to the thread: https://community.theme.co/forums/topic/mailchimp-optin-automatically-subscribe-newly-registered-users-to-a-list/page/2/

    To confirm, our plugin is designed to always send the welcome email if the double optin is disabled. Presently we don’t have a way to disable this without modifying the plugin directly.

    Take a look at this file
    /email-mailchimp/functions/provider.php

    You will see this on line 256:

    $send_welcome = ( ‘yes’ == $this->plugin->options->get(‘mc_send_welcome’) || $double_optin == false );

    Try removing this part: || $double_optin == false

    That should prevent the welcome email from being sent. We can add this as a feature request to be a filterable option in the next release.

    #1236698

    lily
    Participant
    This reply has been marked as private.
    #1236707

    Christian
    Moderator

    Hey Lily,

    Please remove the code and go to Email Forms > General Settings and set Opt-In New Users to Yes

    Thanks.

    #1236787

    lily
    Participant

    sorry, I misread the post.

    I did as you said.

    I’m now using the original provider.php file under: /email-mailchimp/functions/provider.php

    Once, I entered my email, and it is still sending me “please confirm your subscription” email. I set up “final welcome email” form and checked “send a final welcome email” in mailchimp.

    Once I confirm, I get the welcome email, but if I don’t confirm, I don’t get the welcome email.

    #1236795

    Christian
    Moderator

    Would you mind giving us access to your Mailchimp account?

    #1236796

    lily
    Participant
    This reply has been marked as private.
    #1237181

    Rad
    Moderator

    Hi there,

    Please install a child theme first, then add this code to child theme’s functions.php

    add_filter('x_email_mailchimp_skip_double_opt_in','__return_true');

    Then test it again, and please provide the FTP login credentials just in case it’s not working.

    Thanks!

    #1237224

    lily
    Participant

    Hi Rad!

    I added the code under appearances –> editor –> x child theme –> functions.php

    and I tested the mailchimp sign up form inside the post here

    http://viktoriyaandoksana.com/enzymes-are-keys-to-longevity/

    and it sent me an email asking to confirm subscription.

    #1237225

    lily
    Participant
    This reply has been marked as private.
    #1237383

    Rad
    Moderator

    Hi there,

    Yes, but your child theme is not active. It should be activated, and once it’s added through child theme’s functions.php

    Another option named Skip Double Opt In should appear under Admin > Addons > Email Forms > MailChimp.

    Backup your site first, switching them could reset menu and widgets.

    Thanks!

    #1243653

    lily
    Participant

    Hi Rad, there is no “skin double optin in” anywhere in the plugin settings

    #1243846

    Rue Nel
    Moderator
    This reply has been marked as private.
    #1245498

    lily
    Participant

    Hi Ruel Nel,

    thank you, this worked perfectly!

    Do I need to switch back to x theme or stay on child theme? If I switch back to x theme, do I upload XCS file again?

    Also, I checked that my email gets added automatically to my mailing list, but I am not receiving the welcome message. I only receive the welcome message when I enable “double opt-in” When double opt-in is disabled, I am not receiving the welcome message. Is this the correct system? Welcome Message does not get send out when double opt-in is disabled?

    These are the settings that I have under the Mailchimp addon

    Skip Double Opt-In: Yes
    Send Confirmation: No

    thank you

    #1245850

    Rad
    Moderator

    Hi there,

    The child theme should stay active. It’s the child theme of X theme which makes X theme’s active at the same time.

    And change the Send Confirmation to yes. Double opt-in is now skipped and the confirmation email is the welcome email.

    Thanks!

    #1246279

    lily
    Participant

    Hi Rad,

    thank you for explaining. I really appreciate it.

    It looks like today since I have done these chances, my site broke and bluehost was able to restore it only to Tuesday’s backup files because yesterday’s back up did not work. I need to set up complete daily back ups.

    Everytime, I tried to activate x child theme, the site would break (every link would align in the middle of the page).

    How can I download x child theme and upload it manually? The x child theme I have right now is not working properly on my site since I tried to activate it again since my site was restored.

    I also want to migrate to X hosting, could you direct me how to get that started? I also need SSL certificate if you offer that with X hosting.

    thank you