Skip to:
Content
Pages
Categories
Search
Top
Bottom

Username or Email Login ?

  • Avatar of osasko
    osasko
    Participant

    @osasko

    Is it possible to allow users to login with their email OR username?

    Thanks a lot !

Viewing 10 replies - 1 through 10 (of 10 total)
  • Avatar of Peterverkooijen
    peterverkooijen
    Participant

    @peterverkooijen

    I assume you know the email login plugin? Do you mean you want to give the user the choice, have either work?

    Avatar of osasko
    osasko
    Participant

    @osasko

    Peter , yes to both questions.

    As the username comes up in the user’s URL , some users might prefer usernames and others might prefer emails.

    Would be nice to give the user an option.

    Thanks

    Avatar of r-a-y
    r-a-y
    Moderator

    @r-a-y

    With that email login plugin, you can login with either your username or your email address.

    Works wonders!

    Avatar of osasko
    osasko
    Participant

    @osasko

    Thanks – that’s great , just tested it and it works!!

    Just one question now – where do you change the wording of the right-hand column for login in buddypress 1.2.1 to say : “email or username ” ??

    Avatar of r-a-y
    r-a-y
    Moderator

    @r-a-y

    You have two options to edit the string:

    1) Edit the language label (preferred)

    The “username” can be modified with a custom language file.

    Read the “Labels and Messages” section at the URL below to find out how:

    http://codex.buddypress.org/how-to-guides/customizing-labels-messages-and-urls/

    I use the program, PoEdit, to make such changes.

    2) Edit the template

    The login form can be found in /bp-themes/bp-default/sidebar.php.

    Copy it over to your child theme and edit accordingly.

    Avatar of osasko
    osasko
    Participant

    @osasko

    Thanks Ray – I am able to create an .mo file with Poedit , but struggling with the step that says that you need command line access??

    I am using filezilla – not sure if that is the best program?

    Avatar of r-a-y
    r-a-y
    Moderator

    @r-a-y

    I use FileZilla; just use it to upload the .mo / .po files to the server.

    Make sure you also add the lines in bp-custom.php as noted in the how-to guide.

    Avatar of osasko
    osasko
    Participant

    @osasko

    Thanks – will try it now.

    @r-a-y : after installing the email login plugin, i was able to login using my email address without activating my account. I need the activation thing.. is there a solution for it?

    bump!

Viewing 10 replies - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.