BuddyDev

Search

Replies

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: Plugin issues #49831

    Hello Carsten,

    Use the following section of code in the function ‘mobile_menu_logged_in_likes_button’ :

    
    
    $show_count = '';
    
    	if ( $count ) {
    		$show_count = '<span class="bpuplike-like-count">' . $count . '</span>';
    	}
    
    	// Replace svg with your svg code.
    	return '<a href="' . esc_url( $like_link ) . '"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="currentColor" class="bi bi-search" viewBox="0 0 16 16">
    						<path d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z"/>
    					</svg>' . $show_count . '</a>';
    
    

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: Plugin issues #49823

    Hello Carsten,

    Sorry for the delayed reply. Please use the following code before the return statement of the ‘mobile_menu_logged_in_likes_button’ function:

    
    
    if ( ! $count ) {
         return;
    }
    
    

    It will hide the button if the count is empty

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: buddyblog group – tab is missing #49817
    This reply has been marked as private.
  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: [Resolved] Buddyblog change activity excerpt length #49791

    Hello Tosin,

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

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: Plugin issues #49790
    This reply has been marked as private.
  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: Buddyblog pay per post expiration issue #49789

    Hello Tosin,

    Sorry for the delayed reply. I have rechecked with HPOS enabled and it is working fine for me i.e. after one day of post publishing, The post is still sticky and marked as unsticky on time. Please try after deactivating all other plugins and custom codes temporarily. If the still persists please share a short video of the issue so that I can check.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: Plugin issues #49786

    Hello Carsten,

    I have checked on your site and it is working as expected. Please share a short video or screenshots of your requirement so that I can check.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: Plugin issues #49783

    Hello Carsten,

    Thank you for your clearance. I have checked on my local development server. By first liking a User 1 profile by User 2 in that case User 2 is listed in the User 1 profile ‘Received Likes’ tab and after unlike the User 1 profile by User 2 then the User 2 profile is not listed in the User 1 profile ‘Received Likes tab list.

    Please try after deactivating all other plugins temporarily or any other custom code. If the issue still persists please let me know.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: Plugin issues #49763

    Hello Carsten,

    It seems you have taken the ‘Unlike’ button wrongly it is there just to reset the ‘Like’ profile action if a user liked a profile unintentionally. No other specific purpose it has i.e. Unlike a Profile.

    Regards
    Ravi

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

    Hello Morten,

    Welcome to the BuddyDev Forums. Are you using BuddyPress or BuddyBoss Platform? Please let me know.

    Regards
    Ravi