@mohdumar1654
2 years, 8 months ago
@geetestdevelop,
Try checking in the Settings -> Buddypress if the components are active.
2 years, 9 months ago
@jkgbs Try checking the active Buddypress components in backend Go to, Admin Dashboard -> Setting -> BuddyPress
@jozidd Try this,
// For logged in user // $user_id = get_current_user_id(); // For displayed user // $user_id = bp_displayed_user_id(); $url = get_edit_profile_url( $user_id );
@r1lita Try using this,
add_filter( 'bp_members_pagination_count', 'modify_members_listing_pagination_string' ); function modify_members_listing_pagination_string( $pag ) { // $pag = 'Custom string'; return $pag; }
2 years, 11 months ago
Try this,
$user_id = get_current_user_id(); $user_data = BP_XProfile_ProfileData::get_all_for_user( $user_id );
3 years ago
$activity = new BP_Activity_Activity( $activity_id ); if ( is_object( $activity ) && 'activity_update' === $activity->type && 'groups' === $activity->component ) { $group_id = $activity->item_id; }
add_filter('show_admin_bar', 'is_blog_admin');
$args = array( 'item_id' => get_current_user_id(), 'object_dir' => 'members', ); $attachment_url = bp_attachments_get_attachment( 'url', $args );
Hi @deusebio,
It is possible to add custom filters in members directory, you can use bp_directory_members_search_form hook to add your custom fields.
bp_directory_members_search_form
Then you can add custom code to 'members_filter' ajax to get the filtered members.
'members_filter'