Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 1 replies (of 1 total)

  • rthomasTechnology
    Participant

    @rthomastechnology

    That’s not it. I’m in members-loop.php. That (as I understand it) is the file that controls what people see when they go to the default members directory in BuddyPress (the page that shows you everyones icon, their name and when they were last active). I want to add the users email addresses to this screen. At one point I found a line of code and pasted it between:

    <div class=”item”>
    <div class=”item-title”>
    “><?php bp_member_name(); ?>

    <?php if ( bp_get_member_latest_update() ) : ?>

    <span class=”update”> <?php bp_displayed_user_email(); ?></span>

    <?php endif; ?>

    </div>

    and

    <?php do_action( ‘bp_directory_members_item’ ); ?>

    <?php
    /***
    * If you want to show specific profile fields here you can,
    * but it’ll add an extra query for each member in the loop
    * (only one regardless of the number of fields you show):
    *
    * bp_member_profile_data( ‘field=email email’ );
    */

    ?>
    </div>

    which made the email addresses show directly under the names of the site members. I can’t find that code again.

    Thanks
    Randy

Viewing 1 replies (of 1 total)
Skip to toolbar