Topic-icon The System - JFBCSystem is interfering with Jomres

Active Subscriptions:

None
10 years 8 months ago #35285 by iveth
Hi

The System - JFBCSystem is interfering with Jomres in the lastest update - I had it before in the older versions - for now I have disabled the The System - JFBCSystem plugin - what can I do =(
The topic has been locked.
Support Specialist
10 years 8 months ago #35288 by alzander
Can you explain a lot more as to what the interference is? With the little information you provided, it's impossible to help understand what the problem may be. Also, do you know what version you were using before that worked vs what version you're using now that doesn't?

The only suggestion I can provide is to try and re-order the JFBCSystem plugin to either the highest or lowest ordering in the plugin manager to see if the execution order changes the behavior.

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

None
10 years 8 months ago #35300 by iveth
Yes I have tried all - If I reinstall - enable it all again and send you an PM with login and all that can you have a look at it?
The topic has been locked.
Active Subscriptions:

None
10 years 8 months ago #35301 by iveth
I have just send you login details
The topic has been locked.
Support Specialist
10 years 8 months ago #35308 by alzander
Iveth,
The problem is a conflict between the JLinked Open Graph integration and JFBConnect's. JLinked should automatically disable it's Open Graph tags when JFBConnect is installed, but it's not for some reason on your site.

For a really easy fix, can you edit the /plugins/system/jlinkedsystem/jlinkedsystem.php file. Around line 233, you'll see:
$this->_replaceGraphTags();
        $this->_replaceJSPlaceholders($tagsFound, $twitterTagFound, $googlePlusTagFound, $jfbconnectTagFound);
Comment out that first line so it looks like:
# $this->_replaceGraphTags();
        $this->_replaceJSPlaceholders($tagsFound, $twitterTagFound, $googlePlusTagFound, $jfbconnectTagFound);
Let me know how that goes, but it should fix you right up.

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

None
10 years 8 months ago #35316 by iveth
No

Nothing happens and the funny text is still showing on top of the webpage -
The topic has been locked.
Active Subscriptions:

None
10 years 8 months ago #35334 by iveth
and I get this message from Disqus support: You have a facebook commenting feature that conflicts with the disqus one from what I see.
The topic has been locked.
Active Subscriptions:

None
10 years 8 months ago #35335 by iveth
And this is a message regarding Linkedin -: duplicate in.js loaded, any parameters will be ignored
The topic has been locked.
Active Subscriptions:

None
10 years 8 months ago - 10 years 8 months ago #35360 by iveth
If I completely disable the Jlinked the error is still there so it must be related to JFBC
Last edit: 10 years 8 months ago by iveth.
The topic has been locked.
Support Specialist
10 years 8 months ago #35375 by alzander
Thanks for your patience in the matter. The problem wasn't with JLinked, as you realized. The problem is with JomRes inserting it's own Open Graph tags incorrectly. JFBConnect will strip other conflicting tags, but the tag from JomRes is formatted improperly and not being removed properly.

The tag that JomRes is setting is:
<meta property="og:description" content="<p><strong>Natura Viva is one of the biggest, best positioned and most impressive posadas in Los Roques, its spectacular terrace is functionally as visual platform overlooking the grea..." />
Inside the content area of the tag, there should not be any HTML as that would cause Facebook issues as well.

The fix for JFBConnect looks to be very simple, but I haven't tested enough. Please edit the /libraries/sourcecoast/OpenGraph.php file. At line 65, you'll see:
$regex = '/<meta (property|name)="'.$ogTag->name.'".+?>/si';
Edit the +?> to be +\/?>. When done, it should look like:
$regex = '/<meta (property|name)="'.$ogTag->name.'".+\/?>/si';
Please test that and let me know how it goes.

Regarding your other questions:

and I get this message from Disqus support: You have a facebook commenting feature that conflicts with the disqus one from what I see.

What issues are you having with Disqus? JFBConnect does need to include the Facebook Javascript library and initialize it in a very specific way for our features to work. If Disqus is having issues with that, I'm not sure if there's much we can do.

And this is a message regarding Linkedin -: duplicate in.js loaded, any parameters will be ignored

I'm not seeing a duplicate inclusion of the LinkedIn Javascript. However, as with the above, the LinkedIn Javascript needs to be initialized with your API key and some other values for the login and other social features that JLinked implements to function properly.

I hope that gets you going,
Alex
The topic has been locked.