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.

Buddypress s2member custom profile fields

Home Forums Community Forum Buddypress s2member custom profile fields

This topic contains 2 replies, has 2 voices. Last updated by  Eduan 4 years ago.

Topic Author Topic
Posted: Monday Dec 17th, 2012 at 4:09 pm #34861

I want the buddypress s2member custom profile fields to show up in the buddypress member header for each user.

This includes the field label and value

I came close but… but it is pulling the unique field ids not the values. Here is what I have:

$custom=array();
									$user_data = get_user_option('s2member_custom_fields', bp_displayed_user_id()); 
								$custom[0]=$user_data;
								

List Of Topic Replies

Viewing 2 replies - 1 through 2 (of 2 total)
Author Replies
Author Replies
Posted: Tuesday Dec 18th, 2012 at 9:35 pm #34985

I figured this one out. When creating a registration field in s2member you have to name the options the same before and after the pipe:

So for dropdown options I was doing this:

CO | Camera Operator

When I should have done this:

Camera Operator | Camera Operator

Once I changed to the above it worked.

Posted: Wednesday Dec 19th, 2012 at 9:48 am #35055
Eduan
Username: Eduan
Moderator

Glad you figured it out Tierra. :)

Viewing 2 replies - 1 through 2 (of 2 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.