latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

s2Member and Event Manager

Home Forums Community Forum s2Member and Event Manager

This topic contains 1 reply, has 2 voices. Last updated by  Bruce 3 years, 6 months ago.

Topic Author Topic
Posted: Saturday Jun 15th, 2013 at 2:17 pm #52005
Wade Miller
Username: wamiller

I’m using s2Member Pro and Event Manager. Event Manager has its own user fields in the user meta data. When users are created thru s2 and when user modification happen, I would like to automatically update the event manager fields with the updated user data.

Event manager stores its data in fields prefaced by dbem_ (dbem_address, dbem_city, etc.)

This post seems to be very close to what I need but I’m unsure how to modify for my needs.
http://www.s2member.com/forums/topic/populate-wordpress-user-details/

The code from that post is:

$user->ID, 'user_url' => $_POST['ws_plugin__s2member_profile_website']) ) ;
}
?>

What would I need to change to update dbem_ address fields which are in the wp_usermeta table?

Thanks!!!
Wade

List Of Topic Replies

Viewing 1 replies (of 1 total)
Author Replies
Author Replies
Posted: Tuesday Jun 18th, 2013 at 12:39 pm #52119
Bruce
Username: Bruce
Staff Member

What would I need to change to update dbem_ address fields which are in the wp_usermeta table?

You could probably use the WordPress update_user_meta() function.

See: http://codex.wordpress.org/Function_Reference/update_user_meta

Viewing 1 replies (of 1 total)

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.