Replies
- Brajesh Singh on March 30, 2023 at 7:50 pm in reply to: [Resolved] BuddyPress Auto Activate Auto Login issues #49021This reply has been marked as private.
- Brajesh Singh on March 30, 2023 at 7:38 pm in reply to: [Resolved] BuddyBlog pay per post – remove post from category on expiration #49020
Hi Tosin,
Thank you for the question.You may try the following.
add_action( 'bblpro_ppp_purchased_post_expired', function ( $post_id ) { $post_type = get_post_type( $post_id ); if ( 'post' !== $post_type ) { return; } wp_remove_object_terms( $post_id, 'Sponsored Posts', 'content_type' ); } );
Also, you may change the term name with the term slug for better result.
Regards
Brajesh - Brajesh Singh on March 30, 2023 at 7:31 pm in reply to: [Resolved] Activity plus reloaded—more than one video will post #49019
Hi,
You may use the following code to disable the oembed in activity post and comments.add_filter( 'bp_use_oembed_in_activity', '__return_false' ); add_filter( 'bp_use_embed_in_activity_replies', '__return_false' );
Regards
Brajesh Hi Van,
Welcome to BuddyDev support forums.BuddyBlog posts are normal blog posts and you can use any of the WordPress post listing plugin/shortcode for this purpose.
Regards
BrajeshHi Thomas,
Thank you for your patience.
Please upgrade to the latest version of the plugin. It supports v3 now.Regards
Brajesh- Brajesh Singh on March 30, 2023 at 7:16 pm in reply to: [Resolved] BuddyPress Editable Activity UTF-8 #49016
Hi Tomas,
Thank you for confirming.Our team will be testing it tomorrow and we will be writing back with a solution/more details.
Regards
Brajesh Hi Carsten,
I am sorry, that is coming from avatar attributes and that’s why you are unable to change.1. have you changed the avatar thumb size? It seems that BuddyPress is still utilizing the size ’50px’ for thumb leading to the issue.
Regards
Brajesh- Brajesh Singh on March 30, 2023 at 7:08 pm in reply to: Slug to use to remove the “profile” subnav menu item. #49014
Hi Carsten,
This works fine for me.add_action( 'wp', function () { bp_core_remove_subnav_item( 'profile', 'public' ); } );
Please do note that it will break access to user’s profile view as the ‘public’ is the default sub nav for profile.
Also, here is a slightly better version to avoid fatal errors when BP is disabled.add_action( 'wp', function () { if ( function_exists( 'bp_core_remove_subnav_item' ) ) { bp_core_remove_subnav_item( 'profile', 'public' ); } } );
Regards
Brajesh - Brajesh Singh on March 29, 2023 at 11:36 pm in reply to: [Resolved] Activity plus reloaded—more than one video will post #49009
Thank you for sharing the details.
The replies use different filter than activity post. I will look into it in the day and share.
I may not be able to assist you with domain black listing as there is not a simple filter for that. It is doable but is beyond the time we provide assistance here.Regards
Brajesh Just had a look at your screenshot and you can see the last rule is forcing 50px.
Regards
Brajesh