Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
How do I search for members by email
Avatar
audrey boss
Member
Free Members
sp_UserOfflineSmall Offline
Apr 17, 2013 - 10:05 am

Hi, having recently migrated from another forum we are having a few issues with members who cannot remember their login details from the previous forum. How can I search for members using their email address or is there any other way of finding a member who cannot remember either username or password? Many thanks, Audrey

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 17, 2013 - 10:18 am

user are the realm of WordPress... as such, WordPress has a built in password reset feature... there is a link for it on the standard wp login page and also on our inline login form in the forum... if they go to that form, they can enter their username or email and get a new password...

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 17, 2013 - 10:18 am

I should add, that in WP, its not possible for an admin to get or see the password for a user... they can set it to something, but they cannot see the current on...

also, in the WP admin, on the wp - users - all users admin panel, you can see all users by their email addresses.... you can also sort them or search by them...

but again, if the user wants a new password, best to use the lost password link...

Avatar
Gomlers
Member
Free Members
sp_UserOfflineSmall Offline
Apr 17, 2013 - 5:28 pm

I just want to add something here... (as I had the exact same problem with my users, as I recently converted to simple:press too)

If you put this little code in your functions.php file:

/* log in using email-address */
function login_with_email_address($username) {
$user = get_user_by_email($username);
if(!empty($user->user_login))
$username = $user->user_login;
return $username;
}
add_action('wp_authenticate','login_with_email_address');

Your users will be able to log in using their e-mail-addresses - and of course the usernames will still work too.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 17, 2013 - 5:38 pm

oohhh, tricky! I like it!

thanks for sharing...

Avatar
audrey boss
Member
Free Members
sp_UserOfflineSmall Offline
Apr 18, 2013 - 3:34 am

Thanks for this - super helpful. I had completely forgotten that the user profiles were linked to the WP admin - duh!

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Apr 18, 2013 - 3:46 am

Neat. Nice and simple.

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17367
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626