Forum Replies Created

Viewing 15 replies - 46 through 60 (of 87 total)
  • I did. https://www.ads-software.com/support/topic/webhook-1?replies=3
    Been watching newer requests get marked resolved and haven’t gotten a reply yet on mine, except my own replies

    I don’t see an actual resolution here even though this is marked as resolved, what was it? Is it the rss-to-email? Is this a plug in or something else?

    looks like a lost cause plugin to me. Glad I found this one support question.

    Thread Starter kyledoesit

    (@kyledoesit)

    Still trying to figure it out.
    I’ve followed this https://premium.wpmudev.org/blog/mailchimp-updates-wordpress-using-webhooks/
    I used the custom plugin and set it up exactly as the instructions said. I made a key and my url is this https://ucirowing.org/webhook/?key=mailchimpint
    but when I add this to the mailchimp webhooks I get this message
    We couldn’t verify the URL is working. Please double check and try again. HTTP Code: 404

    Not really sure why this doesn’t work, would be nice if I got a reply.

    Thread Starter kyledoesit

    (@kyledoesit)

    I am still having trouble with this. When signing up for the list via the mailchimp form it does not add the user to the website ucirowing.org and I am not sure why.

    //Add buddypress xprofile field to MailChimp Sync
    
    //Call the function
    add_filter( 'mailchimp_sync_user_data', 'mailchimp_buddypress', 10, 2 );
    
    //Write the function
    function mailchimp_buddypress( $data, $user ) {
    	//Get user ID
    	$user_id = $user->ID;
    
    	// Store Xprofile fields in the $data variable
    	$data['STREET'] = xprofile_get_field_data( 13 , $user_id );
    	$data['STREET2'] = xprofile_get_field_data( 14 , $user_id );
    	$data['CITY'] = xprofile_get_field_data( 7 , $user_id );
    	$data['STATE'] = xprofile_get_field_data( 14 , $user_id );
    	$data['ZIP'] = xprofile_get_field_data( 9 , $user_id );
    	$data['PHONE1'] = xprofile_get_field_data( 16 , $user_id );
    	$data['PHONE2'] = xprofile_get_field_data( 17 , $user_id );
    	$data['COUNTRY'] = xprofile_get_field_data( 28 , $user_id );
    	$data['EMPLOYER'] = xprofile_get_field_data( 3 , $user_id );
    	$data['INDUSTRY'] = xprofile_get_field_data( 4 , $user_id );
    	$data['JOBTITLE'] = xprofile_get_field_data( 5 , $user_id );
    	$data['MAJOR'] = xprofile_get_field_data( 6 , $user_id );
    	$data['YEARSROWED'] = xprofile_get_field_data( 10 , $user_id );
    	$data['YEARROWED'] = xprofile_get_field_data( 11 , $user_id );
    	$data['COACH'] = xprofile_get_field_data( 18 , $user_id );
    	$data['ADVDEG'] = xprofile_get_field_data( 19 , $user_id );
    
    	//Return the data
    	return $data;
    }

    this is my functions.php file also

    Is this for importing to wordpress from mailchimp? I’m also trying to figure this out but also need it to import to buddypress. I’m not sure if this will be useful to you at all, it’s how I sync the buddypress fields with the mailchimp fields

    //Add buddypress xprofile field to MailChimp Sync
    
    //Call the function
    add_filter( 'mailchimp_sync_user_data', 'mailchimp_buddypress', 10, 2 );
    
    //Write the function
    function mailchimp_buddypress( $data, $user ) {
    	//Get user ID
    	$user_id = $user->ID;
    
    	// Store Xprofile fields in the $data variable
    	$data['STREET'] = xprofile_get_field_data( 13 , $user_id );
    	$data['STREET2'] = xprofile_get_field_data( 14 , $user_id );
    	$data['CITY'] = xprofile_get_field_data( 7 , $user_id );
    	$data['STATE'] = xprofile_get_field_data( 14 , $user_id );
    	$data['ZIP'] = xprofile_get_field_data( 9 , $user_id );
    	$data['PHONE1'] = xprofile_get_field_data( 16 , $user_id );
    	$data['PHONE2'] = xprofile_get_field_data( 17 , $user_id );
    	$data['COUNTRY'] = xprofile_get_field_data( 28 , $user_id );
    
    	//$data['FINSHLINE'] = xprofile_get_field_data( 20 , $user_id );
    
    	$data['EMPLOYER'] = xprofile_get_field_data( 3 , $user_id );
    	$data['INDUSTRY'] = xprofile_get_field_data( 4 , $user_id );
    	$data['JOBTITLE'] = xprofile_get_field_data( 5 , $user_id );
    	$data['MAJOR'] = xprofile_get_field_data( 6 , $user_id );
    	$data['YEARSROWED'] = xprofile_get_field_data( 10 , $user_id );
    	$data['YEARROWED'] = xprofile_get_field_data( 11 , $user_id );
    	$data['COACH'] = xprofile_get_field_data( 18 , $user_id );
    	$data['ADVDEG'] = xprofile_get_field_data( 19 , $user_id );
    
    	//Return the data
    	return $data;
    }
    Thread Starter kyledoesit

    (@kyledoesit)

    this is my functions.php file also

    //Add buddypress xprofile field to MailChimp Sync
    
    //Call the function
    add_filter( 'mailchimp_sync_user_data', 'mailchimp_buddypress', 10, 2 );
    
    //Write the function
    function mailchimp_buddypress( $data, $user ) {
    	//Get user ID
    	$user_id = $user->ID;
    
    	// Store Xprofile fields in the $data variable
    	$data['STREET'] = xprofile_get_field_data( 13 , $user_id );
    	$data['STREET2'] = xprofile_get_field_data( 14 , $user_id );
    	$data['CITY'] = xprofile_get_field_data( 7 , $user_id );
    	$data['STATE'] = xprofile_get_field_data( 14 , $user_id );
    	$data['ZIP'] = xprofile_get_field_data( 9 , $user_id );
    	$data['PHONE1'] = xprofile_get_field_data( 16 , $user_id );
    	$data['PHONE2'] = xprofile_get_field_data( 17 , $user_id );
    	$data['COUNTRY'] = xprofile_get_field_data( 28 , $user_id );
    
    	//$data['FINSHLINE'] = xprofile_get_field_data( 20 , $user_id );
    
    	$data['EMPLOYER'] = xprofile_get_field_data( 3 , $user_id );
    	$data['INDUSTRY'] = xprofile_get_field_data( 4 , $user_id );
    	$data['JOBTITLE'] = xprofile_get_field_data( 5 , $user_id );
    	$data['MAJOR'] = xprofile_get_field_data( 6 , $user_id );
    	$data['YEARSROWED'] = xprofile_get_field_data( 10 , $user_id );
    	$data['YEARROWED'] = xprofile_get_field_data( 11 , $user_id );
    	$data['COACH'] = xprofile_get_field_data( 18 , $user_id );
    	$data['ADVDEG'] = xprofile_get_field_data( 19 , $user_id );
    
    	//Return the data
    	return $data;
    }

    the commented out FINISHLINE is for a checkbox that I’m unsure how to sync. I think I just disabled that for now anyhow.

    You might want to look in to buddypress, and if you do that you should also look here https://www.ads-software.com/support/topic/buddypress-field-names?replies=15#post-8099212

    Does this go in functions.php or in the plugin?

    I got it, I made a mistake while inputting the code in functions.php
    This is what I have

    //Add buddypress xprofile field to MailChimp Sync
    
    //Call the function
    add_filter( 'mailchimp_sync_user_data', 'mailchimp_buddypress', 10, 2 );
    
    //Write the function
    function mailchimp_buddypress( $data, $user ) {
    	//Get user ID
    	$user_id = $user->ID;
    
    	// Store Xprofile fields in the $data variable
    	$data['STREET'] = xprofile_get_field_data( 13 , $user_id );
    	$data['STREET2'] = xprofile_get_field_data( 14 , $user_id );
    	$data['CITY'] = xprofile_get_field_data( 7 , $user_id );
    	$data['STATE'] = xprofile_get_field_data( 14 , $user_id );
    	$data['ZIP'] = xprofile_get_field_data( 9 , $user_id );
    
    	//Return the data
    	return $data;
    }

    STREET, STREET2 etc are the field tags in mailchimp. Also, you do not have to add anything to the “send additional fields” area

    @matt are you filling in the additional fields as well as using this code? I’m not exactly sure the settings I am supposed to do for this. I am in the process of troubleshooting now and if I figure it out I will post it

    thank you ??

    alright, thank you!

    How about this one from my error log?

    [Oct 05 2015 00:30:05] ERROR_HANDLER
    Number: 2
    Message: require_once(/home/******/public_html/content/themes/legalized/inc/theme-style.php): failed to open stream: No such file or directory
    File: /home/******/public_html/wp-content/themes/legalized/functions.php
    Line: 1721
    ——————————————–

Viewing 15 replies - 46 through 60 (of 87 total)