BuddyDev

Search

Replies

  • Participant
    Level: Guru
    Posts: 900
    Tosin on in reply to: Code conflict #46408

    I just want two tabs in the activity directory page which are (News Feed/All Activities) and (Mentions) tab.
    I have removed all other tabs except the (following) tab what I want to achieve now is

    1. Remove the following tab in sitewide activity directory

    2. When a user logs in to the sitewide activity directory the activities of users im following is loaded and everything works smoothly but when I click on a different tab like (favorites tab) or (mentions tab) and click back to (All members tab) the content loaded now changes to activities of all members on the site instead of enforcing only the content of members im following.

    Im using legacy template

  • Participant
    Level: Guru
    Posts: 900
    Tosin on in reply to: Code conflict #46388

    Another reminder sir

    Thanks

  • Participant
    Level: Guru
    Posts: 900
    Tosin on in reply to: Code conflict #46314

    kind reminder boss

  • Participant
    Level: Guru
    Posts: 900

    Hi Brajesh

    This code no longer works

    
    /**
     * Assign (Sponsored Post) category to BuddyBlog pay per post articles on checkout.
     */
    add_action( 'bblpro_ppp_post_published', function( $post_id ) {
    	$post_type = get_post_type( $post_id );
    	if ( 'post' != $post_type ) {
    		return;
    	}
    	// Get category.
    	$newcat = get_term_by( 'name', 'Sponsored posts', 'category' );
    	if ( ! $newcat ) {
    		return;
    	}
    	wp_set_post_categories( $post_id, $newcat->term_id, true );
    } );
    
  • Participant
    Level: Guru
    Posts: 900
    Tosin on in reply to: buddyblog medium editor not displaying embeds #46260

    The embeds are working in the single post pages but when the video link is added via the editor the video preview does not show.

    see image below

    https://ibb.co/QD4Rr8w

  • Participant
    Level: Guru
    Posts: 900

    Hello,

    1. @ravisharma thanks for the update I have tested the plugin and everything works perfectly now.

    2. @brajesh your snippet also works smoothly for emptying cart.

    Thanks

  • Participant
    Level: Guru
    Posts: 900
    Tosin on in reply to: Code conflict #46240

    Gentle reminder sir

    Thanks

  • Participant
    Level: Guru
    Posts: 900

    Hi Brajesh

    I had to add the value (true) to get it to work

    WC()->cart->empty_cart( true );

  • Participant
    Level: Guru
    Posts: 900
    Tosin on in reply to: buddyblog medium editor not displaying embeds #46238

    Thanks Brajesh

    The issue with the space is now resolved

  • Participant
    Level: Guru
    Posts: 900
    This reply has been marked as private.