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

    Hi Julia,
    I am sorry but blocking user accounts is beyond the scope of these plugins.

  • Keymaster
    (BuddyDev Team)
    Posts: 25295
    Brajesh Singh on in reply to: [Resolved] Media in comments #14477

    Hi Ben,
    I am sorry, I haven’t explored it yet. Will do by this Sunday and let you know. It has been demanded by more members and I am looking into it. It is coming for sure(most probably by Sunday).

    Regards
    Brajesh

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

    Thank you. For slider, I will explore the possibility. Since the views are in theme domain, our goal is to provide minimal css and avoid any issue.

    Will check and see if we can provide some kind of grind behaviour which is compatible with multiple themes.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25295

    Please check if your theme’s parent theme has buddypress/activity/post-form.php. If yes, please copy it to your child theme/buddypress/activity/post-form.php

    if it is not in your parent theme, you can copy it from wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/activity/post-form.pho to your child theme/buddypress/activity/post-form.php

    You can modify it then.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25295

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

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

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

    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