Modify login widget to use email address instead of username
-
I’m trying to work out a way to modify the Buddypress login widget (sidebar) to accept email address as well as user name. I’ve managed to do this to the main login by adding some code to the functions.php – can anyone help me out with this please?
For the background – I’m developing a buddypress site for a charity that I work for, and although I’ve got some background in this, I’m no developer – though I always try to help myself before resorting to asking for help. The users of the site will mostly be older people, so simplicity is key and remembering usernames may just be a step too far – we really need to encourage use of the site to make our project sustainable.
Thanks in advance!
-
So… you CAN log into WordPress with your email address and password. On example.com/wp-login.php, it even says “Username or Email” and “Password”. Is this the main log in that you are talking about?
I have just tested the BuddyPress log in widget and I can log in using the email address.
I am a bit baffled why this doesn’t work for you. Please can you remove any relevant code customisations, and just test it again?
If you can’t log into /wp-login.php using an email address and password, you should try the WordPress.org support forums first and get that fixed, because that’s how it should be working.
Paul – I just wanted to thank you for taking the time and solving my problem – I removed the customisation that I’d done to the functions.php file to allow an email login (I think I did this before WordPress allowed such a thing – or maybe I was mistaken) and now the widget works. There was obviously some conflict.
Thank you so much – it’s quite hard work pushing our users (older people) to do things online, so really need it to be as simple and user friendly as possible.
🙂 Good luck with your project!
- You must be logged in to reply to this topic.