Skip to:

Additional Profile Data Showing in Directories

  • Hello,

    I am attempting to pull some profile info from our site’s members that will show up in addition to their name and avatar when they are listed in the member and group member directories, but can’t seem to get it right. Does anyone know how to get this done or if their is a plugin out there designed to achieve this? It seems to be something that is possible because I’ve seen it on several BuddyPress sites out there. For example, in the CUNY Academic Commons member directory each user has their ‘College’ , ‘Title’, and ‘Academic Interests’ showing up under their name. Any advice would be greatly appreciated, it’s driving me nuts. Thanks!

Viewing 1 replies (of 1 total)

  • perywinkle


    I think your looking for the /members/members-loop.php file.

    Here’s a ex. of the profile field “City”:
    <a href="?s=” title=”Search Members in: “>
    I don’t think this will work on the directory loops, but it works elsewhere…
    <?php if ( $city = bp_get_profile_field_data( 'field=City ' ) ) {
    echo $city;
    } ?>

Viewing 1 replies (of 1 total)
  • The topic ‘Additional Profile Data Showing in Directories’ is closed to new replies.
Skip to toolbar