Changing email bug

More
30 Jun 2011 11:07 #1692 by mcwolf01
Changing email bug was created by mcwolf01
joomlamailer version: 1.7.2
Joomla! version: 1.5.23
PHP version: 5+
MySQL version: 5+

The new version is powerful. Because using CB, I am so happy that JoomlaMailer has so many new functions. But one of them which can make user change their mail I find a issue. Before changing email, subscribe box is checked. After changing finished, the box is unchecked, but user is also in the mailchimp list. And check and uncheck will not help user unsubscribe newsletter....
Is this issue only for me? Or it is a bug?

Cheers,
Dennis

Please Log in or Create an account to join the conversation.

More
02 Jul 2011 15:22 #1697 by pete
Replied by pete on topic Changing email bug
Hello Dennis,

Thanks for reporting this issue! I'll look into it. Luckily users changing their email address is a very rare event and changing it twice in a row happens even less often. Nevertheless, if I can confirm that this is a bug in joomlamailer, we'll definitely provide a fix in the next update.

Kind regards,
Pete

Please Log in or Create an account to join the conversation.

More
04 Jul 2011 04:56 #1707 by mcwolf01
Replied by mcwolf01 on topic Changing email bug
:B: Thank you for reply

Please Log in or Create an account to join the conversation.

More
04 Jul 2011 16:28 #1715 by pete
Replied by pete on topic Changing email bug
The problem is that the Joomla user object doesn't update when the email address is changed and therefore when joomlamailer checks if the user is signed up the old email address is used until the user logs out and back in.
To fix this behavior you need to edit the file /plugins/system/joomailermailchimpsignup.php

Replace line 40 - 42 with this line:
Code:
$user =& JFactory::getUser( $user->id );

(Line numbers as of version 1.7.2. This change will be included in v1.7.3.)

Kind regards,
Pete

Please Log in or Create an account to join the conversation.