bp_get_profile_field_data to filter custom members-loop
I’m using bp_get_profile_field_data to render a list of members based on custom profile field values. It kind of works, but out of the 27 results it should find, it only renders 4… I don’t have the faintest idea why and nothing I have done explains this behavior.
The only idea i’ve had so far is to replace the content of the custom field by the id of its value. The custom field type is a select box with 5 possible values. Each of these values has an individual id in the database so I figure I could use the value’s id but this doesn’t work.
`bp_get_member_user_id(),’field’=>44 )); ?>
How could I get bp_get_profile_field_data to test for a custom profile field’s value ID?
Is this possible or a good solution?
Thanks for any help.
You must be logged in to reply to this topic.