Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Problems using apostrophes and accented characters in profile field


zoltok
Participant

@zoltok

Alrighty, I figured it out!!
So, it looks like the function “bp_get_member_profile_data”, which is suggested for use on the members-loop page, doesn’t work with field IDs, nor accents, nor apostrophes. To get around this, I used the function that is used in member-header.php (bp_profile_field_data), which does accept field IDs, but specified the user. Here was the final code I used:

`bp_get_profile_field_data( ‘field=17&user_id=’ . bp_get_member_user_id() );`

Hope this helps somebody!

Skip to toolbar