-
Author
-
November 2, 2015 at 10:30 #85395Startup10Participant
Hello, I did a test using facebook to login to my website. The problem is that it creates a duplicate member entry for myself. Is there a way to configure the facebook login/register so that it does not create duplicate member pages for people who have already signed up via email?
November 2, 2015 at 15:30 #85411sharmstrModeratorDoes both of the accounts use the same email address?
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
November 6, 2015 at 23:47 #86056Startup10ParticipantHello, no they use different email addresses, I have to disable Facebook login because it will cause too many problems for members signing-up and/or logging-in by creating too many unnecessary duplicate profile pages.
November 7, 2015 at 00:25 #86061sharmstrModeratorWhat version of Kleo? Have you looked for plugin conflicts?
The odd thing is that buddypress wont let you sign up using a duplicated email address using their registration form.
Kleo’s facebook code checks for it as well. Here’s the important part of the code
COPY CODEif( !$user_ID ){ //we didnt have a user id that matched a previously facebook registration, so lets compare the fb email to any email found in wordpress $user_email = $FB_userdata['email']; $user_ID = $wpdb->get_var( "SELECT ID FROM $wpdb->users WHERE user_email = '".$wpdb->escape($user_email)."'" ); //Register user if( !$user_ID ) // we didnt find a matching email, so now we are going to register the user.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
November 7, 2015 at 01:41 #86079Startup10ParticipantNo, the email addresses I used are different. So the way facebook integration works is if any person has a different facebook email to the email they use to register on the site, it will create a duplicate profile for them. This is a big problem.
November 7, 2015 at 01:57 #86084sharmstrModeratorI miss read your other response. Sorry.
So how would you identify that the user already has an account? It needs to be specific to them and the only thing I know of is an email address. You cant do it by name. You cant do it by IP address.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
November 7, 2015 at 01:59 #86085sharmstrModeratorBTW – You can always disable Facebook registration and enable facebook login. That way the users that do use the same email address can log in either way, using one account.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
November 7, 2015 at 02:12 #86090Startup10ParticipantSorry, you’ve totally lost me now. I know because I tested this myself, my facebook email is different to the email on the website, when I log-in using facebook, it doesn’t log me into my existing profile, it creates a new one – so there are two profiles for the same person, with slightly different urls. If a person signs up vial email, and later decides to log-in via facebook, if the emails are not the same it will create duplicate member profiles.
November 7, 2015 at 02:16 #86091sharmstrModeratorBut you can turn off facebook registration and still allow people to sign in (notice I said in and not up) with their facebook account. Their email addresses would have to match.
Theme Options > Misc > Facebook Integration: On
Theme Options > Misc > Enable Registration via Facebook: OffHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
-
AuthorPosts
The forum ‘Bugs & Issues’ is closed to new topics and replies.