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: 25384
    Brajesh Singh on in reply to: [Resolved] Mediapress lightbox size #11571

    Hi Richard,
    Sorry about that. We have it fixed width(set to 900px).

    If your user’s are advance, you could use flex box like this

    
        .mpp-lightbox-content {
            width: 90%;
            display: flex;
            height: auto;
            min-height: 400px;
    
        }
    
        .mpp-lightbox-media-container {
            flex: 1;
            width: auto;
        }
    
    

    But it won’t work in older browsers(Prefixing may help though).

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25384

    Hi Claudio,
    Please upgrade to 1.1.1
    https://buddydev.com/plugins/bp-deactivate-account/

    it should fix the issue. The path is case sensitive and should work now.

    Please do let me know if it doe or not?

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25384

    Hi Claudio, Ravi
    Thank you.

    The error log makes a lot of sense. It is an issue with our new admin framework(pt-settings, It assumed the whole path to be lowercase while it should have only assumed that for the relative path).

    I will post an update and let you know.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25384

    Hi Fariz,
    You most probably don’t need the plugin.

    BuddyPress already implements comment notification now(Not as detailed as the plugin though)

    In the double notification one is coming from BuddyPress and one is from the plugin. That’s why you are seeing it twice.

    Please disable the plugin and see if you really need this plugin.

    If you still do, please let me know and I will assist.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25384

    You are most welcome 🙂

  • Keymaster
    (BuddyDev Team)
    Posts: 25384
    Brajesh Singh on in reply to: [Resolved] How to turn off mentions notifications? #11546

    Hi,
    You can remove the earlier snippet and use the following in your bp-custom.php

    
    /**
     * Stop local mention notification.
     */
    function budyddev_disable_local_mention_notification() {
    	remove_action( 'bp_activity_sent_mention_email', 'bp_activity_at_mention_add_notification', 10, 5 );
    }
    add_action( 'bp_include', 'budyddev_disable_local_mention_notification' );
    
    

    That will stop future local notifications.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25384

    Hi Behos,
    Please use the following example.

    
    
    /**
     * Hide User activity tab for displayed user.
     *
     * Unless you have default component set to something else, this is not recommended.
     */
    function buddydev_hide_displayed_user_activity_tabs() {
    
    	if ( ! bp_is_user() ) {
    		return ;
    	}
    
    	// want to do it based on role? use capability and do it.
    	if ( ! user_can( bp_displayed_user_id(), 'manage_options' ) ) {
    		bp_core_remove_nav_item( 'activity' );
    	}
    
    	// want to do it based on member types? un comment the following block and modify
    	/*
    	if ( bp_has_member_type( bp_displayed_user_id(), 'some_member_type' ) ) {
    		bp_core_remove_nav_item( 'activity' );
    	}*/
    }
    add_action( 'bp_setup_nav', 'buddydev_hide_displayed_user_activity_tabs', 11 );
    
    

    Please feel free to adapt to your use case.

    hope that helps.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25384

    Glad you found the solution.
    Thank you for updating the topic.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25384

    Hi Ekiz,
    Please put this code in your bp-custom.php

    
    
    add_filter( 'bp_activity_do_mentions', '__return_false' );
    

    It will disable mentioning from activity.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25384
    Brajesh Singh on in reply to: [Resolved] Buddyblog and comment threading #11535

    🙂
    I am glad you resolved it.

    Regards
    Brajesh