1. mhuber
  2. Bugs
  3. Thursday, 13 November 2014
  4.  Subscribe via email
Hi everyone,
the CMC component on Joomla 2.5.x is working fine, but there's problems with the profile-update-email that is generated when a user tries to register the same email-address twice.

1. the link in that email seems broken, it generates a "bad request" page in the browser instead of linking to mail chimp's profile update form:
http://the%20nlp%20connection.us9.list-manage.com/profile?u=(...)
the part after http:// till the first dot seems junk to me, it is my lists name, spaces url-encoded as %20. should be http://the-nlp-connectrion.us9 instead.

2. the very same email is displayed as pure text email in the client, but all other emails are stylized as intended in the mailchimp cretae form section (with colors, fonts etc).

What can I do?

Thank you in advance,

Michi
Responses (2)
Daniel Dimitrov
Support team
Accepted Answer Pending Moderation
Hey Michi,
Can you test it on our frontpage? Does the link also look broken? Because it works for me.

2. I don't understand what you mean?

Regards,
Daniel
Please if you use our extensions be so kind and review them at JED
Matukio | Hotspots Pro | CComment Pro
  1. more than a month ago
  2. Bugs
  3. # 1
Accepted Answer Pending Moderation
Hi Daniel,

thanks for your quick reply!

It is working fine on your frontage. I found the problem and a fix:
Your account name on mailchimp is "compojoom", no spaces. "the nlp connection" has spaces, and these are screwing up the link.
See /components/com_cmc/controllers/subscription.php:


$account = $chimp->getAccountDetails();
$memberInfo = $chimp->listMemberInfo($listId, $email);
$listInfo = $chimp->lists(array('list_id' => $listId));

$url = 'http://' . $account['username']. '.' . $dc . '.http://list-manage.com/profile?u='
. $account['user_id'] . '&id=' . $listId . '&e=' . $memberInfo['data'][0]['euid'];


I tried this to fix it:


// replace spaces with dashes in $url
$myusername = strtr($account['username'],' ','-');
$url = 'http://' . $myusername. '.' . $dc . '.http://list-manage.com/profile?u='
. $account['user_id'] . '&id=' . $listId . '&e=' . $memberInfo['data'][0]['euid'];


and it seems to work.

My second point (stylized email): The opt-in and welcome emails come from mail chimp, and they are colored, with big fonts etc.
The update-email, I found, is generated by the component, not sent via mail chimp, and therefore not stylized as the welcome email.
Can the component send the mail chimp-styled update-email instead?

Regards,

Michi
  1. more than a month ago
  2. Bugs
  3. # 2
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Last questions

How to close commenting on an article?
I've installed CComment Core on Joomla 4. I just can't seem to find out how to c...
2 Replies
Posted on Sunday, 05 December 2021
  • New
    • #CComment
    Trying to override default_form.php in Joomla 4 bu
    I've installed CComment Core on my Joomla 4 site. Looks good so far, except for ...
    1 Replies
    Posted on Thursday, 02 December 2021
  • Resolved
  • New
  • Cant save Hotspot global settings
    Using Joomla 4.0.2 and Yootheme installed. After installing Hotspot Core success...
    5 Replies
    Posted on Saturday, 23 October 2021
    • #hotspot
    • #hotspots core
    • #joomla 4
    How much do you take to develop a plugin to displa
    Hello, I have a site with Hotspots Pro 6 installed. How much do you take to ...
    2 Replies
    Posted on Wednesday, 24 November 2021
    • #hotspots pro
    Installing Compojoom
    Hi, I just bought the Matukio Events and tried to install the extension via Comp...
    11 Replies
    Posted on Sunday, 28 November 2021