Replies
- Brajesh Singh on December 17, 2024 at 12:58 pm in reply to: [Resolved] How to REMOVE name autocomplete and ability to message multiple people #53897
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 - Brajesh Singh on December 17, 2024 at 12:16 pm in reply to: [Resolved] How to REMOVE name autocomplete and ability to message multiple people #53894
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 - Brajesh Singh on December 17, 2024 at 12:13 pm in reply to: Show correct count of members of member type after hiding current logged in user #53893
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 1 day, 8 hours ago by Brajesh Singh. Reason: My bad, I posted reply of another topic earlier
- Brajesh Singh on December 17, 2024 at 11:57 am 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
- Brajesh Singh on December 17, 2024 at 11:45 am in reply to: [Resolved] Change link address of forgot password on user edit page #53891
Hi Kevin,
Thank you for the reply.
I am glad you found the solution.Regards
Brajesh - Brajesh Singh on December 17, 2024 at 11:45 am 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 - Brajesh Singh on December 17, 2024 at 11:40 am in reply to: 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 - Brajesh Singh on December 17, 2024 at 11:39 am in reply to: BP Anonymous Activity doesn’t work with BuddyBoss #53888
Hi Karina,
Thank you for purchasing the plugin.
I have issued the refund for the same. This plugin is not compatible with BuddyBoss.Regards
Brajesh - Brajesh Singh on December 15, 2024 at 8:11 am in reply to: bug BuddyPress Profile Data Moderator #53808
Hi Jerome,
Thank you for purchasing from us.1. Are you using BuddyPress or BuddyBoss?
2. Which theme and template pack are you using (If using BuddyPress)3. Can you please link me to a screenshot showing the field setting(where you have enable moderation).
Please note that the plugin will not force moderation for admin users.
Regards
Brajesh - Brajesh Singh on December 14, 2024 at 7:26 pm in reply to: Add WP Recipe Maker functionality to the tool table of Recipe section #53798
Hi,
Thank you for using our plugin.I am sorry, BuddyBlog pro has no knowledge of the Recipe maker plugin. I believe the problem is recipe maker might be offering the functionality on backend post edit.
Can you please link us to the plugin to review its features?
Regards
Brajesh