BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 24850
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 24850
    Brajesh Singh on in reply to: BP Deactivate Account – Bugs #53903

    Hi Katrine,
    Thank you for your patience.

    1. Global search issue:- Can you please provide me more details about the issue, your Global search settings and deactivate account settings and how to reproduce it. I tried it today and I could not reproduce it.

    3. You can override but it will be gone in next update of that plugin. will suggest posting it to the plugin/theme author for adding it in future update.

    5. I am sorry, the activity privacy is not supported beyond Community Builder pro by us.

    I have enabled the role whitelisting here
    https://github.com/buddydev/bp-profile-completion
    Can you please check and let me know if it works for you?

    I am still looking into Anonymous activity and MediaPress.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 24850

    Thank you for confirming.
    I am glad it worked!

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 24850

    Hi Stephanie,
    You are welcome.

    Yes, you can restrict to one participant.

    Here is the code for that.

    
    
    /**
     * Limit message to one participant
     */
    add_action( 'wp_ajax_messages_send_message', function () {
    	if ( empty( $_POST['send_to'] ) || ! is_array( $_POST['send_to'] ) ) {
    		return;
    	}
    
    	if ( count( $_POST['send_to'] ) > 1 ) {
    		wp_send_json_error( array(
    			'type'     => 'error',
    			'feedback' => 'Only one participant is allowed.'
    		) );
    	}
    
    }, 1 );
    
    

    Hope that helps.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 24850

    Hi Stephanie,
    Thank you for the question.

    If you are using BuddyPress legacy template pack, It is very easy to do

    
    
    /**
     * Disable auto complete for messages.
     */
    add_action( 'wp_ajax_messages_autocomplete_results', function () {
    	exit;
    }, 1 );
    
    

    In case of Nouveau, there is no way on server side to identify if the request came from message component or somewhere else. The client side code that enables it is hidden deep in the javascript. While it is certainly doable in nouveau too, It is very much prone to error.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 24850

    Hi Stephanie.
    Thank you for the question.

    Since the plugin in question is from WBCom, I will suggest reaching out to them. Removing the count for the logged user is not difficult but I am not sure if the plugin in question provides a hook or not for filtering count. The original developers are in much better position to assist.

    Regards
    Brajesh

    • This reply was modified 2 months, 3 weeks ago by Brajesh Singh. Reason: My bad, I posted reply of another topic earlier
  • Keymaster
    (BuddyDev Team)
    Posts: 24850
    Brajesh Singh on in reply to: Group Tab Dynamic Content Gutenberg Editor Support #53892

    Hi Roger,
    Thank you.

    You can use the following snippet to enable it.

    https://gist.github.com/sbrajesh/deafa55811988fd678d19d919094f47d

    Hope that helps.

    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 24850

    Hi Kevin,
    Thank you for the reply.
    I am glad you found the solution.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 24850
    Brajesh Singh on in reply to: bug BuddyPress Profile Data Moderator #53890

    Hi Jerome,
    Thank you for the details.

    I logged to their demo and I see they have a very customized template for the profile.

    Can you please provide me access to this theme, I can look into it and have a better idead on how to add compatibility.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 24850
    Brajesh Singh on in reply to: [Resolved] Issue with Profanity Blocker not working #53889

    Hi Antonio,
    Thank you for using the plugin.

    Your settings are correct. It seems the theme is not using BuddyPress standards filters.

    Which theme and template pack are you using? Please share the details and I will assist.

    Thank you
    Brajesh