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: 25478
    Brajesh Singh on in reply to: [Resolved] Link Page to Groups #17742
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25478
    Brajesh Singh on in reply to: [Resolved] a bug on bp simple frontend post #17741

    Hi Bonga,
    I am sorry, it is due to BuddyBlog settings.

    Please visit Dashboard->settings-BuddyBlog and make sure you have a post selected. Save the settings(even if it is already selected) and that will fix it.

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

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25478
    Brajesh Singh on in reply to: [Resolved] BP Ajax registration – Ajax Login #17737

    Hi David,
    The update is available now. Please use it from here.

    https://buddydev.com/plugins/bp-ajax-registration/

    For the Ajax Upload avatar, there is no specific topic on the forum yet.

    PS:- The changes are in the template files as nonce field was part of the template.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25478

    Hi Kreatsya,

    Are you using some plugin to add captcha? BuddyBlog does not add it and I am guessing that the error is caused by that plugin.

    Also, can you please share me a screenshot of the add/edit post page? I have checked the upload and it is working for me.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25478
    Brajesh Singh on in reply to: [Resolved] Report Popup not completely visible #17732

    Thank you Carsten.
    Sincerely appreciate the kind words and the patience.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25478
    Brajesh Singh on in reply to: [Resolved] Link Page to Groups #17730

    Hi Chris,

    I am sorry but I am not sure what the problem is.

    Since you are liking page to group, The tabs are simply links to the actual page url. In WordPress, if you are using the Menu functionality, you can select these pages and add as you wish.

    There is nothing special about these pages. The links have no significance in relation to a group.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25478

    Hi Lukas,
    Welcome to BuddyDev forums.

    Thank you for sharing. It will certainly help others. I sincerely appreciate it.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25478
    Brajesh Singh on in reply to: [Resolved] buddyBlog media not showing in lightbox #17722

    Hi Richard,
    Thank you for clarifying.

    I am sorry but MediaPress lightbox only works with MediaPress uploaded media. It does not work with posts. It seems that’s the reason.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25478

    Hi Andi,

    Thank you.

    1. Here is a slightly cleaned code. The actual change is only one line(adding bp_is_user())

    
    
    /**
     * Filter Members list.
     *
     * @param string|array $qs query string.
     * @param string       $object object type.
     *
     * @return bool|string
     */
    function bpdev_exclude_users( $qs = '', $object = '' ) {
    	// list of users to exclude.
    
    	if ( $object != 'members' || bp_is_user() ) { // hide for members only in the directory.
    		return $qs;
    	}
    
    	$excluded_user = join( ',', bpdev_get_customer_user_ids() );//comma separated ids of users whom you want to exclude
    
    	$args = wp_parse_args( $qs );
    
    	// check if we are are listing friends?, do not exclude in this case.
    	if ( ! empty( $args['user_id'] ) ) {
    		return $qs;
    	}
    
    	// check if we are searching?, do not exclude in this case.
    	if ( ! empty( $args['search_terms'] ) ) {
    		return $qs;
    	}
    
    	if ( ! empty( $args['exclude'] ) ) {
    		$args['exclude'] = $args['exclude'] . ',' . $excluded_user;
    	} else {
    		$args['exclude'] = $excluded_user;
    	}
    
    	$qs = build_query( $args );
    
    	return $qs;
    }
    
    add_action( 'bp_ajax_querystring', 'bpdev_exclude_users', 20, 2 );
    
    function bpdev_get_customer_user_ids() {
    
    	$customers = get_users( array( 'role' => 'customer', 'fields' => 'ID' ) );
    
    	return $customers;
    }
    
    

    2. Are you using invite anyone? It is coming from that plugin most probably.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25478
    Brajesh Singh on in reply to: [Resolved] Link Page to Groups #17720
    This reply has been marked as private.