Shape the future of Social networking with WordPress: Join Project Midnight Sun! The next generation platform for community building with WordPress!

BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25478

    Hi Kerem,

    Thank you for asking.

    Please use the following code

    
    
    /**
     * Disable all items from adminbar except the BuddyPress User Menu and notifications for the logged in user.
     */
    function buddydev_remove_adminbar_items() {
    	global $wp_admin_bar;
    
    	if ( ! is_user_logged_in() || ! is_admin_bar_showing() ) {
    		return;
    	}
    
    	$nodes = $wp_admin_bar->get_nodes();
    
    	if ( empty( $nodes ) ) {
    		return;
    	}
    
    	foreach ( $nodes as $node_id => $node ) {
    		if ( $node->parent ) {
    			continue;// we will only remove top leel nodes.
    		}
    
    		if ( 'top-secondary' !== $node_id ) {
    			$wp_admin_bar->remove_node( $node_id );
    		}
    	}
    
    	// Comment this line to keep search in the admin bar.
    	$wp_admin_bar->remove_node( 'search' );
    
    }
    
    add_action( 'wp_before_admin_bar_render', 'buddydev_remove_adminbar_items', 2000001 );
    
    

    That will do it.

  • Keymaster
    (BuddyDev Team)
    Posts: 25478

    Hi Carsten,
    I don’t think that any issue is caused by the BP Friends suggest. Please use WP Staging plugin to create a staging environment and then check again.

    Like I showed you in my tests earlier, I don’t see the issue. If you can help me reproduce it, I will provide a solution.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25478
    Brajesh Singh on in reply to: [Resolved] Buddyblog draft #17883

    Hi Kreatsya,
    I am sorry, there is no draft facility in BuddyBlog. It was planned for pro but due to other priorities, that version is far from complete.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25478
    Brajesh Singh on in reply to: [Resolved] Allow user to upload images #17882

    Hi Saxena,
    Are you allowing your user to create gallery? If a user has created gallery, only then it will be listed for them.

    Are you using the create gallery shortcode to allow users create galleries?

    For allowing to all gallery they want to, sorry, there is no such shortcode. If all your galleries are global gallery, the n you can use

    
    [mpp-list-gallery component=sitewide] 
    

    to list all siewide galleries and let users visit individual gallery and upload.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25478

    Hi Carsten,
    I am sorry but I am unable to reproduce your issue.

    Here are a few screenshots to show it working

    1. Site admin user without any friend suggestion(twentysixteen theme)
    https://i.imgur.com/1Ulp9OT.png

    2. Normal user with friends suggestion(twentysixteen theme)
    https://i.imgur.com/28jCE9g.png

    It is working in both the cases. Also, I don’ see anything in the plugin that can cause the issue. Is it some js error?

  • Keymaster
    (BuddyDev Team)
    Posts: 25478

    Hi Richard,
    Thank you.

    It’s good to know that 🙂

  • Keymaster
    (BuddyDev Team)
    Posts: 25478

    Hi Carsten,
    I see, you are referring to the avatar upload page. Let me try that in 30 mins and get back to you.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25478
    Brajesh Singh on in reply to: Installing BuddyPress Members into WordPress #17870

    Hi Marcus,
    Welcome to BuddyDev forums.

    Please follow the instructions from here

    https://buddydev.com/docs/buddypress-member-types-pro/buddypress-member-types-pro-installation-upgrade/

    Once you have downloaded the zip file from your account, you can visit Dashboard->Plugins->Add New and click on “Upload file” to upload the plugin.

    Please let me know if that works for you or not?

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25478

    Hi Hugo,

    Thank you.

    I will post the code in around two hours when I will be back to work.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25478

    Hi Hugo,
    I am sorry for the inconvenience.

    The posts visibility is governed by normal WordPress reading settings.

    If you are using a seo plugin, exclude the categories used by groups from the indexable list.

    If you need to remove the post from normal posts list(your blog section), we can use pre_get_posts to exclude posts from a group in the actual stream and then make it only visible to the group members.

    Regards
    Brajesh