Skip to:
Content
Pages
Categories
Search
Top
Bottom

What file handles registration

  • @david-ar

    Participant

    When a user registers with a username that already exists, it displays an error saying “the username is already in use”. What file handles that functionality?

    Thanks

Viewing 8 replies - 1 through 8 (of 8 total)
  • @danbp

    Participant

    The register process is part of WordPress.

    For BP, you can see in
    \buddypress\bp-templates\bp-legacy\buddypress\members\register.php

    …but !

    the username is already in use is not part of WP or BP.
    Do you use an extra plugin ?

    @david-ar

    Participant

    Is the BP part making sure that username is unique?

    @henrywright

    Moderator

    Is the BP part making sure that username is unique?

    Yes. That happens here

    @david-ar

    Participant

    Thanks, but I can’t find the path “BuddyPress/src/bp-members/bp-members-functions.php
    Where is it located?

    @danbp

    Participant

    In the plugin !

    wp-content/plugins/buddypress/bp-members/bp-members-functions.php

    @david-ar

    Participant

    Thank you, I found it.

    Is it possible to make the same function work for display name?

    @danbp

    Participant

    @david-ar

    Participant

    I have read it and tried it, but it didn’t work.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘What file handles registration’ is closed to new replies.
Skip to toolbar