Topic-icon CB Profile Integration failing to enable / confirm new users

Active Subscriptions:

None
Alex, I am planning to send Friday's beta update for the developer to install and test overnight. Since there are subsequent fixes made to this update, does it make sense at this point to install this version or do you recommend we wait until tomorrow or its next release?
The topic has been locked.
Support Specialist
Mitchell,
The update with the code change above should work in most cases. There was an issue that securepro found if you have the "Show Profile Fields:" setting on "All". We have a fix for that as well, but really have only tested that change on his site and not in our test suite. I can give you the few extra lines of coded needed for that change if necessary for that if you'd like to test.

We're hoping to release the finalized plugin later this week, but hoping to get more testing confirmation from either (or preferably both) of you first. We'll also be testing some more as well. We were extremely hectic last week. Things will be a little slower this week, and then next week, we'll be back to normal. So, hopefully we can finalize it this week, but if not, it will be next definitely.

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

None
Hey Mitchell,
How did you make out? I am still not whole.

I don't think my issue is isolated, because I installed a clean version of J2.5, CB and Jlinked..
When someone login's in using SC_Login, then uses the "In Connect" button their profile fields do not import.
Everything else works though.

Alex and the Forum went silent since the 17th. So looking for an update, wondering if you have heard anything.
Thanks. Greg
The topic has been locked.
Support Specialist
Greg,
No great update yet, unfortunately (from us at least). I offered the few lines of code required to change on the 17th. I've been Private Messaging with you and our last contact was on the 18th where my last message had said "Would definitely like to have a finalized plugin with all these issues fixed by the end of the week, but it may take until early next, just so you know. ". We're still hoping to get something finalized by late this weekend and can try to implement it on your site once we do.

As mentioned previously, last week really slowed us down with some travel and development for changes that Facebook made that were urgent for us to update to. We're catching up on a few outstanding support requests, and this is definitely one. This weekend, we'll be presenting at Joomla Day New York, and that will fortunately be the last 'big' thing on our radar for a while.

Things will be settling down after this weekend. If the updated plugin is out by the weekend, we'll be devoting most available man-hours to fix the newest issue you've brought to our attention (importing profile when connecting accounts). The updates we made for you recently do allow for registration import to function how you expect and hopefully that will be enough for the next few days until we can implement the other features.

Finally, as always, we have a 30-day money back guarantee. If you aren't satisfied, please feel free to request a refund.

Best of luck,
Alex
The topic has been locked.
Support Specialist
Greg,
Thanks for your patience. We were able to do a lot more testing and think we've realized a mis-communication that may have happened in this thread somewhere.

First off, a quick note. LinkedIn's API/App Developer Policy requires that user's actively allow their profile information to be imported from LinkedIn. What this means is that we have to provide some way for the user to approve their information can be imported. That's why during a first-time registration there is the checkbox that says "Permission to import profile" or whatever it says.

So, if a user clicks the Login with LinkedIn button and goes to the standard Login/Register page, they can use the left-hand side of the form to login to an existing Joomla account. On that form, there is also the "Permission to import profile" checkbox.

However, it sounds like you're using the SCLogin modules' "Connect this account?" link. That button currently doesn't have any forms or other methods for us to get the user's approval to import their profile. We're looking into ways to do this that aren't too confusing (that section can already be confusing to some users). We're also planning to have a way to let a user click a button to import their profile whenever they wish. That would work for any user that has performed the user-mapping, not just at the time of registration or when they initially link their accounts. I don't have a firm date on when that would be done.

With that said, if you are interested, I can give you what should be about 3'ish lines of code where you can force the user's profile to be imported when they use the Login with LinkedIn button when they are already logged in and mapping their account. We won't be including those lines in a release though, as they aren't inline with LinkedIn's Terms of Service.. and therefore, not something we'd apply to everybody. You're free to make that decision if you want though. Do note though that any information being imported will overwrite the user's existing profile for those fields (or avatar), and that may not be what you're users want.

Hope that helps explain, and if you need more info or help, definitely let us know. We're cleaning up the CB plugin today to get rid of some of the warning messages you've seen and will likely be releasing later this week.

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

None
ahhhhhhhh.... the fog clears!
Our mis-communication is therefore due to my expecting that SCLogin "In-Connect" would perform the same initial import as the registration methods.
If I understand you correctly now, the SCLogin "In-Connect" button is only an authentication linker.

Yes, please share the code with me. I will make sure users are warned on my site.
I have 2000 members I am importing from the old (non-joomla site) and initially I want them to connect to LinkedIn
and overwrite/fill the mapped fields which did not exist in the old (non-Joomla) site.

The future ability for a user to import their LinkedIn profile "on demand" is very desirable,
but I would want it to warn them about the potentially destructive overwrite
and I would want some sort of governor such as the user can only do this X times per Y period.

Also, the SCLogin you were tweaking on my site during debugging is a little funky (see attachment). There is an errant ">" after
class="button">
Should I roll back to the last zip install package I received from you or can you point me to where this error resides and I can just fix this button?

File Attachment:


Thanks.
Greg
The topic has been locked.
Active Subscriptions:

None
Mitchell.
Sorry for high-jacking your topic.
Greg
The topic has been locked.
Support Specialist
Greg,
I honestly don't recall editing your SCLogin module at all. I'd re-install JLinked if you're having that issue and that will re-install the SCLogin module as well. If that doesn't work, check if you created a template override that may be injecting the problem.

As for the code change you're looking for, edit the /components/com_jlinked/controller.php file. At line 72, you'll see:
else # Already logged into Joomla. Update their LinkedIn mapping
        {
            SCSocialUtilities::clearJLinkedNewMappingEnabled();
            #echo "Updating mapping only";
Add the following after that:
JPluginHelper::importPlugin('jlinkedprofiles');
            $args = array($user->get('id'), $liMemberId);
            $app->triggerEvent('jlinkedProfilesImportProfile', $args);
That code is completely un-tested in that location, but it's pretty straightforward as to what it should do. As always, please test, test, test... and then let us know how it goes!

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

None
Alex,
We found it!
The problem I was having with SCLogin was caused by a 3rd party plugin (scriptsdown) I was using to move the javascript to the bottom of the page.
It is incompatible with the SCLogin javascript and caused the issue.
I turned it off and all is as it should be. It does have an option to ignore specific scripts but for now I removed it.
The topic has been locked.
Support Specialist
Awesome, glad you found the SCLogin thing... didn't think that was me :D

Did the code above work for you to import the profile on 'mapping'? Would love to hear how that went!

Thanks,
Alex
The topic has been locked.