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: 25485
    Brajesh Singh on in reply to: BuddyPress Moderations Tools #31489

    Hi Manuel,
    I am sorry for the inconvenience.

    1. Are you using BuddyDev dashboard for update? If yes, Please make sure to verify the keys are configured correctly.

    I have seen this issue only with incorrect keys in past.

    PS:- You can delete and re upload. That will not cause any loss of data or setting.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485
    Brajesh Singh on in reply to: Excluding a role from all BuddyPress listings #31483

    Hi Jemima,
    I am sorry for the delayed reply. I wanted to take a look at the invite code before replying.

    To achieve this in nouveau is not simple. The developers have made sure to use every bad trick available in the book.

    The seems to be only possible strategy that you add an ajax handler which has higher priority and hook to ‘wp_ajax_groups_get_group_potential_invites’

    The handler needs to copy code from the function ‘bp_nouveau_ajax_get_users_to_invite’ and exclude users there.

    It seems like a not so well thought implementation for now.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485
    Brajesh Singh on in reply to: buddycircle #31482

    Hi,
    Thank you for the question.

    There is no option available currently. We are adding it in our next release.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485
    Brajesh Singh on in reply to: Hide a member type in Profile Search Forms #31481

    Hi Ramon,
    Thank you for the reply.


    @ravisharma
    will be assisting you with it tomorrow.

    About activity stream:- The plugin doe snot hide any user from activity stream as there is no efficient way to do it.

    If you still want to do it, Ravi or I may be able to put some code in couple of days. Please let me know if you want to proceed with it.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25485
    Brajesh Singh on in reply to: [Resolved] Hide Logged In User Member Card #31476

    Hi Steven,

    Thank you for the question.

    Please use the following code in your bp-custom.php

    
    
    /**
     * Exclude Logged Users from BuddyPress Members List.
     *
     * @param array $args args.
     *
     * @return array
     */
    function buddydev_exclude_logged_user( $args ) {
    	// do not exclude if not logged in or in admin.
    	if ( ! is_user_logged_in() || ( is_admin() && ! defined( 'DOING_AJAX' ) ) ) {
    		return $args;
    	}
    
    	$excluded = isset( $args['exclude'] ) ? $args['exclude'] : array();
    
    	if ( ! is_array( $excluded ) ) {
    		$excluded = explode( ',', $excluded );
    	}
    
    	$excluded[]      = get_current_user_id();
    	$args['exclude'] = $excluded;
    
    	return $args;
    }
    
    add_filter( 'bp_after_has_members_parse_args', 'buddydev_exclude_logged_user' );
    
    

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    Hi Tosin,
    you are using the plugin for a 3rd party vendor. I will suggest asking them.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485
    Brajesh Singh on in reply to: [Resolved] plugin #31472
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    Thank you.

    Have already added it. will release sometimes in the morning tomorrow.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485
    Brajesh Singh on in reply to: [Resolved] Profile #31470

    Hi Ankit,
    Did you search before asking?

    Here is how to find it.
    https://lmgtfy.com/?q=buddypress+profile+search

    We will appreciate if you put some effort before creating topics here.

    Thank you
    Brajesh