Eric Wijaya
Forum Replies Created
Viewing 4 replies - 1 through 4 (of 4 total)
-
Oh sorry its the php limitation.
Thanks,
EricHey I edit the plugins in this line
// Define the lists to be added $contact['lists'] = (array)$cf7_ctct['lists']; $Contact = CTCT_SuperClass::CC_Contact($contact); $contact_exists = CTCT_SuperClass::CC_ContactsCollection()->searchByEmail($contact['email_address']); $contact_exists_details = CTCT_SuperClass::CC_ContactsCollection()->listContactDetails($contact_exists[0][0]); if(!$contact_exists) { $expected_response = 201; $response = CTCT_SuperClass::CC_ContactsCollection()->createContact($Contact); } else { $expected_response = 204; $details = $contact_exists[0][0]; $contact_id = CTCT_SuperClass::getContactId(&$contact_exists[0][0]); $Contact->setId($contact_exists[0][0]->getId()); $Contact->setLink($contact_exists[0][0]->getLink()); $contact_lists = $contact_exists_details->getLists(); foreach($contact_lists as $contact_list) { $Contact->setLists($contact_list); } $response = CTCT_SuperClass::CC_ContactsCollection()->updateContact($contact_id, $Contact); }
I add these lines
$contact_exists_details = CTCT_SuperClass::CC_ContactsCollection()->listContactDetails($contact_exists[0][0]); $contact_lists = $contact_exists_details->getLists(); foreach($contact_lists as $contact_list) { $Contact->setLists($contact_list); }
Having the same issue. Is there any fix yet?
Forum: Plugins
In reply to: [Theme My Login] [Plugin: Theme My Login] Custom email not workingDoes anyone solve this problem? My custom registration email works fine until i install custom password module.
Viewing 4 replies - 1 through 4 (of 4 total)