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

    What you are seeing is the auto suggestion for message and not the members list.

    For the message autocomplete, the following code should work

    
    
    /**
     * Filter and remove admin and logged in users from the message autocomplete box.
     *
     * @param array $user_ids user ids.
     *
     * @return array
     */
    function buddydev_filter_message_auto_complete_ids( $user_ids ) {
    	if ( empty( $user_ids ) ) {
    		return $user_ids;
    	}
    
    	$excluded = get_users( array( 'role' => 'administrator', 'fields' => 'ID' ) );
    
    	if ( is_user_logged_in() ) {
    		array_push( $excluded, get_current_user_id() );
    	}
    
    	return array_diff( $user_ids, $excluded );
    }
    add_filter( 'bp_core_autocomplete_ids', 'buddydev_filter_message_auto_complete_ids' );
    add_filter( 'bp_friends_autocomplete_ids', 'buddydev_filter_message_auto_complete_ids' );
    
    

    Best Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25394

    Hi Marcie,
    Thank you for the patience.

    I have change the way the plugin behaves. Instead of testing for capability, now we check for the roles from the higher level to lower. That makes it work in all conditions.

    Please upgrade to 1.0.1 and It will allow you setup it for individual levels.

    https://buddydev.com/plugins/mpp-s2member-storage-limit/

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25394
    Brajesh Singh on in reply to: Custom background #14462

    Thank you.

    It can still be applied partially if it helps. For example, if you want, we can apply to the white middle section below user header and menu.

    Applying on whole page will need us to set the background for multiple container element to transparent which is bound to cause other visual issues. That’s why I suggested against it.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25394
    Brajesh Singh on in reply to: Bulk Upload #14460

    Hi Andrew,
    welcome to BuddyDev.

    we don’t have any plugin for this.

    If you are able to create attachment out of it, you will be able to import it. MediaPress media is normal WordPress attachment with some extra properties.

    I will suggest looking into mpp_add_media() function for the same.

    Here is an example plugin we did to import from another gallery plugin in past.

    https://github.com/mediapress/mpp-bp-gallery-migrator

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25394

    Hi Paolo,
    The action you are looking for will be a JavaScript event. At the moment, the uploader does not provide a consistent javascript event. I will have this in this Sunday’s release and post back.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25394

    Hi Julia,
    The code above removes the functionality but the places where your theme or BuddyPress uses @ some-name in ui as text node is not removed.

    Your best bet is to translate your theme or BuddyPress to remove the text nodes displaying @somename.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25394
    Brajesh Singh on in reply to: How to make someone become featured members? #14457

    Hi Julia,
    Please see the documentation of the plugin. It allows you to copy the template and modify it as you please.

    The back-end button is a convenience and I will add it in future. I am thinking of a bulk update option is a better suit instead for backend.

    For your 2nd request, please customize the template.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25394
    Brajesh Singh on in reply to: Custom background #14456

    Hi Jill,
    Thank you.

    I was able to check(my password did not work but I used the older username/password combo you had given me on another topic).

    Your theme has background property set for almost all layers of container. It will be very difficult to get it working on body and there are 3-4 layers above that and they all have background colour set.

    If you are trying to apply it only to a section of the site, Please let me know and I can quickly check if that is feasible.

    The limitation in this case is that even if we apply the background layer if a layer above it has non transparent background set, the background will be hidden.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25394
    Brajesh Singh on in reply to: Display sitewide activity for followers only #14455

    Hi Tosin,
    At the moment, The FB Like User Activity Stream does not work on sitewide activity. Please allow me a week to release an update for the FB Like Activity Stream to support sitewide stream.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25394
    Brajesh Singh on in reply to: Custom background #14452

    Hi Jill,
    Thank you.

    Please link me to the site too.

    About MediaPress:- After your message, I have added support for it to work with the sitewide activity widget out of the box. It was 2 lines change in mediaPress
    https://github.com/buddydev/mediapress/commit/107bb01831ce3670274763c659de69cc0a550866

    I am planning to release it on Sunday(with a few more enhancements), so you will be able to use it after that.

    Thank you
    Brajesh