UPDATES EasyBlog 6.0.11 Released! Update to the latest version now!

Helpdesk

Your Time
Our Time
Response Time
24 — 48 hours
We strive to provide the fastest ever response possible. However, we are not super beings.

Allow at least 24 — 48 hours
  Support is offline
Our team is away during the weekend. Some answers may already be available on our documentation

Rest assured that we will get back to your posts as soon as the week starts!
  Support is offline
I have a client that is using EasySocial and Payplans. When a new user signs up I use the EasySocial Registration for Payplans. This works great. My issue is that when it sends the user info to MailChimp It maps the "Display name" from EasySocial. If I have it set to "real name" it maps that to the "fname" field in MailChimp. Is there a way to map the First Name to the "fname" field and the last name to the "lname" field?

I have a support ticket in with Ready Bytes and their thoughts on the solution are below but is didn't seem to work.

Go to file plugins/mailchimp/mailchimp/app/mailchimp/mailchimp.php

near line 115, you will find the code
$merge_vars = array( 'FNAME' => $user->name);

replace it with below. Also test it and If the require_once condition doesn't work, then please verify it from easysocial team about how to include the easysocial as we don't have much knowledge of easysocial code.

require_once(JPATH_ROOT . '/administrator/components/com_easysocial/includes/foundry.php');

$field =FD::model('Fields');
$data = $field->getFieldsData(array('uid' => $userid, 'type' => SOCIAL_TYPE_USER, 'key' => JOOMLA_FULLNAME));

$merge_vars = array( 'FNAME' => $data[0]['data'], 'LNAME' => $data[2]['data']);


Just as it is done for subscribing the list do it for unsubscribe.
The replies under this section are restricted to logged in users or users with an active subscription with us