Replies
Hello Kir,
Sorry for the inconvenience. I will check it and will update you soon.
Regards
Ravi- Ravi on December 8, 2023 at 5:32 pm in reply to: [Resolved] Group Members Temporary Friendships #51037
Hi Dianne,
Please look at the following screenshot:
https://tinyurl.com/yrq8lkn4You can see this setting under Group > Manage > Settings.
Have you tried this setting and allowed group members to send messages?
You will see the following screen after allowing
https://tinyurl.com/yu9nvonlRegards
Ravi - Ravi on December 7, 2023 at 4:53 pm in reply to: Changing wording on error message – Testimonials plugin #51023
Hello Sarah,
Welcome to the BuddyDev Forums. You can achieve the same with any translator plugin. Please give it a try and let me know if everything goes well or not.
Regards
Ravi - Ravi on December 7, 2023 at 4:36 pm in reply to: Matching Criteria on Friends Suggestion Not Displaying Properly in Admin #51022
Hi Aurea,
Thank you for reporting the issue.
Please upgrade your plugin version to 1.1.1 and give it a try.
Plugin Url: https://buddydev.com/plugins/buddypress-friends-suggestions-pro/
Regards
Ravi - Ravi on December 7, 2023 at 6:41 am in reply to: In BuddyBlog pro, I want to write a post in private not publish #51015
Hello Fredrick,
Sorry for the inconvenience. I will check it by today and will let you know soon.
Regards
Ravi - Ravi on November 22, 2023 at 6:42 am in reply to: [Resolved] Attribute post on account deletion in buddypress #50914
Hello Tosin,
Thank you so much for your kind words! I’m really glad I could help.
Regards
Ravi Hello,
Yes, We are working on it to support BuddyPress 12. We will let you know soon.
Regards
RaviHello Tosin,
Use the following code to reset post count
// Reset post count. function custom_delete_user_posts_count( $post_id ) { delete_transient( 'custom_user_post_count_' . get_post_field( 'post_author', $post_id ) ); } add_action( 'bblpro_post_submitted', 'custom_delete_user_posts_count' ); add_action( 'bblpro_post_updated', 'custom_delete_user_posts_count' );
Use the following code to fetch featured user ids:
$featured_user_ids = get_users( array( 'fields' => 'ID', 'number' => - 1, 'meta_key' => '_is_featured', ) );
Please give it a try
Regards
Ravi- Ravi on November 21, 2023 at 7:23 am in reply to: [Resolved] Attribute post on account deletion in buddypress #50908
Hello Tosin,
Please try the following code
function reassign_posts_on_user_deletion_to_ghostwriter( $user_id ) { // Check if the deleted user is not the target user (466526) if ( $user_id !== 466526 ) { $args = array( 'post_type' => 'post', 'author' => $user_id, // Posts authored by the deleted user 'posts_per_page' => - 1, // Get all posts 'fields' => 'ids', // Retrieve only post IDs 'post_status' => 'publish',// Only published posts ); $posts = get_posts( $args ); // Reassign published posts to user with ID 466526 foreach ( $posts as $post_id ) { // As we are fetching only published posts of the deleted user. // $post_status = get_post_status( $post_id ); // if ( $post_status === 'publish' ) { wp_update_post( array( 'ID' => $post_id, 'post_author' => 466526, 'comment_status' => 'closed', ) ); //} } } } add_action( 'bp_core_pre_delete_account', 'reassign_posts_on_user_deletion_to_ghostwriter', 10, 1 );
You can make commenting disabled at the time of re-assigning the published post. Please give it a try.
Regards
Ravi Hello Rik,
Thank you for posting. Have you looked at the following plugins:
For login redirect
https://buddydev.com/plugins/bp-redirect-to-profile/For changing username:
https://buddydev.com/plugins/bp-username-changer/Please take a look and let me know if it helps or not.
Regards
Ravi