Topic-icon Why is FB profile pic not being downloaded into jomsocial profile

Active Subscriptions:

None
Well I hope this guy can fix it. He's asking for the following files:

plg_authentication_jfbconnectauth_j2.5_v4.2.0.zip
plg_user_jfbconnectuser_j2.5_v4.2.1.zip
plg_system_jfbcsystem_j2.5_v4.2.5.zip

but I can't find them in my downloads folder. Were they part of the main file? (com_jfbconnect_j2.5_v4.2.5.zip)
The topic has been locked.
Support Specialist
Those files are all part of the main component file you linked too. Installing the component will install those files as well.

Definitely keep us posted on how it goes. I'm curious to hear about the solution.

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

None
##text## Hi Alex,
Here's what the developer said (below). He's hoping that you'll be able to guess if the conflict can be resolved based on what he wrote. (note though that I have no idea how the profile import is supposed to work. I have tried to find the setting that enables the fB profile to import every time a user logs in and I can no longer find it. That's probably the best way to see if there still is a conflict.

Anyway here's what he said. Curious to hear your reaction:


Well, Login Immediately never had this option: it uses the Joomla registration by default. I used to claim compatibility with JomSocial and Community Builder, but some clients were experiencing problems, and the fragmentation caused by the different versions of those extensions led me to dismiss the compatibility support with those, as 90% of the time a refund was needed.

That's why I was telling you that, but if it worked, fine.

But there's a new element in the equation that's JFBConnect. I'm sure you already tested if disabling Login Immediately it works fine with the avatars, right?

If so, they work on the registration level too, and the extension is quite complicated being composed by 3+ plugins and other stuff.
I think it's less problematic for them to understand what Login Immediately does than me guessing what they're doing to grab the avatars from Facebook.
You can tell them: stripped down to the minimal this is what this User plugin does:

function onUserAfterSave($user, $isnew, $success, $msg) {
$app = JFactory::getApplication();

if ($app->isSite()) {
if ($isnew) {
$user_credentials = $user;
$user_credentials = $user;

$app->login($user_credentials);
$app->redirect(JRoute::_('index.php'));
}
}

(Code description: just after the user is saved, if it's a new user, log him into the system, and redirect to the home page)

Let me know if they tell you JFBConnect cannot work with this scenario, even if their plugin is moved before this (and as such is run before this by Joomla), because it needs to do stuff before the redirect.
I attached here the original Login Immediately package.
The topic has been locked.
Active Subscriptions:

None
Found the setting and changed it to import my profile avatar everytime and it worked. I don't know how it will work for a first time user though.
The topic has been locked.
Support Specialist
Moving our Login plugin after theirs may help, but it would likely break some other features. What I'd recommend is simply updating their plugin with the following code.
Change:
if ($app->isSite()) {
To:
if ($app->isSite() && JRequest::getVar('option') != 'com_jfbconnect') {
That should simply disable all of their logic on a JFBConnect registration, which is basically what you're looking for.

Hope that helps, but if not, just let us know!

Thanks, and good luck,
Alex
The topic has been locked.