Shape the future of Social networking with WordPress: Join Project Midnight Sun! The next generation platform for community building with WordPress!

BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25496

    Hi Dianne,
    Thank you for using it. I am glad it worked.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25496

    Hi Nifty,
    Please try putting this in your bp-custom.php

    
    
    // filter blocked and blocked by user ids.
    add_filter( 'bp_rest_members_get_items_query_args', function( $args ) {
    
    	if ( ! is_user_logged_in() || is_super_admin() || ! function_exists( 'bublock_get_blocked_user_ids_for_user' ) ) {
    		return $args;
    	}
    
    	$excluded_users = isset( $args['exclude'] ) ? wp_parse_id_list( $args['exclude'] ) : array();
    
    	// All user ids blocked by me. only if blocker can not list blocked user profile.
    
    	$blocked_users = bublock_get_blocked_user_ids_for_user( bp_loggedin_user_id() );
    
    	if ( $blocked_users ) {
    		$excluded_users = array_merge( $excluded_users, $blocked_users );
    	}
    
    	// All user ids who has blocked logged in user only if blocked user profile not available.
    
    	$blocked_by_user_ids = bublock_get_blocked_by_user_ids_for_user( bp_loggedin_user_id() );
    	$excluded_users      = array_merge( $excluded_users, $blocked_by_user_ids );
    
    	if ( $excluded_users ) {
    		$args['exclude'] = array_unique( $excluded_users );
    	}
    
    	return $args;
    });
    
    

    Let me know if it works for you or not? This will filter out the blocked users/blocked by users.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25496

    Hi Iken,
    Please try contacting via the forums. Most of the developers(including us) are more comfortable with forum reply as it allows to manage the questions/issues in better way.

    For a 3rd party plugin, we will need to spend a lot more time going through them before assisting. That’s why hour policy is to limit the support to BuddyPress and our own plugins unless we specify compatibility.

    I hope you understand that.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25496

    Hi Jerise,
    Please visit Dashboard->mediaPress->Tools and share me the debug details.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25496

    Hi Audra,
    Thank you for the reply. I am glad that it worked.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25496
    Brajesh Singh on in reply to: Slow Upload #43742

    Hi Lisa,
    I am sorry, we haven’t released the plugin. The plugin will be available very soon(probably mid next week or early).

    We had to change the whole upload experience to accommodate comment attachment and It is still a work in progress as we rewrote the whole javascript part for the MediaPress. I am expecting it to have complete by this weekend and then spend 3-4 days next week testing with various themes/browsers before finally pushing it.

    Also, we had to drop the internal data model change(it won’t have any effect on UI), we will have it in 2.0 . That change will allow us to have uploads without any gallery.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25496

    Hi Iken,
    Please contact GamiPress support for assistance with it. They are in a lot better position to assit you quickly.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25496

    Hi Nifty,
    Thank you for using the plugin.

    There is no way to know if the request is for profile view or directory while using REST API.

    We can not apply the restrictions on the single profile view without co-ordination from the client app. For the listing, I will try to enforce it on members query and update you in next couple of days.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25496
    Brajesh Singh on in reply to: [Resolved] Profile page – sites #43728

    Thank you.

  • Keymaster
    (BuddyDev Team)
    Posts: 25496
    Brajesh Singh on in reply to: mediapress #43727

    Hi Giuseppe,

    Thank you for the patience.

    I had a look and it seems you were referring to media description on media list page(single gallery page). The problem was description for media is only available on single media page. I updated MediaPress template on your site to show it on the single gallery page too. It is visible now.

    The 600×600 setting is for the largest image size in your setting. The media list uses the thumbnail(which is set to 200×200 on your site). You can see the 600×600 image on single media page.

    Regards
    Brajesh