BuddyDev

Search

Replies

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

    Hello Armyofyouth,

    Please try this link while logged-in. It will work.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: read only access to private groups. #24988

    Hello Keith,

    Thank you for posting. BuddyPress Member Types Pro plugin plays arround BuddyPress Member type features. It allows you to add user to groups based on their member type But it does not restrict or allow user to group tabs visibility. You can try BuddyPress groups tabs pro

    https://buddydev.com/plugins/buddypress-group-tabs-creator-pro/

    Regards
    Ravi

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

    Hello Vivek,

    Thank you for posting. Try the following code to remove activities of user from activity directory.

    
    add_filter( 'bp_after_has_activities_parse_args', function( $args ) {
    
    	if ( ! bp_is_activity_directory() ) {
    		return $args;
    	}
    
    	$args['filter_query'][] = array(
    		'column' => 'user_id',
    		'value' => '1,4',  // Replace by your user ids.
    		'compare' => 'NOT IN',
    	);
    
    	return $args;
    } );
    
    

    Please let me know if it works or not.

    Regards
    Ravi

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

    Hello Audiomonk,

    Thank you for the information. I have checked with above mentioned SEO framework and find that our cannonical link formation is same as single media page. You can the following url for refrenece.

    http://demos.buddydev.com/t1/members/admin/mediapress/fisrt-photo-gallery/171005_16_17_28_5dsr1733-0/

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: [Resolved] Wow! Great plugin. Just one more question #24939

    Hello Terry,

    Thaank you posting. One question are you storing the extracted cover image using WordPress?. Please let me know.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: [Resolved] Buddypress Anonymous Activity #24920

    Hello Nicola,

    Sorry for the delayed reply please change the following line

    
    return ! in_array( bp_get_current_group_id(), $anonymous_groups );
    
    

    with

    
    return in_array( bp_get_current_group_id(), $anonymous_groups );
    

    it will show ui on selected groups. Let me know if works or not

    Regards
    Ravi

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

    Hello calu,

    I have checked and it is working for me message pope up showing on both compose screeen as well as reply form. Please check the screen shot

    https://ibb.co/CV6HYSs

    Regards
    Ravi

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

    Hello Ricardo,

    Thank you for posting. Please use the following code to make featured members tab as default.

    
    /**
     * Set default activity directory tab for BuddyPress
     */
    function buddydev_custom_set_default_members_directory_tab() {
    	// If user is not logged in or
    	// If the scope is already set, do not do anything ok.
    	if ( ! function_exists( 'bp_featured_members' ) || isset( $_COOKIE['bp-members-scope'] ) ) {
    		return ;
    	}
    
    	// additional check for members dir
    	if ( ! bp_is_members_directory() ) {
    		return ;
    	}
    
    	setcookie( 'bp-members-scope', 'featured',null, '/' );
    	$_COOKIE['bp-members-scope'] = 'featured';
    }
    add_action( 'bp_template_redirect', 'buddydev_custom_set_default_members_directory_tab' );
    

    To make feauted tab as first position. You have to override members/index.php template.

    just copy the template from plugin directory to active theme directory path like

    
    buddypress/members/index.php
    

    and put the action

    
    	<?php
    
    				/**
    				 * Fires inside the members directory member types.
    				 *
    				 * @since 1.2.0
    				 */
    				do_action( 'bp_members_directory_member_types' ); ?>
    

    above the following line

    
    <li id="members-all">
    

    Please let me know if it works or not.

    Regards
    Ravi

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

    Hello Mike,

    Thank you for the posting. Please test with default theme if still got the issue try with only BuddyPress and BuddyPress Profile Completion plugin active and let me know if it works or not.
    There might be chances that your theme or any custom pluign causing the issue.

    Regards
    Ravi

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

    Hello Audiomonk,

    Please try the latest plugin I have made some changes to it and let me know.

    https://github.com/mediapress/mpp-social-share/archive/master.zip

    Regards
    Ravi