Replies
- Tosin on July 28, 2020 at 10:09 am in reply to: [Resolved] Buddypress block not working properly #31976
Gentle reminder sir
thanks
- Tosin on July 28, 2020 at 10:08 am in reply to: [Resolved] Create a popup for letting the user know that the account has been deleted? #31975
I think a custom page redirect would be better, maybe a custom page with the url slug as (account-deleted) and a message in the page stating that user account has been deleted.
- Tosin on July 25, 2020 at 3:15 pm in reply to: [Resolved] Buddypress block not working properly #31940This reply has been marked as private.
- Tosin on July 25, 2020 at 3:09 pm in reply to: [Resolved] Change buddypress username minimum length to 3 #31939
it worked perfectly thank you very much
- Tosin on July 24, 2020 at 10:18 am in reply to: [Resolved] Change buddypress username minimum length to 3 #31909
Good day sir, Any update sir
Thanks
- Tosin on July 22, 2020 at 7:42 pm in reply to: BuddyPress Profile Completion and BuddyPress Force profile photo #31872
I did as instructed but old users who already have their photos uploaded are still being forced to upload another photo.
Thanks
- Tosin on July 21, 2020 at 9:38 am in reply to: [Resolved] Change buddypress username minimum length to 3 #31849
Good day sir, I just want to remind you about this request
Thank you
- Tosin on July 21, 2020 at 9:34 am in reply to: BuddyPress Profile Completion and BuddyPress Force profile photo #31848
Good day sir, please any update on this
- Tosin on July 17, 2020 at 1:45 pm in reply to: [Resolved] Change buddypress username minimum length to 3 #31788
Thank you brajesh the code below worked
// disable 4 letter limit in BuddyPress Username, set at atleast 2. add_filter( 'bp_core_validate_user_signup', function ( $result ) { // let us not worry if there are no errors or user name length is not the root cause. if ( ! isset( $result['errors'] ) || ! is_wp_error( $result['errors'] ) || empty( $result['user_name'] ) || is_numeric( $result['user_name'] ) ) { return $result; } // make sure it is our 4 letter issue. if ( ! empty( $result['user_name'] ) && strlen( $result['user_name'] ) < 4 ) { $result['errors']->remove( 'user_name' ); // let us allow 2 letter or above. $allowed_length = 2; // change it to impose your own limit. if ( strlen( $result['user_name'] ) < $allowed_length ) { $result['errors']->add( 'user_name', __( 'Username must be at least 2 characters' ) ); } } return $result; } );
But I think there is a conflict with the WordPress Username Availability Checker plugin while this plugin is activated the old error message ( ‘Username must be at least 4 characters’ ) is still showing instead of the new error message ( ‘Username must be at least 2 characters’ )
Thanks
- Tosin on July 16, 2020 at 9:28 pm in reply to: [Resolved] Change buddypress username minimum length to 3 #31773
I know this is a security feature but login with username is disabled in my site, users can only login with email address.