Tagged: x
-
AuthorPosts
-
April 30, 2016 at 2:05 pm #907138
TrankuilityParticipantThe X-Facebook Comments extensions times out and causes the page to load slower than it should. See the screenshot.
How do I resolve this?
April 30, 2016 at 2:06 pm #907139
TrankuilityParticipantThis reply has been marked as private.May 1, 2016 at 4:39 am #907649
Rue NelModeratorHello There,
Thanks for writing in!
X 4.4.2 and Cornerstone 1.2.4 are now available! This release contains several bug fixes and we’re quite excited about the new features, so be sure to check out the changelog. Please do update to the latest version. After doing the updates, always remember to clear all caches when updating so that the code from the latest release is always in use. This will help you to avoid any potential errors.
Please let us know how it goes.
May 1, 2016 at 11:35 pm #908553
TrankuilityParticipantThat wasn’t a clear answer. Are you saying that upgrading to X 4.4.2 will fix my problem?
May 2, 2016 at 2:08 am #908663
RadModeratorHi there,
Sorry for the confusion. It’s due to the connection between your site and facebook, it is slow and using the PHP Curl. Other users don’t have that issue, which is probably due to a different hosting. environment. Curl is part of PHP where WordPress runs.
Since I can’t help you fixing the Curl delay, all I could help you is remove that code from Facebook Comment Extension.
Empty the code x_facebook_comments_nunber() under /wp-content/plugins/x-facebook-comments/functions/outsput.php using FTP or file manager. For example,
function x_facebook_comments_nunber() { //no code here }But please backup your original copy.
Hope this helps.
May 2, 2016 at 10:58 am #909303
TrankuilityParticipantThank you, but when I remove that piece of code you mentioned…
1) What exactly will that do?
2) Will anything else be affected?
3) Would resolving the curl issue improve speed more than removing the code?May 2, 2016 at 2:04 pm #909612
TrankuilityParticipantI spoke to the Hosting support and they replied with:
The way your site connects to Facebook is determined by your sitecode not anything we would have set on the server-side.
Is there any information regarding how it is supposed to be making this connection instead of using PHP curl?
May 3, 2016 at 12:56 pm #911168
DarshanaModeratorHi there,
Could you please try the above solution. It will basically ignore the curl functionality getting the number of comments. If you want to implement it with a different approach, I strongly suggest you to contact a developer for that.
Thank you!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-907138 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
