Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

emember – whitespace character lurking in my Mailchimp list name

by

Tips and Tricks HQ Support Portal › Forums › WP eMember › emember – whitespace character lurking in my Mailchimp list name

Tagged: eMember, mailchimp

  • This topic has 1 reply, 2 voices, and was last updated 12 years, 8 months ago by admin.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • October 11, 2012 at 6:12 pm #7629
    gxxaxx
    Member

    I was testing my integration of my paid memberships with Mailchimp. The debug log was very annoying because it seemed to suggest that everything should have been fine.

    [10/11/2012 3:58 AM] – SUCCESS :Mailchimp list to signup to:ABC List

    [10/11/2012 3:58 AM] – SUCCESS :MailChimp target list name: ABC List

    “ABC List” was my Mailchimp list so all should have been good.

    I didn’t catch the significance of “: ABC” vs “:ABC” until later when I found that somehow whitespace had crept into the front of my target list. I don’t know how. I don’t know what. The settings form does not show whitespace. Could have been a copy and paste glitch.

    Still have not been able to remove the white space. So, I’ve had to hack eMember_auto_responder_handler.php and use the following modifications.

    $target_list_name = trim($membership_level_resultset->campaign_name);
    $target_list_name = trim($emember_config->getValue('eMember_chimp_list_name'));

    Not sure what if any weirdo side-effects this might have. So far so good. But who knows.

    I wouldn’t mind somehow getting the whitespace out of my list name — without deleting everything and starting over from scratch.

    October 12, 2012 at 3:15 am #50302
    admin
    Keymaster

    The tweak you added will not cause any issue. We actually do trim the value at the time of saving the value (when you update the value in the WP Admin dashboard). Somehow on your WP install that space character is getting added at the time of retrieving the value from the database. This is definitely a weird behavior but it is not something that WP eMember plugin is responsible for. I will add this little tweak in the core eMember plugin just to avoid this kind of issue in the future.

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ