Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 10 replies - 1 through 10 (of 10 total)
  • @mohdumar1654

    Participant

    @geetestdevelop,

    Try checking in the Settings -> Buddypress if the components are active.

    @mohdumar1654

    Participant

    @jkgbs Try checking the active Buddypress components in backend
    Go to,
    Admin Dashboard -> Setting -> BuddyPress

    @mohdumar1654

    Participant

    @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 );
    

    @mohdumar1654

    Participant

    @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;
    }

    @mohdumar1654

    Participant

    Try this,

    $user_id   = get_current_user_id();
     $user_data = BP_XProfile_ProfileData::get_all_for_user( $user_id );

    @mohdumar1654

    Participant

    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;
    }

    @mohdumar1654

    Participant

    Try this,

    add_filter('show_admin_bar', 'is_blog_admin');

    @mohdumar1654

    Participant

    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;
    }

    @mohdumar1654

    Participant

    Try this,

    $args           = array(
    	'item_id'    => get_current_user_id(),
    	'object_dir' => 'members',
    );
    $attachment_url = bp_attachments_get_attachment( 'url', $args );

    @mohdumar1654

    Participant

    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)
Skip to toolbar