Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 26
  1. #11
    Join Date
    Nov 2009
    Posts
    4
    Plugin Contributions
    0

    Default Re: Facebook comment box on product pages

    Hi guys!
    I'm a complete disaster with this... I've not been able to make it work properly. I always get the same error "The comments plugin requires an href parameter." and when I check the code I get a funny URL like this: index.php?main_page=product_info&cPath=%201%20&products_id=1516

    without my domain name...

    Can anyone post an easy-to-follow instructions for people like me? Thanks in advance!

  2. #12
    Join Date
    Dec 2008
    Posts
    38
    Plugin Contributions
    0

    Default Re: Facebook comment box on product pages

    Hi,
    Paste this code wherever you want the comment field to appear on your product page:

    <!--bof Facebook comments-->
    <div id="fb-root"></div><script src="http://connect.facebook.net/en_US/all.js#appId=APP_ID&amp;xfbml=1"></script><fb:comments href="<?php
    echo zen_href_link(zen_get_info_page((int)$_GET['products_id']),'cPath='. $_GET['cPath'].' &products_id='. $_GET['products_id']);
    ?>" num_posts="5" width="600"></fb:comments>
    <!--eof Facebook comments-->

  3. #13
    Join Date
    Nov 2009
    Posts
    4
    Plugin Contributions
    0

    Default Re: Facebook comment box on product pages

    Hi,
    Thank you very much for your help! However I still have the same error:
    The code above has been inserted in:
    /includes/templates/YOUR_TEMPLATE/templates/tpl_product_info_display.php

    And I get the same warning from facebook:
    The comments plugin requires an href parameter.

    The html code shows this:


    <!--bof Facebook comments-->
    <div id="fb-root"></div><script src="//connect.facebook.net/en_US/all.js#appId=APP_ID&amp;xfbml=1"></script><fb:comments href="index.php?main_page=product_info&amp;cPath=1_20%20&amp;products_id=1900" num_posts="5" width="400"></fb:comments>
    <!--eof Facebook comments-->

    I have also the facebook like button above in the same page and the facebook sidebox on the right. The sidebox seems to be also interefered with the error in someway.When the code is working the sidebox does not work as usual and shows a "go to facebook" link.

    Thank you very much. It seems easy to me and I don't see why it's not working. By the way my zencart version is 1.3.8 but with most bugfixes.

  4. #14
    Join Date
    Dec 2008
    Posts
    38
    Plugin Contributions
    0

    Default Re: Facebook comment box on product pages

    Hi, always use the latest version of ZC.
    I recommend using WinMerge to compare your files with the updated version if you have many addons installed.

    I have "FB comments" installed on 1.3.9h, alongside addthis.com's "Like it" button, and that works fine.
    Might be an issue with XFBML on 1.3.8.
    I'm sorry, but then I think you are going to have to rely on someone else to help you.
    I'm not a developer, so not sure how you would solve this.

    Endre

  5. #15
    Join Date
    Dec 2008
    Posts
    38
    Plugin Contributions
    0

    Default Re: Facebook comment box on product pages

    Just a quick update on the Facebook comment plugin.
    In order to moderate comments from within the plugin on each product page, put this bit of code in your html_header.php, in the <head> tag of includes/templates/template_default or custom/templates/html_header.php:
    <meta property="fb:admins" content='YOUR-FB-ID' />
    <meta property="fb:app_id" content='YOUR-FB-APP-ID' />

    Cheers
    Endre

  6. #16
    Join Date
    Dec 2008
    Posts
    38
    Plugin Contributions
    0

    Default Re: Facebook comment box on product pages

    The moderation tool works brilliantly.
    If you want to moderate comments within the plugin on every product page only, then you don't need an app id.
    But if you want to moderate comments on multiple domains perhaps, or want all comments from one domain on one page, then you have to set up a new application on Facebook Developers.

    The admin gets a notification on his/her Facebook profile page whenever a new comment is posted.

    Endre

  7. #17
    Join Date
    May 2011
    Posts
    5
    Plugin Contributions
    0

    Default Re: Facebook comment box on product pages

    Hi Guys,

    THe scripts work fine. However i faced something really challenging....

    1.) the comments box does not shown all the time
    2.) the comments will gone after a while and unable to be retrieved using https://graph.facebook.com/comments/?ids=[YOUR URL]

    3.) it turned back to the old facebook comment box (not the one we saw in FB site)



    it's really annoying !!! (i'm using zen cart V1.3.9h)
    Last edited by jiapien; 15 May 2011 at 02:46 PM. Reason: adding Zencart Version

  8. #18
    Join Date
    May 2011
    Posts
    5
    Plugin Contributions
    0

    Default Re: Facebook comment box on product pages

    Hi Guys,

    I just found out actually it was caused by the fanbox issue.

    DO NOT PUT FANBOX and COMMENTS BOX on the same page. They will cause your comments box functioning not properly!!!

    Regards

    John


    Quote Originally Posted by jiapien View Post
    Hi Guys,

    THe scripts work fine. However i faced something really challenging....

    1.) the comments box does not shown all the time
    2.) the comments will gone after a while and unable to be retrieved using https://graph.facebook.com/comments/?ids=[YOUR URL]

    3.) it turned back to the old facebook comment box (not the one we saw in FB site)



    it's really annoying !!! (i'm using zen cart V1.3.9h)

  9. #19
    Join Date
    Dec 2010
    Location
    monaco
    Posts
    39
    Plugin Contributions
    0

    Default Re: Facebook comment box on product pages

    I'd like to know how to be able to get the image of the products posted in the same time with the comment on FB's wall?

    i've added this to my store, but for some reasons when a comment is posted no images are shown on Facebook wall?

    i tried to add this code : &products_image='. $_GET['products_images']); but not working

    thank you for any help!

  10. #20
    Join Date
    Dec 2010
    Location
    monaco
    Posts
    39
    Plugin Contributions
    0

    Default Re: Facebook comment box on product pages

    forget my question i found it! thanx!

 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. is there a facebook comment plugins?
    By gavgav in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 9 May 2012, 09:34 PM
  2. adding product specific info into <head> tags on product pages for facebook
    By donplay in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 17 Feb 2010, 01:34 PM
  3. How to add another comment like box on the checkout pages?
    By hc1501 in forum Managing Customers and Orders
    Replies: 3
    Last Post: 10 Oct 2009, 02:31 AM
  4. Add another comment like box on the checkout pages?
    By hc1501 in forum General Questions
    Replies: 0
    Last Post: 9 Oct 2009, 09:58 PM
  5. Comment Box
    By phil8340 in forum General Questions
    Replies: 0
    Last Post: 16 Apr 2009, 06:28 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg