Topic-icon J3.4.2 - JFBC 6.4.0 issues

Active Subscriptions:

None
8 years 9 months ago #53848 by imnlimited
Hi,

We have just upgraded to Joomla 3.4.2. All seems fine, but...

1) Update Check Error - joxi.ru/4zANboVC1xO9A9

2) Issues when trying to share a link in ES stream - joxi.ru/WL21NObtwVqoAX

not sure if the second issue is related, but thought I'd mention it as they both started after the j3.4.2 update.

Thanks,


Andrew
The topic has been locked.
Support Specialist
8 years 9 months ago #53858 by alzander
Replied by alzander on topic J3.4.2 - JFBC 6.4.0 issues
1) What is actually wrong here? It seems like some buttons may be missing at the top, but it's also a very wide window, so I can't tell if I'm incorrect. Also, the language string for COM_JFBCONNECT is wrong at the bottom.

Either way, if you just upgraded Joomla, please make sure you clean your Joomla *and* browser caches. Template changes in each release of Joomla can cause the admin area to look funky until the new assets are loaded.

2) That looks like the EasySocial status update area. I'm not sure where it's pulling the image from, but I don't think this is related to JFBConnect. If there's a reason you think JFBConnect is causing the image not to load, just let us know.

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

None
8 years 9 months ago #53923 by imnlimited
1) As per PM to Alex... Tried clearing cache, checked Joomla Extension manager updates, etc.

2) This seems to be related to YouTube link sharing only... Could it be related to our Google+ JFBC sharing button also being missing? see PM to Alex for details.

Cheers
The topic has been locked.
Support Specialist
8 years 9 months ago #53934 by mel
Replied by mel on topic J3.4.2 - JFBC 6.4.0 issues
Regarding the Google +1 button, do you have any other extensions/template that has settings or code turned on for social sharing? The reason that I ask is because I see this code on your page to include the Google javascript library for the +1 button:
<script src="https://apis.google.com/js/platform.js?onload=onLoadCallback" async defer></script>

but the code that JFBConnect adds is
<script type="text/javascript">
              (function() {
                var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
                po.src = 'https://apis.google.com/js/plusone.js';
                var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
              })();
            function plusone_callback(response) {
              jfbc.social.google.plusone(response);
            };
            </script>

This could be part of the problem why the button is not rendering properly.

-Melissa
The topic has been locked.
Support Specialist
8 years 9 months ago #53935 by mel
Replied by mel on topic J3.4.2 - JFBC 6.4.0 issues
Also, I just tried the cancel button in Firefox for sharing with Facebook and it worked. Can you try this again to see if you're having the same problem? If so, which browser are you using?

-Melissa
The topic has been locked.
Support Specialist
8 years 9 months ago #53936 by mel
Replied by mel on topic J3.4.2 - JFBC 6.4.0 issues
Also, I just tried the cancel button in Firefox for sharing with Facebook and it worked. Can you try this again to see if you're having the same problem? If so, which browser are you using?

-Melissa
The topic has been locked.
Active Subscriptions:

None
8 years 9 months ago #53945 by imnlimited
Mel, I just removed this code from index.php:
<script src="https://apis.google.com/js/platform.js?onload=onLoadCallback" async defer></script>

However, it made no difference... The Google+ button is still missing.

And the 'Update Error' button issue I am having in Safari and Chrome on Mac.

Really appreciate your help.

Thanks,

Andrew
The topic has been locked.
Support Specialist
8 years 9 months ago #53962 by mel
Replied by mel on topic J3.4.2 - JFBC 6.4.0 issues
I should have realized this earlier, but looking closer at the code on the page, I realize that the sharing buttons are not being inserted into the page by JFBConnect at all. They look to be from EasyBlog, not us. Here's the code block (which is not from JFBConnect):
<div class="social-button social-button-small google-plusone"><span id="sb-1587293129"></span></div></div><script type="text/javascript">EasyBlog.require().library("bookmarklet").done(function($){$("#sb-1587293129").bookmarklet("googlePlusOne",{href:"https://www.opgroeigids.nl/blog/entry/opgroeigids-blogs/lief-abc-met-kermit",size:"medium"});});</script><div class="socialbutton-vertical alignleft"><div class="social-button social-button-plain linkedin-share"><span id="sb-1428181900"></span></div></div><script type="text/javascript">EasyBlog.require().library("bookmarklet").done(function($){$("#sb-1428181900").bookmarklet("linkedIn",{url:"https://www.opgroeigids.nl/blog/entry/opgroeigids-blogs/lief-abc-met-kermit",counter:""});});</script><div class="socialbutton-vertical alignleft"><div class="social-button social-button-plain pinterest"><span id="sb-893558826"></span></div><script type="text/javascript">EasyBlog.require().library("bookmarklet").done(function($){$("#sb-893558826").bookmarklet("pinterest",{url:"https%3A%2F%2Fwww.opgroeigids.nl%2Fblog%2Fentry%2Fopgroeigids-blogs%2Flief-abc-met-kermit",style:"none",media:"https%3A%2F%2Fwww.opgroeigids.nl%2Fimages%2Feasyblog_images%2F70%2F2e1ax_vintage_frontpage_abc_kermit.png",title:"Lief ABC met Kermit",description:"Joey+zingt+samen+met+Kermit+haar+versie+van+ABC.+Er+komt+vaak+Cookie+monster+in+voor.+Maar+kijk+vooral+tot+het+eind%2C+zo+lief%21+%5Bembed%3Dvideolink%5D%7B%22video%22%3A%22https%3A%2F%2Fyoutu.be%2FlYIRO97dhII%22%2C%22width%22%3A%22400%22%2C%22height%22%3A%22225%22%7D%5B%2Fembed%5D"});});</script></div></div>

This also brings up the fact that you are probably going to encounter problems when using social networking functionality in multiple extensions if you are using JFBConnect. At least for Facebook, this can cause problems with login and widget functionality not working. Please see our common support questions for "What do these Autotune Error Check errors mean?" > "Test: Facebook Javascript library inclusion Fail" for more details.

As far as the update error, do you know if you were having the error before you updated to 6.4.1?

-Melissa
The topic has been locked.
Active Subscriptions:

None
8 years 9 months ago #53964 by imnlimited
Hi Mel,

1) Google+ Button Issue:

Re:
"This also brings up the fact that you are probably going to encounter problems when using social networking functionality in multiple extensions if you are using JFBConnect. At least for Facebook, this can cause problems with login and widget functionality not working. Please see our common support questions for "What do these Autotune Error Check errors mean?" > "Test: Facebook Javascript library inclusion Fail" for more details."

So how should we rectify this, or how do you suggest we work when we have multiple extensions. Our preference is to use JFBC as a total social integration solution.


2) Update Error button

re:
"As far as the update error, do you know if you were having the error before you updated to 6.4.1?"

It has been there since after Joomla 3.4.2/3 update.

Thanks,


Andrew
The topic has been locked.
Support Specialist
8 years 9 months ago #54011 by alzander
Replied by alzander on topic J3.4.2 - JFBC 6.4.0 issues

So how should we rectify this, or how do you suggest we work when we have multiple extensions. Our preference is to use JFBC as a total social integration solution.

When a JFBConnect Google +1 button is included on the page, we also add the following Javascript library to the page which is required to render the button:
https://apis.google.com/js/plusone.js
Since you're not using our button, I'm not sure why it's not rendering.

In general, JFBConnect goes to great lengths to work in a very compatible way with other extensions that also have their own social buttons. You are free to use EasyBlog's social buttons on your site and it shouldn't cause any problems. I do not think the reason the button is missing is due to JFBConnect. It's either an optimization issue, where the library above is being left out, loaded out of order, or somehow altered.. or an issue with EasyBlog itself. Unfortunately, I don't have any answers as to the cause.

You can switch to our buttons if you want by either altering the EasyBlog template files and including our easy-tags (SCGooglePlusOne ..} or using the JFBCSocialShare module to add all the buttons to a module position.

2) Update Error button

re:
"As far as the update error, do you know if you were having the error before you updated to 6.4.1?"

It has been there since after Joomla 3.4.2/3 update.

Still unsure what's going on here. Can you go to the Joomla Install -> Update area and see if updates are properly being checked for JFBConnect and other extensions there? We use Joomla's native Joomla installer and update manager to check for new releases, so that would be the first area to check to determine where the cause is. If it works there, it may be a Javascript issue with checking the update status from our control panel.

Thanks,
Alex
The topic has been locked.