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: 25312

    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: 25312
    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: 25312
    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: 25312

    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: 25312
    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: 25312

    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: 25312
    Brajesh Singh on in reply to: [Resolved] Link Page to Groups #17720
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25312
  • Keymaster
    (BuddyDev Team)
    Posts: 25312

    Hi Miles,
    The plugin is working for me. Most probably the types tab is hidden for you.

    Can you please click on “Screen Options” and see if “Types” Is checked in boxes. Please do it on Group Tabs-> Tab Contents-> Add/Edit content page.

    I am also posting a detailed guideline in an hour.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25312
    Brajesh Singh on in reply to: [Resolved] paiement with featured Member #17710

    Hi Herve,
    I will be looking at your code this weekend and updating you.

    Thank you
    Brajesh