• Resolved jojungwhan

    (@jojungwhan)


    Great plugin however there is an issue which I believe to be critical.

    When registering a new user with FB, username is created automatically as ‘.’.
    Attempting to load page by clicking on the user profile in the members list will not work as the url it will point will include ‘.’ I believe it should be fixed so that only valid characters are included in the username when it is automatically generated?

    https://www.ads-software.com/plugins/wp-facebook-login/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Damian

    (@timersys)

    While “.” should be valid urls as long as the ending / exist I understand the problematic and will change it to – instead.

    @jojungwhan you say the username is just a dot ? That sound kinda impossible to me as if the user don’t have first name and last name we use email instead. Could you tell how to reproduce the error?

    Plugin Author Damian

    (@timersys)

    I mean we use sanitize_user to filter the username, so there is no way to be an invalid username right?

    Thread Starter jojungwhan

    (@jojungwhan)

    I think what Brian Cruikshank has raised is the same. It happens with Buddypress installed, and when user clicks on the Facebook connect button without having registered. I believe this means that username is not provided but automatically assigned either by wordpress, buddypress, or the plugin?

    “.” may be a valid url however clicking on the member and redirecting to member/./ etc. still does not work.

    Plugin Author Damian

    (@timersys)

    That’s strange because the plugin when generates the username follow this:

    if firstname and last name exist it’s used like first.last
    Else it use the first part of the email (which is mandatory) so Im not sure hwo you ended with a username of just a dot “.”

    If you use the same facebook account it happens again? If you check the user in your wp-admin is listed as . ?

    Plugin Author Damian

    (@timersys)

    I changed the function and removed . . I still not sure why they didn’t worked as they are valid wp usernames but I decided to change them

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Problematic FB registration’ is closed to new replies.