Define you BuddyPress Slugs
Add these lines of code to your wp-config.php file to rename the slugs of the buddypress components ( these are for the members slug and the groups slug )
define( 'BP_GROUPS_SLUG', 'companies' );
define( 'BP_MEMBERS_SLUG', 'volunteers' );
WordPress/BuddyPress – Meta title tag not working
If your buddypress child theme or customized parent theme does not work properly, in otherwords does you title tag output “[Blogname] – Blog” then use the code below to remedy the error.
Whats happening is if you use bp_title_tag() is will output the default string as seen above. If you lean towards using the WordPress conditional tags to test the pages, WordPress will see the BuddyPress pages as normal static pages.
Using bp_get_title_tag we can test to see if its a WordPress page or a BuddyPress page and use the appropriate title tag.
<title><?php
if ( is_home() ) { bloginfo('name'); echo ' | '; bloginfo('description'); }
elseif ( is_search() ) { bloginfo('name'); echo ' | '; _e('Search Results'); }
elseif ( is_author() ) { bloginfo('name'); echo ' | '; _e('Author Archives'); }
elseif ( is_single() ) { bloginfo('name'); echo ' | '; wp_title(''); }
// Entering the buddypress tags
elseif ( is_page() ) {
$page_title = rtrim(ltrim(bp_get_page_title()));
if ( $page_title == "[INSETRT YOUR WP_TITLE HERE] — Blog" ) { bloginfo('name'); echo ' | '; wp_title('');}
else{ bp_page_title(); }
}
elseif ( is_category() ) { bloginfo('name'); echo ' | '; _e('Archive'); echo ' | '; single_cat_title(); }
elseif ( is_month() ) { bloginfo('name'); echo ' | '; _e('Archive'); echo ' | '; the_time('F'); }
elseif (function_exists('is_tag')) { if ( is_tag() ) { bloginfo('name'); echo ' | '; _e('Tag Archive'); echo ' | '; single_tag_title("", true); } }
else { } ?></title>
Trouble with the Site Members Loop?
I have been having some trouble with the site members loop. Originally i had the template as normal, i simply changed the “type” variable to active for the widget loop. But what was heppening was the widget was being paginated aswell and only displaying the users that were on the Member-Directory column. ( Basically the widget was using the directories loop for information.)
The easiest way to overcome this error is to copy the widget code and place it in a file of its own, then simply call the file. I did that and got my loops to work independently.
Another thing to help would be to set the members directory loop to call all “alphabetical” users and not just the “active”, whats the point of having two loops calling recently active users.
Members Directory Files
Get just the link for the current logged in user
Any one who need to the the link for the current user. eg /member/admin or /member/warwick
Paste this code into the function.php for the theme and call it.
function bp_get_loggedinuser_link() {
global $bp;
if ( $link = bp_core_get_userlink( $bp->loggedin_user->id ) ) {
return apply_filters( 'bp_loggedinuser_link', $link );
}
}
Buddy Press Members Loop
If you want to creat your own buddpress Recently Active Members type widget, the guys over at BuddyPress have providede this handyguide.
This will help you create you own site memebers loop based on active, recent or online variables

