New
PeoplePress is here. Community building for WordPress, reimagined. Fast, modern, and built for the communities you've always wanted to run.
See it live

BuddyDev

Search

Username availability checker not working

  • Participant
    Bluesix on #48849

    Sign up for is here: https://www.shootang.com/register/ I’ve just taken over this job.

    I setup a new instance of BuddyBoss locally and noticed that the username field was called signup_username.

    However on the client’s site, the username field is named “field_3” – is it a custom field?
    I’m assuming your plugin looks for a field with a more normal name like signup_username? The client is using BuddyBoss Pro, if that helps? Their fields setup looks like this: https://imgur.com/kBTGHt0

    Is there any way to change the signup username field in my clients site to signup_username, or in your plugin?

    Thank you!

  • Keymaster
    (BuddyDev Team)
    Posts: 25509
    Brajesh Singh on #48860

    Hi,
    Thank you for reporting the issue.

    I am sorry, I have no idea why BuddyBoss is treating field_3 as username.
    Still, you can use the following code to enable username checking on it.

    
    add_filter( 'buddydev_uachecker_selectors', function ( $selector ) {
    	return $selector . ', #field_3';
    } );
    
    

    Hope that helps.

    Regards
    Brajesh

You must be logged in to reply to this topic.

This topic is: not resolved