@chrisw83
10 years, 10 months ago
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