Skip to:
Content
Pages
Categories
Search
Top
Bottom

Members Directory


  • Chrisw83
    Participant

    @chrisw83

    1) I have created a page and called it, Homeowners Directory. In buddypress I have selected this page to show the members directory Buddypress -> Pages -> Members. How do I change the title of this page from Members to something else?

    2) Currently on the Members Directory the members Name is shown, how do I add other profile fields here?

    3) How do I make the search feature search all of the member fields? I have used s2member to create all the new username fields.

    4) When you click on and view someones profile, what file do I need to edit to add a Return button to go back to the members directory?

    I can provide access to the site if it is needed.

    Thanks,
    Chris

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

  • danbp
    Moderator

    @danbp

    1) https://codex.buddypress.org/getting-started/configure-components/

    2) https://codex.buddypress.org/buddypress-components-and-features/extended-profiles/edit-xprofiles-admin-screen/

    https://codex.buddypress.org/getting-started/guides/displaying-extended-profile-fields-on-member-profiles/

    3) is built in on members directory. Each profile item becames clickable by default, letting users find others having entered the same information.
    Example:
    User A = City -> New York (NY is clickable)
    User B = City -> New York (NY is clickable)
    User C = City -> San Francisco (SF is clickable)

    When user B click on NY he will see user A as search result
    When user C click on SF he will only see himself

    4) He use the buddy menu. This menu can be installed by going to dashboard > apparence > menu. If BP menu is not in the left side, under the other menus, open the screen option (top right corner) and check BuddyPress. Now you can set your BP menu like any other WordPress menu.
    https://codex.wordpress.org/WordPress_Menu_User_Guide

    When you’re new to something, you must read the documentation first. Also before asking on a help forum, you must search if your question wasn’t already asked and answered.

    Happy install ! 😉


    Chrisw83
    Participant

    @chrisw83

    For anyone looking. Here is an update.

    1) I have created a page and called it, Homeowners Directory. In buddypress I have selected this page to show the members directory Buddypress -> Pages -> Members. How do I change the title of this page from Members to something else?

    /wp-content/plugins/buddypress/bp-members/bp-members-loader.php

    ‘directory_title’ => _x( ‘Members’, ‘component directory title’, ‘buddypress’ ),

    Change Members to what you need.

    2) Currently on the Members Directory the members Name is shown, how do I add other profile fields here?
    (Note, I am using s2member)

    Add the following code below “><?php bp_member_name(); ?><br />

    Change street_address to your s2member profile ID.

    <?php
    $id400 = bp_get_member_user_id();
    $fields = get_s2member_custom_fields($id400);
    echo $fields[“street_address”][“user_value”];
    ?>

    /wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/members-loop.php

    4) When you click on and view someones profile, what file do I need to edit to add a Return button to go back to the members directory?

    /wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/member-header.php

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Members Directory’ is closed to new replies.
Skip to toolbar