Skip to:
Content
Pages
Categories
Search
Top
Bottom

members loop: showing more profile info

  • @davewright

    Participant

    i’m having a hard time getting specific profile fields to show up on the members page, using members-loop.php.

    there’s even this note in the code, but when i try to enter a field name, nothing shows up:

    http://img818.imageshack.us/img818/8938/6a019ce2c5cf48bc84ef870.png

    any ideas? i think even if i could look at an example of one that’s working, i could figure it out, just not sure what i’m doing wrong here.

Viewing 4 replies - 1 through 4 (of 4 total)
  • @davewright

    Participant

    So, I got a few fields to display, but now my new problem is that my plain text and HTML is not showing up on the page for some reason – in this example, the text label “Location:” and the line break are not coming through.

    http://pastebin.com/ZRx4rU9A

    @modemlooper

    Moderator

    <?php echo 'Location:’; ?>

    @davewright

    Participant

    ah, i figured it out.

    i needed bp_get_member_profile_data instead of bp_member_profile_data.

    @davewright

    Participant

    okay – so, here’s an example of the kind of code i’m using. hopefully this can help people in the future!

    http://pastebin.com/rR7qgXKy

    keywords people might use to find this post: buddypress extended profile fields, buddypress members loop, buddypress members-loop.php, bp_member_profile_data( ‘field=the field name’ );, bp_get_member_profile_data.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘members loop: showing more profile info’ is closed to new replies.
Skip to toolbar