Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 10 replies - 1 through 10 (of 10 total)

  • Mohd Umar
    Participant

    @mohdumar1654

    @geetestdevelop,

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


    Mohd Umar
    Participant

    @mohdumar1654

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


    Mohd Umar
    Participant

    @mohdumar1654

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

    Mohd Umar
    Participant

    @mohdumar1654

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

    Mohd Umar
    Participant

    @mohdumar1654

    Try this,

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

    Mohd Umar
    Participant

    @mohdumar1654

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

    Mohd Umar
    Participant

    @mohdumar1654

    Try this,

    add_filter('show_admin_bar', 'is_blog_admin');


    Mohd Umar
    Participant

    @mohdumar1654

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

    Mohd Umar
    Participant

    @mohdumar1654

    Try this,

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

    Mohd Umar
    Participant

    @mohdumar1654

    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