BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25090
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25090

    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

  • Keymaster
    (BuddyDev Team)
    Posts: 25090

    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

  • Keymaster
    (BuddyDev Team)
    Posts: 25090
    Brajesh Singh on in reply to: Shortcode for Buddyblog #49018

    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
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25090
    Brajesh Singh on in reply to: Buddypress User Contact Form #49017

    Hi Thomas,
    Thank you for your patience.
    Please upgrade to the latest version of the plugin. It supports v3 now.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25090
    Brajesh Singh on 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

  • Keymaster
    (BuddyDev Team)
    Posts: 25090
    Brajesh Singh on in reply to: Blurry-avatar-images #49015

    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

  • Keymaster
    (BuddyDev Team)
    Posts: 25090

    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

  • Keymaster
    (BuddyDev Team)
    Posts: 25090

    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

  • Keymaster
    (BuddyDev Team)
    Posts: 25090
    Brajesh Singh on in reply to: Blurry-avatar-images #49008

    Just had a look at your screenshot and you can see the last rule is forcing 50px.

    Regards
    Brajesh