Topic-icon jQuery conflicts with JLinked

Support Specialist
10 years 6 months ago #37808 by alzander
You can have them post in this forum or use our Contact Us button. Our solution is still going to be the same.. remove the code that's loading the in.js file from LinkedIn. I wouldn't think that should be that hard to do for the developers of the extension.

We'll gladly tell them the same if they contact us, but I can't dig into their extension to understand what it's doing and how to change it.

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

None
10 years 6 months ago #37944 by number17
Dear Alzander

I'm just fixing the conflict with JLinked on the site direct.allmassage.gr/en/.
Can you let me know the file calling javascript in.js. I need to check it and find the solution for the conflict.

Thank advance.
The topic has been locked.
Support Specialist
10 years 6 months ago #37976 by alzander
That file is being loaded from the /plugins/system/jlinkedsystem/jlinkedsystem.php file. Around line 94, you'll see:
$inJS = '<script type="text/javascript" src="//platform.linkedin.com/in.js?async=true"></script>' . "\n";
That variable is being insered a few lines down from there.

The initialization we do there is critical for some LinkedIn features, so please don't disable the IN.init section.

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

None
10 years 6 months ago #38218 by number17
Dear Alzander

Can you help me again ?. I know your JLinked used file in.js with few parameter have IN.ENV.js[key] = ["r_emailaddress", "r_basicprofile", "r_fullprofile", "r_contactinfo", "rw_nus", "r_network"]

But in this our module, we need the typeof IN.ENV.js[key] = undefined, so how can I create the function IN.init() to not give your parameter ?
The topic has been locked.
Support Specialist
10 years 6 months ago #38224 by alzander
I'm honestly not sure what you're asking. The in.js file is a Javascript file loaded from LinkedIn and is required.

If you need help making modifications, we'll gladly help. However, it sounds like your issues are very different than this original thread. If you could, please create a new topic, let us know a URL where we can see the issue, and let us know how things need to change or what problems you're running into, and we'll gladly help how we can.

Finally, please post from the account you subscribed to JFBConnect from. Priority support is for subscribers only.

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

None
10 years 6 months ago #38232 by 7of9
Replied by 7of9 on topic jQuery conflicts with JLinked
Hi Alex,

alzander wrote: If you could, please create a new topic, let us know a URL where we can see the issue

number17 is the programmer of the extension I have a conflict with JLinked. The URL is the same I have already given you and the problem is still when I have JLinked installed, the Linkedin tab of mod_jux_social_media_tabs is not working. You can see this extension at my website, at the top / left, is the one that shows the streams of each social network and allows like / follow.
Are you saying we need to create a new thread for this problem?

alzander wrote: Finally, please post from the account you subscribed to JFBConnect from. Priority support is for subscribers only.

As I said before this is my problem and number17 is trying to resolve this for me, since there is a conflict between his extension and JLinked. So I think that priority support applies here. Furthermore I would really appreciate your assistance here.

Thanks in advance.
The topic has been locked.
Support Specialist
10 years 6 months ago #38243 by alzander
Sorry, I was confused. It was late night last night when I responded, and forgot the full course of this thread.

Can you help me again ?. I know your JLinked used file in.js with few parameter have IN.ENV.js[key] = ["r_emailaddress", "r_basicprofile", "r_fullprofile", "r_contactinfo", "rw_nus", "r_network"]

But in this our module, we need the typeof IN.ENV.js[key] = undefined, so how can I create the function IN.init() to not give your parameter ?

The scope parameter actually shouldn't be required, and could be removed. However, the api_key parameters is critical for some of the LinkedIn social widgets to function as they will only work on a domain set for that API key.

I don't know of any way to re-load the in.js library and re-init it without causing a conflict. What parameters are you trying to add to the init routine? We may be able to help you add it to our extension or help you add the code that JLinked requires into your code.

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

None
10 years 6 months ago #38258 by number17
Dear

We don't use any parameters, because in this file

platform.linkedin.com/js/framework?v=0.0...0628-1408&lang=en_US

line 1609, I need typeof IN.ENV.js[key] == 'undifined', so it will out of switch ... case. With the current parameters, the code will error in line 1621.

I do not understand it clearly, can you help me with this ?
The topic has been locked.
Support Specialist
10 years 5 months ago #38284 by alzander
I really don't know what the in.js code is actually doing. We've just used the LinkedIn Developer Documentation to properly initialize it for our needs. Can you help me understand what you're doing that needs the initialization to be blank? We may be able to investigate how to get around that, but to our knowledge, most use of the LinkedIn Javascript requires it to be initialized unless you're just using the share button.

What feature(s) are you implementing?

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

None
10 years 5 months ago - 10 years 5 months ago #38304 by 7of9
Replied by 7of9 on topic jQuery conflicts with JLinked
Hi Alex,

The module in question supports two main features, in various social networks:
1. Display stream.
2. Follow.

You can actually see what it does if you click on the rest of the social network tabs.
Last edit: 10 years 5 months ago by 7of9.
The topic has been locked.