Skip to:
Content
Pages
Categories
Search
Top
Bottom

profile fields


  • Mladen
    Participant

    @balkanpeople

    i want to show specific profile fields in the sidebar, i do this with

    echo xprofile_get_field_data(‘6’ ,bp_get_member_user_id());

    but when the field is empty i want it to show something else…

    i have tryed out this with this code:

    if ( bp_field_has_data() ) :
    echo xprofile_get_field_data(‘6’ ,bp_get_member_user_id());
    else :
    if ( function_exists( ‘bp_sidebar_member_profile_write_something_about_you_link’ ) ) :
    bp_sidebar_member_profile_write_something_about_you_link(); /* Profil bearbeiten link */
    endif;
    endif;

    but that doesnt work

    can someone help me please and sorry for my bad english :)

  • The topic ‘profile fields’ is closed to new replies.
Skip to toolbar