Replies
- Ravi on March 10, 2022 at 5:13 am in reply to: [Resolved] How Do I Restrict Certain Member Types from Comment Replying #43765
Hello Brian,
Welcome to the BuddyDev Forums. As per my understanding, You want to restrict a member type from replying to activity comments. If yes, use the following code:
/** * Restrict member type for replying * * @param bool $can Bool. * * @return bool */ function buddydev_user_can_reply_on_comment( $can ) { // Replace 'student' with your member type. $is_restricted = bp_has_member_type( get_current_user_id(), 'student' ); if ( $is_restricted ) { $can = false; } return $can; } add_filter( 'bp_activity_can_comment_reply', 'buddydev_user_can_reply_on_comment' );
Please let me know if it helps or not.
Use can put this code inside ‘bp-custom.php’ file. Please have a look here: https://buddydev.com/docs/buddypress-guides/what-is-bp-custom-php/
Regards
Ravi- This reply was modified 3 years, 4 months ago by
Ravi.
- This reply was modified 3 years, 4 months ago by
- Ravi on March 10, 2022 at 4:54 am in reply to: [Resolved] Group Tabs Pro: Can’t Add Sub Nav Tabs When Adding to EXISTING Tab #43764
Hello Dianne,
Thank you for marking it resolve. we are also following BuddyBoss Platform updates.
Regards
Ravi - Ravi on March 8, 2022 at 5:52 am in reply to: Which Version BuddyPress Most Stable/Compatible with Your Plugins? #43737
Hello Buddyuser,
Thank you for sharing the details. We will check the compatibility and will let you within 24 or 48hrs.
Regards
Ravi - Ravi on March 8, 2022 at 4:56 am in reply to: [Resolved] Please add filter to BP Default Group Tab plugin #43736
Thank you
Regards
Ravi Hello Giuseppe,
Thank you for the acknowledgement. Our team will check and will acknowledge you within 24 hours or early.
Regards
Ravi- Ravi on March 7, 2022 at 6:08 am in reply to: [Resolved] Please add filter to BP Default Group Tab plugin #43713
Hello Nick,
Thank you for your acknowledgement. ‘bpdgt_remove_tabs’ is not a good name for the filter as with this name filter’s sole purpose seems to be only removal. I would suggest use ‘bpdgt_modify_tabs’ instead. Also, the position should be on the return statement
Regards
Ravi - Ravi on March 7, 2022 at 4:37 am in reply to: [Resolved] PROFILE TAB CREATOR PRO: How to Change Activity Subtab Label #43712
Hello Dianne,
Thank you for the acknowledgement. I am glad that the problem is resolved. Yes, ‘just-me’ is the slug used for the personal tab by BuddyPress.
Regards
Ravi Hello Giuseppe,
Please enable the following setting “Show Gallery description on single gallery pages?”. You can find this setting under MediaPress > Settings > Theming > Display Settings. If enabled, It will show gallery description on a single gallery page.
Please let me know if helps you or not.
Regards
RaviHello Giuseppe,
Sorry for the inconvenience. Please let me know what issue you facing so that I can help you with this.
Regards
Ravi- Ravi on March 4, 2022 at 6:52 am in reply to: [Resolved] Pay Per Post by selling access with WooCommerce #43679
Thank you for the acknowledgement. I am glad that I could help.
Regards
Ravi