Topic-icon Select which elements are overwritten every time sign in with facebook

Active Subscriptions:

None
Hi, I'm aware that in Profiles > K2 the option is there to always import profile data.
How do I set it so that it always imports the Avatar, but never imports any text?
If I say NO to 'always import profile data' will the YES to 'import avatar' still work?
Cheers,
Matt
The topic has been locked.
Support Specialist
JFBConnect doesn't have individual settings for importing profile vs importing avatar during login right now. It's something that's planned for a future release though.

If you want to make a very small edit to our code, you should be able to disable the profile import pretty easily. To do so, edit the /libraries/sourcecoast/plugin/socialprofile.php file. Around line 125, you'll see:
$this->importSocialProfile(); // This will import fields from the user's profile
Simply comment that line out by adding // to the beginning of the line.

Test during registration and login and see if that does what you're looking for. Also, please note that you'll need to make that change again any time you upgrade until we break those settings up further.

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

None
Thanks! Will that still update the avatar?
Cheers
The topic has been locked.
Support Specialist
Yes it should as long as the Import Avatar setting is enabled. The next line of code after the commented out line is for the avatar import, but please let us know if this isn't working for you.

-Melissa
The topic has been locked.
Active Subscriptions:

None
Great, thanks...
I also noticed the line:
if ($this->settings->get('import_cover_photo', 0))
$this->importCoverPhoto();
Is this set up anywhere in the front end? I can't see any options for the cover photo, but it'd be great if I could import that too?
Where would it be stored?
Cheers,
Matt
The topic has been locked.
Support Specialist
Cover photos are only supported by the JomSocial and EasySocial extensions. If K2 ever extends its functionality to have a cover photo, we can add the functionality to our K2 Social Profile plugin.

Thanks,
-Melissa
The topic has been locked.