Topic-icon Profile Mapping, Linking & Unlinking

Active Subscriptions:

None
10 years 1 month ago #42540 by stuver
I have some questions about the set up and flow of the registration process, I am using JFBConnect with EasySocial and the other StackIdeas products. There is no other registration component used, I am on the latest versions of all software.

1. I want my users to be able to create an account with their social profile e.g. LinkedIn but I also want my users to have to complete some mandatory custom fields as part of the registration process.

What I can't seem to do is get the fields that are mapped in the Social Network Profile Import Configuration to appear in the Joomla/EasySocial registration page that appears after they first connect with LinkedIn. I have tried with Enable Automatic Registration set to both Yes and No, and I have tried with Show Imported Fields set to both Yes and No.

What I want to achieve is:

Create new account With LinkedIn > LinkedIn data is imported and mapped to Joomla/EasySocial fields > User advances to the registration page > Blank mandatory custom fields are empty and have to be filled before proceeding, LinkedIn fields that are mapped are already filled so the user can review.

Is this possible?

2. If a user creates an account with Twitter, not much data is imported. If they then link their LinkedIn profile I would like the custom fields in the profile that are empty, but mapped, to be populated by LinkedIn data.

Is this possible?

3. What happens when they use different email addresses for different social profiles? If I set Automatically Link Users by Email to No then I may get errors but if I set to Yes then I may get two accounts.

4. Can users unlink a profile through Joomla/EasySocial or does that have to be done in their social account e.g. on Facebook, Twitter?

Thanks in advance.
The topic has been locked.
Support Specialist
10 years 1 month ago #42553 by alzander

Create new account With LinkedIn > LinkedIn data is imported and mapped to Joomla/EasySocial fields > User advances to the registration page > Blank mandatory custom fields are empty and have to be filled before proceeding, LinkedIn fields that are mapped are already filled so the user can review.

In either case, since it sounds like you will need additional data from the user that can't be imported, you should set the "Enable Automatic Registration" setting to "No". That will bring the user to a form-based registration flow where they can fill that data out. As for that registration flow....

You may want to set the "Registration Component" setting in JFBConnect to "EasySocial". That will bring the user through the standard EasySocial registration flow, but with profile fields filled out that have data imported from the social networks. EasySocial will handle the checking of all the mandatory fields and stuff as well.

Alternatively, you can use the built-in JFBConnect registration flow, which it sounds like you have enabled. If this is enabled, then the settings in the JFBConnect -> Profiles -> EasySocial area for things like "Show profile fields on registration" will have the desired effect for showing Required Only or No fields during registration.

Hopefully, that gets your 'flow' working in a way that works well for you..

2. If a user creates an account with Twitter, not much data is imported. If they then link their LinkedIn profile I would like the custom fields in the profile that are empty, but mapped, to be populated by LinkedIn data.

There's no way for JFBConnect to know what data was set by a user vs set from a previous social network login. Data can be changed by the user at any time, or deleted. Right now, we only have the option to import user data on first registration or import it always, in which case any fields a user has set may be overwritten with new data.

3. What happens when they use different email addresses for different social profiles? If I set Automatically Link Users by Email to No then I may get errors but if I set to Yes then I may get two accounts.

If their social network email address is different than what's stored in a Joomla user on your site, then in either case above (yes or no), the user won't be automatically mapped to an existing user on the site.

When you have the "Registration Component" set to "JFBConnect" and automatic registrations disabled, then if a user registers on the site, they'll be presented a login form *and* a registration form. They can use the login portion to login to an existing account.

Alternatively, with the SCLogin module, you can enable the "Show Connect Account Buttons" setting, which will show links to each of the social networks the user hasn't connected to already. From there, they can easily add more social networks to their account and login with them later.

4. Can users unlink a profile through Joomla/EasySocial or does that have to be done in their social account e.g. on Facebook, Twitter?

You can't do that through JFBConnect on the front-end, yet. There will be an easy way for a user to unlink and manage their social network mappings in the next major release (expected for May).

I hope that helps answer your questions,
Alex
The topic has been locked.
Active Subscriptions:

None
10 years 1 month ago #42567 by stuver
Thanks Alex

Hi Alex, thanks for the reply.

I will start working with point 1 as it is my greatest need.

I have the following set up:

screencast.com/t/HYz7MHB8Ankv
screencast.com/t/kRqbmzTDNjEt
screencast.com/t/9ylZLfxzVIb

When I connect with a LinkedIn account and proceed to the EasySocial registration page, all the fields are blank so the user has to enter them all again. Is this how it is meant to be?
The topic has been locked.
Support Specialist
10 years 1 month ago #42592 by alzander
I'm not sure what's going on then. I just tried to register on your site using LinkedIn and the below image is my EasySocial registration page:
File Attachment:

Those fields shown were pre-filled for me and the data there is from my LinkedIn profile.

If you're still not seeing the profile data prefilled, can you:
* Clear your browser cache. If you've already gone through the EasySocial registration, the 'old' data (even if empty) may be being used.
* Try from a different browser (or computer) altogether
* Use a different LinkedIn account to see if the behavior is the same.

Keep me posted if you still have issues. We'll gladly keep investigating, but it's more difficult if we can't recreate the problem.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
10 years 1 month ago #42721 by stuver
Hi Alex

Can you try again?

I think I know the issue now, Stack Ideas have integrated with JFBConnect and with their new files the fields are being left unfilled.

I think this is the case as previously I had manually uploaded them when I had problems but deleted them before your test. Now I have upgraded to 1.2.5 they are back and I think this might be the issue whether it is an overlap of code or cache conflict.

Also, I tried to do a registration with the LinkedIn button with someone the other day and I kept getting Joomla invalid token errors, any thoughts?

Thanks in advance.
The topic has been locked.
Active Subscriptions:

None
10 years 1 month ago #42723 by stuver
And now it's working again.

Is anyone else getting this intermittent error whereby the fields aren't filled every time?
The topic has been locked.
Support Specialist
10 years 1 month ago #42725 by alzander
We haven't heard of that issue from any other users. The only reason I can think the fields might not be filled is if you've tried to register previously from that browser. If so, the registration data that you've entered (even if you don't finish the process). That data will be loaded again the next time you try to register, even with a social network.

To clear that data, you'd need to clear the cache and cookies in your browser so that your session on the site is completely reset.

The above isn't a normal situation, but if you're testing, I can see how it could happen easily.

Keep me posted if you can't find any rhyme or reason to things and we'll continue to help however we can.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
10 years 1 month ago #42733 by stuver
That may be it, we often use the same PC for demonstrations.

I'll see how it goes, thanks again.
The topic has been locked.
Support Specialist
10 years 1 month ago #42735 by alzander
No problem for the explanation. It's what we're here for. If you run into any issues or think my explanation above isn't right.. just let us know!

Thanks,
Alex
The topic has been locked.