Replies
I fully understand that the plugin is being deprecated as you stated before that you are planning to replace it with something else. The current user experience is too long as my users want to change password only once instead of twice. At first they change use the auto generated password, then they later login to change their password to something they can easily remember.
Thanks for understanding
constant reminder
- Tosin on May 6, 2021 at 8:06 am in reply to: [Resolved] Send email to user that has been inactive for 2 months #38507
I found a similar plugin can you take a look at it https://wordpress.org/plugins/come-back/
- Tosin on May 4, 2021 at 9:08 pm in reply to: [Resolved] BuddyPress Auto Friendship Pro Adjustment #38497
Thanks Brajesh
This issue is now resolved no more plugin conflicts, thank you very much.
- Tosin on May 4, 2021 at 8:40 am in reply to: [Resolved] BuddyPress Auto Friendship Pro Adjustment #38491
welcome is a page and its id is 36115
- Tosin on May 4, 2021 at 5:17 am in reply to: [Resolved] BuddyPress Auto Friendship Pro Adjustment #38488
Ok I will be expecting an update from him.
Thanks
- Tosin on May 1, 2021 at 12:23 am in reply to: [Resolved] BuddyPress Auto Friendship Pro Adjustment #38402
reminder sir
- Tosin on April 28, 2021 at 9:21 am in reply to: [Resolved] BuddyPress Auto Friendship Pro Adjustment #38350
The auto follow on first login works when buddypress profile completion is deactivated.
The issue is that auto follow on login will not work when buddypress profile completion plugin is active.
But your custom redirect code works with the auto follow when the priority is at (11) only buddypress profile completion plugin prevents auto follow to work when its active
This is how the priority level should be
1. Autofollow on first login (first priority)
2. Custom redirect code for new user (second priority – this should have priority over buddypress profile completion )
3. buddypress profile completion (last priority)PS: buddypress profile completion and auto follow on login do not work together when both are active
- Tosin on April 28, 2021 at 7:10 am in reply to: [Resolved] BuddyPress Auto Friendship Pro Adjustment #38348
Hello Ravi
The conflict is detected but the problem is not resolved as I still have buddypress profile completion plugin deactivated, if I activate it, the problem will occur again as I still want to use the buddypress profile completion plugin.
I still need buddypress profile completion plugin, auto friendship and the custom code to work together without any conflict
Thanks
- Tosin on April 27, 2021 at 3:13 pm in reply to: [Resolved] BuddyPress Auto Friendship Pro Adjustment #38329
Hello conflict detected
1. The code provided by Ravi solved part of the problem, the priority (11) worked.
2. The second problem was caused by buddypress profile completion plugin which I deactivated.While using profile completion plugin I have this filter enabled
// filter buddypress profile completion redirect url to a custom page. add_filter( 'buddypress_profile_completion_redirect', function ( $redirect_url ) { return get_permalink( 34168 ); } );
Then I need the code below to take priority over the redirect of buddypress profile completion plugin for newly registered users.
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 );
Thanks for your patience