Replies
- Brajesh Singh on November 6, 2017 at 9:19 pm 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 - Brajesh Singh on November 5, 2017 at 12:26 am in reply to: [Resolved] Deactivate Account Plugin setting page blank #11552
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 - Brajesh Singh on November 4, 2017 at 11:00 pm in reply to: [Resolved] Deactivate Account Plugin setting page blank #11551
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 - Brajesh Singh on November 4, 2017 at 10:59 pm in reply to: Double Notification On Nested Comments – Buddypress Activity Comment Notifier #11550
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 - Brajesh Singh on November 4, 2017 at 10:31 pm in reply to: [Resolved] Remove activity tab for specific member type on members page/members loop #11547
You are most welcome 🙂
- Brajesh Singh on November 4, 2017 at 10:30 pm 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 - Brajesh Singh on November 4, 2017 at 3:19 pm in reply to: [Resolved] Remove activity tab for specific member type on members page/members loop #11540
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 - Brajesh Singh on November 4, 2017 at 3:06 pm in reply to: [Resolved] Buddypress – New Blog Post Notifications for Users #11538
Glad you found the solution.
Thank you for updating the topic.Regards
Brajesh - Brajesh Singh on November 4, 2017 at 3:04 pm in reply to: [Resolved] How to turn off mentions notifications? #11537
Hi Ekiz,
Please put this code in your bp-custom.phpadd_filter( 'bp_activity_do_mentions', '__return_false' );It will disable mentioning from activity.
Regards
Brajesh - Brajesh Singh on November 4, 2017 at 2:59 pm in reply to: [Resolved] Buddyblog and comment threading #11535
🙂
I am glad you resolved it.Regards
Brajesh