BuddyDev

Search

Replies

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: Buddy Boss & Anonymous Posing Add-on Plugin #41575

    Hello RK,

    Sorry for the inconvenience. Please let me know what issue exactly you are facing i.e. Are you facing a problem in posting anonymous activity or activity comments? or Posted anonymous activity is not anonymous any more means showing posting user details.

    Please let me know so that I can help.

    Regards
    Ravi

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

    Hello Nifty,

    Sorry for the inconvenience and thank you for the suggestion. We will check the issue as well as the implementation feasibility and will update you.

    Regards
    Ravi

    • This reply was modified 3 years, 8 months ago by Ravi.
  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115

    Hello Niculae,

    Thank you for the acknowledgement. Sorry, But I can not help you much with this issue. For suggestion, Why don’t you disable the editor in the content field?

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: [Resolved] Recent Visitors #41528

    Hello Kiki,

    Please replace the following code with this:

    instead of

    
    // Replace this by user level name.
    	if ( $level && $level->name = 'gold' ) {
    		return true;
    	}
    

    use this comparison with level id.

    
    	// Replace this by user level name.
    	if ( $level && $level->ID == 1 ) {
    		return true;
    	}
    

    You can locate Level id using the following screenshot:

    https://www.awesomescreenshot.com/image/16481660?key=002369155b0b6d20f3ea154d40c58042

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: Create Group Tab Subnav for Subforums #41526

    Hello Nick,

    Please check the following screenshot:

    https://www.awesomescreenshot.com/image/16480708?key=71a3d5104d8b5df28d5315361d81949f

    ‘manage_forum_posts_custom_column’ is a dynamic action for “manage_{$post_type}_posts_custom_column”

    Actual hook

    
    do_action( "manage_{$post->post_type}_posts_custom_column", $column_name, $post->ID );
    

    Please check.

    Regards
    Ravi

    • This reply was modified 3 years, 8 months ago by Ravi.
  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: Create Group Tab Subnav for Subforums #41506

    Hello Nick,

    Try the following code. It will add a new column named “Shortcode” in the Forums list table screen admin section.

    
    // Add the custom columns to the book post type:
    add_filter( 'bbp_admin_forums_column_headers', 'buddydev_add_shortcode_column' );
    function buddydev_add_shortcode_column($columns) {
    	$columns['shortcode'] = __( 'Shortcode' );
    
    	return $columns;
    }
    
    // Add the data to the custom columns for the book post type:
    add_action( 'manage_forum_posts_custom_column' , 'buddydev_render_shortcode_column', 10, 2 );
    function buddydev_render_shortcode_column( $column, $post_id ) {
    	switch ( $column ) {
    
    		case 'shortcode' :
    			echo "[bbp-single-forum id={$post_id}]";
    			break;
    	}
    }
    

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: [Resolved] Recent Visitors #41505

    Hello Kiki,

    Please try the following code it will disable “Recent profile visits component” by Paid Membership Pro membership name.

    
    add_filter( 'visitor_is_enabled_for_user', function ( $is_enabled, $user_id ) {
    
    	if ( ! function_exists( 'pmpro_getOption' ) ) {
    		return $is_enabled;
    	}
    
    	$level = pmpro_getMembershipLevelForUser( $user_id );
    
    	// Replace this by user level name.
    	if ( $level && $level->name = 'gold' ) {
    		return true;
    	}
    
    	// All other cases return false.
    	return false;
    }, 10, 2 );
    

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: [Resolved] TikTok, YouTube #41504

    Thank you for contacting us.

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

    Hello Bruno,

    Thank you for posting.

    A)
    Using a plugin that allows selecting a group as parent groups. There are a few alternatives here

    https://github.com/dcavins/hierarchical-groups-for-bp
    or
    https://wordpress.org/plugins/bp-group-hierarchy/

    I will suggest trying the first and see if that works for you.

    B)
    For the Nouveau template pack please contact the theme author and ask them whether they support the Nouveau template pack or not.

    For any assistance please do let me know.

    Regards
    Ravi

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

    Hello Niculae,

    Thank you for the acknowledgement. Please update the following line of code:

    use

    
    $buttons = array_diff( $buttons, array( 'link', 'wp_more' ) );
    

    instead of

    
    $buttons = array_diff( $buttons, array( 'link' ) );
    

    Regards
    Ravi