Tagged: User Email Login
Hi, I read a thread on BuddDev about getting users to be able to login with their email address instead of being force to use there usernames. Long story short, I purchased “BuddyPress Auto Activate Auto Login”, and at he end of the thread, this code add_filter( ‘bp_autoactivate_use_email_login’, ‘__return_true’ ); was given by someone from the BuddyPress team to help fix my initial problem of only allowing login by email because the writer of the thread wanted the same function
The thread said to ad that code to the bp-custom.php file, which I have created, but users still can’t login using email and the code is now visible in the header. please help. Thanks.
Hi Trev,
Welcome to BuddyDev.1. You do not need this plugin to allow users login via email or user name. It is available out of the box for WordPress now.
2. Please delete the bp-custom.php file or put the following before anything else in this file to make it work
<?php // the code goes here
There should not be any space before it.
3. The code and filter ‘bp_autoactivate_use_email_login’ was used specifically for a plugin that used email for login. You do not need it.
Now, my question:-
A. Do you want to allow users to login via email? If yes, you do not need to do anything. It is available out of the box. If it is not working, Please check your login related or security related plugins.
B> Or do you want to force users to login via email instead of username? If that is the case, Please let me know. I can point to 1or 2 available plugin that allows it.
Regards
Brajesh
You must be logged in to reply to this topic.