Replies
- 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 - Brajesh Singh on November 3, 2017 at 10:15 pm in reply to: [Resolved] Remove activity tab for specific member type on members page/members loop #11529
Hi,
I am sorry, I missed your post on forum.1. Do you mean the profile activity tab? Yes, it is but it qill most probably break the site if you don’t set some other component as the default component.
Please let me know your goals and I will be able to assist.
Thank you
Brajesh - Brajesh Singh on November 3, 2017 at 9:33 pm in reply to: [Resolved] BuddyPress Activity Shortcode (user_role) #11528
Thank you for sponsoring it.
Version 1.1.0 supports the filtering by role.Marking it as resolved.
Regards
Brajesh - Brajesh Singh on November 3, 2017 at 9:31 pm in reply to: Issues uploading a video for iphone. File type unsupported #11527
Hi David,
Thank you for confirming.The problem is MediaElementjs player(The video player) we are using does not support this file type.
We are about to release a temporary solution for converting videos(using a 3rd party plugin integration), until then, I am sorry but we don’t have a solution for the iphone videos.
Brajesh
- Brajesh Singh on November 3, 2017 at 9:11 pm in reply to: Getting Mediapress to open all images in Colorbox/Lightbox #11526
Hi Audiomonk,
Welcome to BuddyDev.1. Please do not use the solution in the thread https://buddydev.com/support/forums/topic/how-to-use-third-party-lightbox-plugin-to-open-images/ . It is not recommended but just to show that it is feasible.
Now coming back to your question,
By all image, can you please tell me which listing, single gallery image listing, shortcode, widget or where? The lightbox is supported on all now. Please visit dashboard->MediaPress->settings->Themes and make sure you have it enabled.Please do let me know if you have already done that.
PS:- version 1.2.1 will support lightbox for all media type.
Thank you
Brajesh