Send custom field values to AcyMailing

  • Donal
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
9 years 4 months ago #90123 by Donal
Hi,

We run events for children. Parents register and pay for their child(ren). We collect group information, including some custom fields, like each child's name and date of birth.

I need this info to be sent to AcyMailing custom fields. I have already modified the acymailing plugin to send the mobile phone number from EB to AcyMailing (shown below). Unfortunately, I'm at a loss how to read the EB custom fields in order to send them across to AcyMailing.
Code:
if (!$subId) { $myUser = new stdClass(); $myUser->email = $row->email; $myUser->name = $row->first_name . ' ' . $row->last_name; $myUser->phone = $row->phone; $myUser->userid = $row->user_id; $eventClass = acymailing_get('class.subscriber'); $subId = $eventClass->save($myUser); //this }

Can anybody suggest code that reads each child of the group booking's EB custom fields, or Tuan, would this be a paid customisation?

Thanks,
Donal

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

  • Donal
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
9 years 4 months ago #90501 by Donal
Replied by Donal on topic Send custom field values to AcyMailing
Tuan, are you interested in quoting for this customisation, or can you suggest a PHP developer who would be willing to do the mod?

I can provide a full, detailed spec.

Thanks,
Donal

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

More
9 years 4 months ago #90554 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Send custom field values to AcyMailing
Hi Donal

Not at this time as I am still too busy at the moment. Please contact us at the beginning of next month (submit a support ticket), we will discuss about this customization and we will implement it for you

For now, I want to spend my time to work on an important improvement to Events Booking, Ticket - PDF feature

Regards,

Tuan

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

Moderators: Tuan Pham Ngoc