Viewing 14 replies - 1 through 14 (of 14 total)
  • Thread Starter Jordan Acosta

    (@elfortunawe)

    I upgraded WordPress to 3.5.2, and there’s no change.

    Thread Starter Jordan Acosta

    (@elfortunawe)

    The site is running on WPEngine, by the way. And I’m developing in a virtual machine running Ubuntu 12.10.

    Plugin Author Danny van Kooten

    (@dvankooten)

    Hi Jordan,

    Thank you for your support message. This is quite strange, I’ve made some changes but nothing that should break the registration form checkbox.

    Question, do you have a required last name field (LNAME) in MailChimp?

    Also, let me know if updating to version 0.4.1 works.

    Thanks, Danny.

    Thread Starter Jordan Acosta

    (@elfortunawe)

    No, the last name field is not required.

    I upgraded to 0.4.1, and no change.

    Plugin Author Danny van Kooten

    (@dvankooten)

    Hi Jordan,

    Are you sure you’re testing with an email address that is not already on your list? I can’t seem to replicate your problem.

    Could you give me more info on the way your list is set-up. For example, which merge variables do you use (and require)?

    Also, just using the regular WordPress registration form or using BuddyPress or MultiSite?

    Thanks. Danny

    Thread Starter Jordan Acosta

    (@elfortunawe)

    It’s using a custom registration form, set up by the Paid Memberships Pro plugin. I made sure that <?php do_action( 'register_form' ); ?> is in the template, and, under 0.3, that got it working.

    I have a bunch of email addresses on Bluehost I created just to test this, and am using a MailChimp list I created for testing as well.

    For merge variables, the email is required. First and last name are present but not required.

    Thread Starter Jordan Acosta

    (@elfortunawe)

    Thanks for the help, by the way.

    Thread Starter Jordan Acosta

    (@elfortunawe)

    I just tried tolling back to version 0.3, and it still doesn’t work. Your plugin probably isn’t the real issue, then.

    Thanks for your help. Sorry if I wasted too much of your time.

    Plugin Author Danny van Kooten

    (@dvankooten)

    You’re welcome.

    I will further look into this tomorrow.

    Are you sure things were working in 0.3? Is the e-mail field in the registration form you’re using called “user_email” or “signup_email”. If it’s not, it won’t work.

    MailChimp for WP now hooks into a hook called “register_post” and reads the variables directly from the $_POST array which is why the fields should be named like that. I’m thinking of switching to a different hook and read the email address from the user info in the database, it will be more code to accomplish the same thing but I guess it would be more reliable when using custom registration forms like you are.

    For now, could you just check to see if any errors pop up when you enable WP_DEBUG in wp-config.php or when installing a plugin like Blackbox Debug Bar, if you didn’t already (since you are developing in a virtual machine)?

    Thanks, Danny.

    Plugin Author Danny van Kooten

    (@dvankooten)

    Hi Jordan,

    Thanks. That’s what I was thinking. I could probably make it work though, see my previous post which I posted before reading your newest reply. ??

    Thread Starter Jordan Acosta

    (@elfortunawe)

    The email isn’t named “user_email” or “signup_email”. That must be it.

    I swear the plugin was working before, but it was a too-long, late-night coding session, so maybe I’m mistaken.

    I’ll try changing the registration form later. Thanks for the help.

    Plugin Author Danny van Kooten

    (@dvankooten)

    As long as the plugin still uses the default WP hooks, changing the field names should do the trick. : )

    Good luck!

    Thread Starter Jordan Acosta

    (@elfortunawe)

    I added a user_email field, and changed your plugin to hook into user_register instead of register_post. That got it working.

    It looks like Paid Memberships Pro bypasses the typical user registration flow of register_form –> register_post –> user_register, because it uses insert_user to add the user to the database. The only hook it triggers is user_register.

    So this was an issue with Paid Memberships Pro, not Mailchimp for WP.

    Thanks for your help.

    Plugin Author Danny van Kooten

    (@dvankooten)

    You’re welcome, glad to hear you’ve managed to get it working.

    I will think about hooking into user_register anyway, in case there are more people using other plugins to take care of their registration process.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Stopped Working after Upgrade to 0.4’ is closed to new replies.