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: 25285

    Hi Julia,
    We plan to push an update after the second week of January. For now, you will need to manage it via css.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25285
    Brajesh Singh on in reply to: Mediapress – search photos by title and description #12542

    Thank you for the details.
    I will test with the default theme(twentyseventeen/twentysixteen) and will let you know.

  • Keymaster
    (BuddyDev Team)
    Posts: 25285
    Brajesh Singh on in reply to: Mediapress – search photos by title and description #12537

    That’s very strange. I will test it tonight and update you.

  • Keymaster
    (BuddyDev Team)
    Posts: 25285

    Hi Julia,
    1. We will report about the conflict today.

    2.I only tested for basic styles. You will need to contact the plugin author for nore. The problem lies with the WC frontend manager and not us. We allow you to use a shortcode. Any malfunction of the shortcode should be reported to the plugin developer. They can provide compatibility.

    3. Please contact the plugin author. These are controlled by the WC Frontend Manager.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25285

    Hi Laz,
    We already have a plugin MediaPress Shared Gallery that allows giving fine grained access to gallery. You can add user and allow them to red(view)/upload/edit etc permissions.

    We haven’t released it publicly due to lack of time. We are hoping to make it available either in the last week or in the 1st/2nd week of new year when things are a little bit settled.

    PS:- I can always send a private copy if you need it early.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25285

    Hi Slim,
    Here is the code that you can use to limit the visibility to User(self), friends and siteadmin

    
    
    /**
     * Remove the friends menu from user profile if visiting someone else's profile and is not friend.
     */
    function bpdev_custom_hide_friends_if_not_self() {
    	if ( bp_is_my_profile() || is_super_admin() || friends_check_friendship( bp_displayed_user_id(), bp_loggedin_user_id() ) ) {
    		return;
    	}
    
    	bp_core_remove_nav_item( 'friends' );
    
    }
    add_action('bp_friends_setup_nav','bpdev_custom_hide_friends_if_not_self');
    
    

    The old code is still working. But the code you have posted is using encoded quotes which will cause fatal error. Need to replace

    with

    
    '
    

    or

    
    "
    

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25285

    Hi Julia,
    Thank you for the patience.

    The problem lies with WC Frontend Manager. It loads styles conditionally but fails on profile pages.
    The solution is to force it to load css

    
    /**
     * Enable wcfm styles on profile page.
     */
    function buddydev_enable_wcfm_styles() {
    	global $WCFM;
    	if ( ! $WCFM || ! isset( $WCFM->library ) || ! is_callable( array( $WCFM->library, 'load_styles' ) ) ) {
    		return;
    	}
    // change component with the slug.
    	$component = 'tab-slug'; // please change it with your tab slug.
    	if ( bp_is_current_component( $component ) ) {
    		//load
    		$WCFM->library->load_styles( 'wcfm-dashboard' );
    	}
    }
    
    add_action( 'bp_enqueue_scripts', 'buddydev_enable_wcfm_styles' );
    
    

    Please change the

    
    $component = 'tab-slug'; // please change it with your tab slug.
    	
    

    With the actual slug and you will get the dashboard like this.

    https://i.imgur.com/z7oDigh.png

    Hope that helps.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25285
    Brajesh Singh on in reply to: [Resolved] Left Sidebar, Right Sidebar #12519
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25285

    Hi Ali,
    Thank you for using MediaPress.

    I too have noted issue with zip files. It seems the google doc viewer is not supporting the zip file from external source in their public viewer(I was supported earlier).

    For now, I plan to list the zip files as simple attachment and let other file types work as expected.

    I will be pushing a release nby this Sunday or early Monday with the fix.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25285
    Brajesh Singh on in reply to: [Resolved] tab visible by freinds only #12517

    Hi Slim,
    Yes, It will be the first week of January.