BuddyDev

Search

Replies

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

    Hello Micael,

    Thank you for sharing the code. Please try the following code for hiding Add Friend button in the friends list.

    
    add_action( 'bp_before_friends_loop', function() {
    	add_filter( 'bp_get_add_friend_button', '__return_empty_array' );
    } );
    
    add_action( 'bp_after_friends_loop', function () {
    	remove_filter( 'bp_get_add_friend_button', '__return_empty_array', 10 );
    } );
    
    

    Please check.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: [Resolved] Buddyblog post views counter #44319

    Hello Tosin,

    Please try the following code instead of calling the direct function as mentioned by the plugin author.

    
    echo do_shortcode( '[post-views]' );
    

    You can pass the ‘id’ if not work.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: [Resolved] Lost-Password redirect error #44316

    Hello Mac,

    Thank you for posting. We will look at this and will acknowledge you within 24 hrs.

    Regards
    Ravi

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

    Hello Michael,

    Welcome to the BuddyDev Forums. Please share the code you are using to hide Buttons so that I can help you.

    Do you want to complete hide this button only or do want to disable the friends and message feature also?.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: LearnDash Course tab position #44314

    Hello Kathy,

    Sorry for the inconvenience. I have checked on my local server by moving to the BuddyBoss Videos tab in front of the profile tab and it is working fine for me.

    Please have a look at the following screenshot:
    https://www.awesomescreenshot.com/image/25348909?key=e4e6d1451156cda56ae130759628dc74

    Let me know if helps you or not.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: Shortcode groupe #44313

    Hello,

    Thank you for posting. Please visit Dashboard > Settings > Pages > Directories > User Groups and associate a page for site groups and check if you are able to access Site groups or not.

    Please make sure you have some groups on your site.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: [Resolved] Buddyblog post views counter #44311

    Hello Tosin,

    Thank you for your acknowledgement. I have rechecked this on my local development server and it is working fine for me. Please have a look:

    https://www.awesomescreenshot.com/image/25345015?key=d592c187c63529f4afc2015e70945eeb

    Please try after switching to the default theme temporarily and let me know if it is showing there or not.

    Please make sure you have selected the post type under plugin settings > Display > Post Type.

    Regards
    Ravi

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

    Hello Chris,

    Thank you for using the plugin. I have updated the country list in the plugin. We will update you within 24 hrs regarding the release.

    Please check the commit URL and let me know if I added the correct country code:
    https://github.com/buddydev/bp-xprofile-custom-field-types/commit/6ed56b3b1b9c209c1d2187e5ed89204ae1226f2b

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: [Resolved] Buddyblog post views counter #44292

    Hello Tosin,

    Try the following code:

    
    add_filter( 'pvc_display_views_count', function( $display ) {
    
    	if ( ! function_exists( 'buddyblog_pro' ) ) {
    		return $display;
    	}
    
    	$pvc = Post_Views_Counter();
    
    	if ( empty( $pvc->options['display'] ) || empty( $pvc->options['display']['post_types_display'] ) ) {
    		return $display;
    	}
    
    	$current_post_type = bblpro_get_current_post_type();
    
    	if ( ! $display && $current_post_type && in_array( $current_post_type, (array) $pvc->options['display']['post_types_display'] ) ) {
    		$display = true;
    	}
    
    	return $display;
    } );
    
    add_filter( 'the_excerpt', function ( $excerpt ) {
    
    	if ( ! function_exists( 'Post_Views_Counter' ) ) {
    		return $excerpt;
    	}
    
    	return Post_Views_Counter()->frontend->add_post_views_count( $excerpt );
    } );
    
    

    It will append the view count on the archive page.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: [Resolved] Edit profile tab #44291

    Hello Giuseppe,

    Thank you for your acknowledgement. Please check the profile of a user with a different user who is not an administrator and let me know if the listing tab is seen by that user or not.

    Shared image is not accessible to me.

    Regards
    Ravi