BuddyDev

Search

Replies

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: [Resolved] CSS to target avatar size? #50819

    Hello Michael,

    Yes, It will be the issue. You can use the following code in your active theme “functions.php” file.

    
    add_filter( 'bbp_after_get_topic_author_link_parse_args', function ( $args ) {
    
    	// Restrict checking for widget size might conflict.
    	if ( isset( $args['size'] ) && 14 == $args['size'] ) {
    		$args['size'] = 60;
    	}
    
    	return $args;
    } );
    
    

    Please give it a try with this code.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115

    Hello Tosin,

    Thank you for the acknowledgement. I will check and let you know.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: [Resolved] CSS to target avatar size? #50811

    Hello Michael,

    Thank you for posting. Please try the following CSS rule and let me know if it works or not.

    
    .bbp-topics-widget span.bbp-author-avatar img {
        width: 60px;
        height: 60px;
    }
    

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115

    Hello Tosin,

    I have checked and found that The cart is set to empty already by WooCommerce as soon as the order is placed. Please also check for the order status ‘processing’ and ‘on-hold’.

    Order deletion can be accomplished in this case.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115

    Hello Tosin,

    I will give it a try today and will let you know.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115

    Hello,

    Please try to switch to the default theme and check whether the profile data is showing.

    Note: Please ensure you have updated the field name in the code as per your field name.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115

    Hello Tosin,

    Try the following code:

    
    function delete_pending_post_order( $post_id, $post ) {
    
    	if ( empty( $post->post_type ) || 'post' !== $post->post_type ) {
    		return;
    	}
    
    	if ( ! function_exists( 'bbl_ppp_get_post_order_id' ) || ! function_exists( 'wc_get_order' ) ) {
    		return;
    	}
    
    	$order_id = bbl_ppp_get_post_order_id( $post_id );
    
    	if ( $order_id ) {
    		$order = wc_get_order( $order_id );
    
    		if ( $order && in_array( $order->get_status(), array( 'pending', 'draft' ) ) ) {
    			$order->delete( true );
    		}
    	}
    }
    
    add_action( 'before_delete_post', 'delete_pending_post_order', 10, 2 );
    
    

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115

    Hello Tosin,

    Thank you for the posting. Deleting the associated order with the post is not a good idea as there might be more products associated with the order which will cause issues. So it will be good to delete it manually if necessary.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: API #50501

    Hello Paul,

    Thank you for using the plugin. The Blogs created using BuddyBlog Pro are normal WordPress blogs so you can use any plugin which allows WordPress post import/export. Check under the Tools > Import section of the admin dashboard You will find the name ‘WordPress’ and to export blogs check Tools > Export. Give it a try and let me know if it helps or not.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: [Resolved] MediaPress edit/delete visibility issue #50496

    Hello Iain,

    Thank you for the acknowledgement. I am glad to help you.

    Regards
    Ravi