×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Unable to add user to multiple segments

Unable to add user to multiple segments 11 years 10 months ago #18901

  • Lennart
  • Lennart's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 22
  • Thank you received: 0
I want a user to subscribe to multiple segments, so

1) E-mail and select 3 segments


2) I confirm the subscription, but when I check my preferences:


Is this a bug or am I doing something wrong?

Unable to add user to multiple segments 11 years 10 months ago #18905

  • Lennart
  • Lennart's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 22
  • Thank you received: 0
I don't know if you use the PHP wrapper provided by MailChimp, but when I look at their function:

function listSubscribe($id, $email_address, $merge_vars=NULL, $email_type='html', $double_optin=true, $update_existing=false, $replace_interests=true, $send_welcome=false)

$merge_vars contains: array GROUPINGS = Set Interest Groups by Grouping. Each element in this array should be an array containing the "groups" parameter which contains a comma delimited list of Interest Groups to add.

There goes maybe something wrong when calling this function (only the last group is added). And it can be the solution of my other bug ( it has to be a comma delimited list, so when you not escape a comma in the name of the interest group, it will treat the group as two groups).

Unable to add user to multiple segments 11 years 10 months ago #18906

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey,
I'll test it tomorrow morning and will let you know.
Daniel

Unable to add user to multiple segments 11 years 10 months ago #18913

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Ok, problem confirmed & fixed!
The fix will be in the next release(due either today or next week). If you cannot wait for it I can tell you which files to modify.
cheers,
Daniel
The following user(s) said Thank You: Lennart

Unable to add user to multiple segments 11 years 10 months ago #18914

  • Lennart
  • Lennart's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 22
  • Thank you received: 0
Ok, thanks for the quick fix! Is my other bug ( compojoom.com/forum/bugs/17409-error-sub...terest-group-with-or )also solved with the fix?

I can wait till next week: I'm testing all the components before I will migrate my site (+ need to rewrite a custom component), so no hurry at all :)

Unable to add user to multiple segments 11 years 10 months ago #18951

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
The new release is out. It should fix the problems.
Cheers,
Daniel

Unable to add user to multiple segments 11 years 10 months ago #18952

  • Lennart
  • Lennart's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 22
  • Thank you received: 0
Thank you very much :) You guys deserve more than 5 stars on JED ;)
  • Page:
  • 1
Time to create page: 0.124 seconds