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: 25468
    Brajesh Singh on in reply to: Conflict with BP Portfolio plugin #7534

    Hi Kristin,
    Are you on WordPress 4.7.x

    WordPress 4.7.x has an issue with non image media files. It will be fixed in WordPress 4.7.3

    Till then, Please try using
    https://wordpress.org/plugins/disable-real-mime-check/

    That should make it work.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25468
    Brajesh Singh on in reply to: Restrict privacy settings by media type #7533

    Hi Kristin,
    At the time of Gallery creation, the type of gallery is unknown, so we can not limit the privacy type dropdown there.

    It is feasible to conditionally set the status but that will make a bad UI here. We only allow filtering by Component(member/sitewide/groups) since it is known which component the gallery will be associated to.

  • Keymaster
    (BuddyDev Team)
    Posts: 25468

    Hi Cathy,
    Please give the following code try one more time

    
    
    function buddydev_exclude_users_in_bp_user_query( $query ) {
    
    	if ( ! function_exists( 'bp_profile_visibility_manager' ) ) {
    		return;
    	}
    
    	$excluded = bp_profile_visibility_manager()->get_users( 'bp_profile_visibility', 'self' );
    	//should we exclude friends only profile too?
    	$excluded = array_merge( $excluded, bp_profile_visibility_manager()->get_users( 'bp_profile_visibility', 'friends' ) );
    
    	$pre_excluded = empty( $query->query_vars['exclude'] ) ? array() : wp_parse_id_list( $query->query_vars['exclude'] );
    
    	if ( ! empty( $pre_excluded ) ) {
    		$excluded = array_merge( $excluded, $pre_excluded );
    	}
    
    	if ( ! empty( $excluded ) ) {
    		$query->query_vars['exclude'] = $excluded;
    	}
    
    }
    
    add_action( 'bp_pre_user_query_construct', 'buddydev_exclude_users_in_bp_user_query' , 100);
    
    

    All I have changed here is the priority and the checkl if there is something to exclude.

    Even the first code worked for me. When you set a profile as Only me(private) It is not visible in part of the previous/next navigation.

    It is possible that some other is overriding the exclude too, so changing the priority might work.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25468

    Hi Cathy,
    Apologies for the delayed reply.

    I am going to test it with the theme today and will report back with updated code.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25468

    You are welcome. Thank you for marking it resolved.

  • Keymaster
    (BuddyDev Team)
    Posts: 25468
    Brajesh Singh on in reply to: [Resolved] Buddypress Branded Login #7516

    Thank you.
    I am glad it is working for now. we will be looking at it again and update the docs accordingly.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25468

    Please check if the update has fixed it.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25468
    Brajesh Singh on in reply to: Feature: Featured members in different categories #7514

    Hi,
    The update is available now.

    It will allow you to filter the list by BuddyPress member types. We had to skip on WordPress roles since the bp_has_members() does not accept the role parameter. We could use BP_User_Query but that will break the Theme view.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25468

    Hi Jared,
    Thank you for reporting.

    Please do not buy the support package for the plugin. I will look into it today/tomorrow and will get back to you.

    Most probably, It is a BuddyPress issue as multi netrok does not play with routes, it simply changes the tables. I am still going to look and see what change in bp is causing it.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25468
    Brajesh Singh on in reply to: [Resolved] Buddypress Branded Login #7465

    Hi Matthias,
    Please login to the dashboard and create pages for
    – Logout
    -Login
    -Forgot Password.

    Then please visit Settings->BuddyPress->pages and assign these pages to the Login/logout/reset password pages there.

    That should make it work.

    Please do let me know if it works for you or not?

    Thank you
    Brajesh