Hi,

I am creating my user manually in my shop by using a custom form:

$newUser = array(  
			'name' => strtolower($usr_nm),
			'pass' => md5($pass),  
			'mail' => $_POST['mail'],  
			'status' => 1,  
			'init' => $_POST['mail'],  
			'roles' => array('2' => 'authenticated user')  
			);  
			
			$account = user_save(null, $newUser);

I am then using profile save etc to make changes to their profile. Even though I have opt out option configured for my newsletters, they are not being checked.

Is there some function I should be calling or do you have a suggestion on how I can fix this issue?

Thanks,
Paul.

Comments

nrackleff’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

“And now our watch [for support of the 6.x version of the MailChimp module] has ended…” With the end of Drupal 6 support, I’m sad to say we too must turn the page.

Fret not! The 7.x-4.x and 8.x versions come highly recommended. Both are using Mailchimp’s new API 3.0 and are being actively maintained. “What is dead may never die, but rises again, harder and stronger!”