Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to Get the Value of a Profile Field


  • stoi2m1
    Participant

    @stoi2m1

    Ive been trying to find the function that will allow me to place the field id and current user id and return the value of that profile field.

    Can anyone tell me what that function is and possibly a reference to its use?

    Thank You,
    Jesse

Viewing 3 replies - 1 through 3 (of 3 total)

  • stoi2m1
    Participant

    @stoi2m1

    The support around here Sucks, And the Documentation for Buddypress Sucks.

    For those of you looking for this solution here you go.

    This gave me the member type which is field number 2.
    $mem_type = bp_get_profile_field_data( array(‘user_id’=>bp_get_member_user_id(),’field’=>2 ));


    r-a-y
    Keymaster

    @r-a-y

    Glad you figured it out.

    FYI, the community takes time out of their day to help people and write documentation for free. Contrary to popular belief, we are not robots! ;) We need more people like you to contribute to the codex, after all this is an open-source project. The more people that contribute, the more rich the documentation will be — open source documentation!

    Also, sometimes forum posts are missed due to the amount that gets posted. A simple post to bump your thread after 24 hours will help bring attention to your issue.


    Reezo
    Participant

    @reezolution

    Agreed with r-a-y.. that’s what Open Source mean.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to Get the Value of a Profile Field’ is closed to new replies.
Skip to toolbar