You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The plugin is not updating on profile save when a user change their profile.
– (I had select “YES” for “update on profile save” on the add on's settings page)
– Merge Tags were previously created on Mailchimp.
I'm using Custom Fields recipe, but the addon is not updating the "stardard" fields like LNAME, neither.
When a user update their profile is updated ONLY on the WP site. But not in mailchimp.
Here is the code for the Custom Fields:
function mytheme_add_fields_to_signup(){
//don't break if Register Helper is not loaded
if(!function_exists( 'pmprorh_add_registration_field' )) {
return false;
}
$fields = array();
$fields[] = new PMProRH_Field(
‘GENERO’, // input name, will also be used as meta key
‘radio’, // type of field
array(
‘options’ =>
array(
‘HOMBRE’ => ‘Hombre’,
‘MUJER’ => ‘Mujer’,
),
‘label’=>’Soy:’, // custom class
‘profile’=>true, // show in user profile
‘required’=>true, // make this field required
‘location’ => ‘after_submit_button’,
)
);
//add the fields to default forms
foreach($fields as $field){
pmprorh_add_registration_field(
‘after_email’, // location on checkout page
$field // PMProRH_Field object
);
}
}
add_action( ‘init’, ‘mytheme_add_fields_to_signup’ );
Here is my recipe for Mailchimp:
function my_pmpro_mailchimp_listsubscribe_fields( $fields, $user )
Note:
This custom field (GENERO) is added on mailchimp FOR NEW USERS,
this issue only happens when a user UPDATE THEIR PROFILE.
(the profile is update ONLY on the WP site. But NOT in mailchimp audience)
The text was updated successfully, but these errors were encountered:
In order to look further into this issue, we would need to see your PMPro Mailchimp debug log file and see how your site is set up. If you would like additional help debugging this custom functionality, please sign up at http://www.paidmembershipspro.com/pricing and our support team will be able to walk you through this process there.
Hello!
The plugin is not updating on profile save when a user change their profile.
– (I had select “YES” for “update on profile save” on the add on's settings page)
– Merge Tags were previously created on Mailchimp.
I'm using Custom Fields recipe, but the addon is not updating the "stardard" fields like LNAME, neither.
When a user update their profile is updated ONLY on the WP site. But not in mailchimp.
Here is the code for the Custom Fields:
function mytheme_add_fields_to_signup(){
//don't break if Register Helper is not loaded
if(!function_exists( 'pmprorh_add_registration_field' )) {
return false;
}
$fields[] = new PMProRH_Field(
‘GENERO’, // input name, will also be used as meta key
‘radio’, // type of field
array(
‘options’ =>
array(
‘HOMBRE’ => ‘Hombre’,
‘MUJER’ => ‘Mujer’,
),
‘label’=>’Soy:’, // custom class
‘profile’=>true, // show in user profile
‘required’=>true, // make this field required
‘location’ => ‘after_submit_button’,
)
);
//add the fields to default forms
foreach($fields as $field){
pmprorh_add_registration_field(
‘after_email’, // location on checkout page
$field // PMProRH_Field object
);
}
}
add_action( ‘init’, ‘mytheme_add_fields_to_signup’ );
Here is my recipe for Mailchimp:
function my_pmpro_mailchimp_listsubscribe_fields( $fields, $user )
{
$new_fields = array(
“GENERO” => $user->GENERO,
);
$fields = array_merge( $fields, $new_fields );
return $fields;
}
add_action( ‘pmpro_mailchimp_listsubscribe_fields’, ‘my_pmpro_mailchimp_listsubscribe_fields’, 10, 2 );
/**
*/
add_filter( ‘pmpromc_profile_update’, ‘__return_true’ );
Note:
This custom field (GENERO) is added on mailchimp FOR NEW USERS,
this issue only happens when a user UPDATE THEIR PROFILE.
(the profile is update ONLY on the WP site. But NOT in mailchimp audience)
The text was updated successfully, but these errors were encountered: