WordPress.org

Support

Support » Plugins and Hacks » [Plugin: MailChimp Comment Optin] Name value not passed to Mail Chimp

[Plugin: MailChimp Comment Optin] Name value not passed to Mail Chimp

  • Thanks for this great plugin. The email address entered in the comment is being added to the MailChimp list just fine. But the name field is not being passed. Is that by design? Or might this be a problem with WordPress 3.4.1?

    And if you do mean to pass the name value, how do you resolve the fact that the WordPress post comment form does not split the name into first and last, whereas Mail Chimp does? Splitting on the first blank character would be better than nothing, but might result in some improper splitting. Life isn’t perfect.

    Thanks.

    http://wordpress.org/extend/plugins/mailchimp-comment-optin/

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’ve got the same problem. Sad to see that the issue is an old one…

    Well, I found the error. This section of the code:

    if ( ! empty( $tgm_mc_comment_data['comment_author_name'] ) )
    	$commenter_name = $tgm_mc_comment_data['comment_author_name'];

    should be

    if ( ! empty( $tgm_mc_comment_data['comment_author'] ) )
    	$commenter_name = $tgm_mc_comment_data['comment_author'];

    <sigh>

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: MailChimp Comment Optin] Name value not passed to Mail Chimp’ is closed to new replies.