Replies
Hello Russell,
Thank you for posting. Try the following code to overcome white border across image.
.mpp-item-entry .mpp-item-thumbnail img { padding: 0; margin: 5px; }
Please let me know if it works or not.
Regards
Ravi- Ravi on April 29, 2021 at 3:22 am in reply to: [Resolved] Location for Mediapress Wall Code Snippets #38379
Hello Russell,
Thank you for the acknowledgment. I am glad that I could help.
Regards
Ravi - Ravi on April 29, 2021 at 3:20 am in reply to: [Resolved] BuddyPress Auto Friendship Pro Adjustment #38378
Hello Tosin,
I will look into it and will update you soon.
Regards
Ravi - Ravi on April 28, 2021 at 3:27 pm in reply to: [Resolved] Return in bp_members_suggestions_query_args only bp featured members #38363
Thank you for the acknowledgment. I am glad that I could help.
Regards
Ravi - Ravi on April 28, 2021 at 3:27 pm in reply to: [Resolved] Location for Mediapress Wall Code Snippets #38362
Hello Russell,
You can use this filter in active theme functions.php file or if you are using BuddyPress create a bp-custom.php file and add filter there.
Check following reference for what is bp-custom file:
https://buddydev.com/docs/buddypress-guides/what-is-bp-custom-php/Regards
Ravi - Ravi on April 28, 2021 at 10:18 am in reply to: [Resolved] Location for Mediapress Wall Code Snippets #38353
Hello Russell,
Thank you for the posting. Please use the following filter
// Allow developers to have flexible naming for the wall gallery. $title = apply_filters( 'mpp_wall_gallery_title', $title, $args );
Let me know if it works or not.
Regards
Ravi - Ravi on April 28, 2021 at 9:10 am in reply to: [Resolved] BuddyPress Auto Friendship Pro Adjustment #38349
Hello Tosin,
Okay, Please let me know which one is the issue now i.e. Is it a redirection issue? or Auto following.
PS: https://buddydev.com/support/forums/topic/buddypress-auto-friendship-pro-adjustment/page/3/#post-38329 in the first point you had mentioned that issue is working. I am assuming you were talking about auto-following issue.
Regards
Ravi - Ravi on April 28, 2021 at 5:30 am in reply to: [Resolved] Return in bp_members_suggestions_query_args only bp featured members #38347
Hello Lefteris,
Please use the following code and let me know if it works or not.
function buddydev_filter_buddypress_auto_complete_ids( $args ) { if ( ! function_exists( 'bp_featured_members' ) ) { return $args; } $current_user_id = get_current_user_id(); if ( $current_user_id && bp_featured_members()->is_featured( $current_user_id ) ) { $args['exclude'] = $current_user_id; } else { $args['include'] = array( 0 ); } $args['meta_key'] = '_is_featured'; return $args; } add_filter( 'bp_members_suggestions_query_args', 'buddydev_filter_buddypress_auto_complete_ids' );
Regards
Ravi - Ravi on April 28, 2021 at 5:14 am in reply to: [Resolved] BuddyPress Auto Friendship Pro Adjustment #38346
Hello Tosin,
Thank you for the acknowledgment. I am glad that the problem is resolved.
Regards
Ravi - Ravi on April 26, 2021 at 5:04 pm in reply to: [Resolved] BuddyPress Auto Friendship Pro Adjustment #38317
Hello Tosin,
Sorry for the delayed reply. Please try the following code on priority 11 instead of -1
/** * Redirect New Users On first and second login * * @param string $user_login User login. * @param WP_User $user User object. * */ function buddydev_redirect_on_first_login( $user_login, $user ) { if ( ! function_exists( 'buddypress' ) ) { return; } // check for user's last activity. $last_activity = bp_get_user_last_activity( $user->ID ); if ( empty( $last_activity ) ) { update_user_meta( $user->ID, '_buddydev_first_login', 1 ); // Redirect you custom page. bp_core_redirect( bp_get_root_domain() . '/welcome' ); } elseif ( get_user_meta( $user->ID, '_buddydev_first_login', true ) ) { delete_user_meta( $user->ID, '_buddydev_first_login' ); // Try second login here. bp_core_redirect( bp_get_root_domain() . '/publish' ); } } add_action( 'wp_login', 'buddydev_redirect_on_first_login', 11, 2 );
Please do let me know if it works or not.
Regards
Ravi