@mohdumar1654
Active 5 months, 1 week ago
Forum Replies Created
Viewing 10 replies - 1 through 10 (of 10 total)
-
Try checking in the Settings -> Buddypress if the components are active.
@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; }
Try this,
$user_id = get_current_user_id(); $user_data = BP_XProfile_ProfileData::get_all_for_user( $user_id );
Try this,
$activity = new BP_Activity_Activity( $activity_id ); if ( is_object( $activity ) && 'activity_update' === $activity->type && 'groups' === $activity->component ) { $group_id = $activity->item_id; }
Try this,
add_filter('show_admin_bar', 'is_blog_admin');
Try this,
$activity = new BP_Activity_Activity( $activity_id ); if ( is_object( $activity ) && 'activity_update' === $activity->type && 'groups' === $activity->component ) { $group_id = $activity->item_id; }
Try this,
$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.Then you can add custom code to
'members_filter'
ajax to get the filtered members.
Viewing 10 replies - 1 through 10 (of 10 total)