Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • kjlarski JATC
    #189439

    Hi there-

    We upgraded to the latest JA Social Feed last week, and have been getting an error on the Facebook comments ever since. Please see the attached screenshot. Any thoughts on how to fix this?

    The site is at socialraise.co/hubstaging if you would like to have a look.

    Thanks again,
    Kevin


    1. facebook-error
    phong nam Friend
    #501157

    Hi Kevin,

    The reason that Facebook comment’s embed code format has changed dramatically since we released JA Wall template in May 2012, so that tthe older codes in our overriden Joomla content layout no longer work well. In order to solve it, you can try on below tips:

    1. Go to http://developers.facebook.com/docs/reference/plugins/comments/ , then enter your website’s url to get Facebook comment’s embed codes.

    2. Open templatesja_wallhtmlcom_contentarticledefault.php, replace lines (235 –> end) with your new codes. Clear Joomla cache in Site >> Maintenance >> Clear Cache. The Facebook comments will work fines on your website.

    Note: Backup your files before applying changes, and I suggest you to use the embed codes with HTML5 format after clicking Get code bytton on Facebook developer site.


    1. 8-3-2013-7-39-49-PM
    kjlarski JATC
    #501311

    Hi Leo-

    Thanks again for your reply and your help. I tried inserting that code in, but I’m now seeing the Facebook Comments appearing twice. I imagine this has something to do with some customizations that we did on the default.php file that you mention. I cannot see what code to replace. I will PM you with the FTP information, if you could kindly take a look and let me know what’s going on. Whatever you do, please let me know what you did to fix so I can make the same changes on our production site.

    Thanks again,
    Kevin

    phong nam Friend
    #501352

    Hi Kevin,

    The FB comments issue was fixed on your website now, there are two main things I did on:

    1. The FB comments box with unreachable url warning is caused by a 3rd party plugin named the Content – Facebook Article Bar. You need to disable it.

    2. After disabling above plugin, you need to put all FB comments to Joomla article layout file at /templates/ja_wall/html/com_content/article/default.php. These will be ok also when you put a part of the scripts into index.php

    Note You should put our customized embed codes to display the FB comments box:

    <div class="fb-comments" data-href="<?php echo JURI::getInstance()->toString(array('scheme', 'host', 'port')) . $this->item->readmore_link; ?>" data-num-posts="2" data-width="576"></div>

    ibewguy Friend
    #506786

    This still doesn’t work for me still – I tried the all the recommendations and I still get the unreachable error!

    phong nam Friend
    #506805

    Hi ibewguy,

    Would you mind sending me PM with your website’s credentials ? I will help you to check this issue.

    Note: And it will be better that you did backup your files.

    ibewguy Friend
    #506806

    Sure, I am using the quickstart on nginx in a stand-alone server…I have not yet begun evolving the template for my needs!!

    Thank you!

    phong nam Friend
    #506815

    Hi ibewguy,

    Thank you for sending me PM with the admin login. In this case, i have 2 suggestions for you:

    1. Remove the FB comments codes at the end of /templates/ja_wall/html/com_content/article/default.php file. Then try to use a FB comment extension as an alternative choice. See this JED page: http://extensions.joomla.org/extensions/social-web/social-comments

    2. Send me PM again with the FTP account of your website so that i can check the article layout (default.php) and adjust some settings if needed. Because, you can see that the FB comments is working fine on our JA Wall demo site at (i.e) http://joomla25-templates.joomlart.com/ja_wall/en/91-sport/318-golf-woods-ends-victory-drought.html

    ibewguy Friend
    #506879

    Hi Leo,

    Thanks – I have no problem sending you the FTP info – but I am behind a firewall on in internal LAN and have been unable to access my FTP from the outside…I built the server from the ground up and will try to open a firewall port for access!!

    Thanks again!

    phong nam Friend
    #506918

    Hi,

    Take your time, ibewguy.

Viewing 10 posts - 1 through 10 (of 10 total)

This topic contains 10 replies, has 3 voices, and was last updated by  phong nam 11 years, 2 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum