Group Mods

  • Profile picture of @mercime
  • Profile picture of r-a-y
  • Profile picture of Hugo

Username or Email Login ? (11 posts)

Started 2 years, 2 months ago by: osasko

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

    Thanks a lot !

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

  • 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

  • Profile picture of r-a-y r-a-y said 2 years, 2 months ago:

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

  • 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 ” ??

  • Profile picture of r-a-y r-a-y said 2 years, 2 months ago:

    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.

  • 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?

  • Profile picture of r-a-y r-a-y said 2 years, 2 months ago:

    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.

  • Thanks – will try it now.

  • Profile picture of ankurm ankurm said 5 months, 1 week ago:

    @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?

  • Profile picture of ankurm ankurm said 5 months, 1 week ago:

    bump!