Replies
- Ravi on June 29, 2022 at 11:21 am in reply to: [Resolved] Display only Active Friends for Logged in user #45556
Hello Joseph,
Thank you for the acknowledgement. I will look for a way how we can implement this and will update you soon.
Regards
Ravi - Ravi on June 28, 2022 at 10:20 pm in reply to: [Resolved] Group Tabs Pro – modifying existing tab #45550
Hello Nik,
Please try the following code to remove the events subnav item added by the Events Manager in group navigation.
add_action( 'bp_init', function () { if ( ! function_exists( 'bp_em_load_core_component' ) || ! bp_is_active( 'groups' ) ) { return; } bp_core_remove_subnav_item( groups_get_current_group()->slug, 'events' ); }, 100 );
Please give it a try.
Regards
Ravi - Ravi on June 28, 2022 at 9:38 pm in reply to: [Resolved] Display only Active Friends for Logged in user #45549
Hello Joseph,
Welcome to the BuddyDev Forums. BuddyPress does not provide and filter to modify active members query args at the time of listing active members using Widget or block. But you can use the following code to list active friends of logged-in users.
Try shortcode: [buddydev-active-friends-list]
add_shortcode( 'buddydev-active-friends-list', function ( $atts ) { if ( ! is_user_logged_in() ) { return ''; } $atts = shortcode_atts( array( 'max' => 5 ), $atts ); $members_args = array( 'user_id' => 0, 'type' => 'active', 'max' => absint( $atts['max'] ), 'populate_extras' => true, 'search_terms' => false, ); $friends_ids = friends_get_friend_user_ids( get_current_user_id() ); $members_args['include'] = empty( $friends_ids ) ? array( 0 ) : $friends_ids; ob_start(); ?> <?php if ( bp_has_members( $members_args ) ) : ?> <div class="bd-active-friends-list avatar-block"> <?php while ( bp_members() ) : bp_the_member(); ?> <div class="item-avatar"> <a href="<?php bp_member_permalink(); ?>" class="bp-tooltip" data-bp-tooltip="<?php bp_member_name(); ?>"><?php bp_member_avatar(); ?></a> </div> <?php endwhile; ?> </div> <?php else: ?> <div class="error"> <?php esc_html_e( 'No active friend found.', 'buddypress' ); ?> </div> <?php endif; ?> <?php return ob_get_clean(); } );
Please give it a try.
Regards
Ravi - Ravi on June 24, 2022 at 12:43 pm in reply to: [Resolved] Strange behaviour in empty post form #45496
Hello,
You can check your activated theme under Dashboard (Site Admin section) > Appearance > Themes
& for the template pack, if you are using BuddyPress
Dashboard (Site Admin section) > Settings > BuddyPress > Options > Main Settings > Template Pack
Please check
Regards
Ravi - Ravi on June 24, 2022 at 12:18 pm in reply to: BuddyPress Profanity Filter extended functionality #45494
Hello Niculae,
BuddyPress Profanity Filter plugin is a dependent plugin on BuddyPress so you can not use it without BuddyPress or BuddyBoss Platform.
Regards
Ravi- This reply was modified 2 years, 6 months ago by Ravi.
- Ravi on June 21, 2022 at 9:15 pm in reply to: [Resolved] BuddyPress group Tabs Creator Pro – The Events Calendar #45462
Hello Quint,
Thank you for posting. Yes, You can use any type of shortcode as a content of the tab created using this plugin. Please give it a try and let me know if you face any issues.
Regards
Ravi - Ravi on June 21, 2022 at 11:13 am in reply to: Community Activity on Profile Not Showing Reshared Posts #45460
Hello,
Welcome to the BuddyDev Forums. As you are using the Youzify plugin and activity reshare is featured in this plugin. So, They are in a better position to help you with the issue. Please contact the Youzify plugin author.
Regards
Ravi - Ravi on June 20, 2022 at 6:20 pm in reply to: [Resolved] Pay Per Post by selling access with WooCommerce #45457
Hello Tosin,
Thank you for the acknowledgement. I am going to add functionality to the plugin itself. I am working on it and will update you soon.
Regards
Ravi Hello Christian,
Thank you for the acknowledgement. I am glad that I could help.
Regards
Ravi- Ravi on June 20, 2022 at 6:15 pm in reply to: [Resolved] Create Gallery – Extend entry in activity #45455
Hello Maurice,
Thank you for the acknowledgement. I am glad that I could help.
Regards
Ravi