Page 27 of 35 FirstFirst ... 172526272829 ... LastLast
Results 261 to 270 of 347
  1. #261
    Join Date
    Jun 2006
    Location
    My family and I live in Brighton, England
    Posts
    982
    Plugin Contributions
    0

    Default Re: Facebook Like Button

    Hi, and thanks for this mod :)

    I've been able to successfully install the mod (Zen cart 1.3.8), however, when I "like" and post the item to FB, it is always the incorrect item. Any ideas?

    Also, I'd prefer not to have the faces. How might I achieve this?

    Thanks again.

  2. #262
    Join Date
    Oct 2007
    Location
    Emporia, Kansas
    Posts
    1,762
    Plugin Contributions
    0

    Default Re: Facebook Like Button

    Quote Originally Posted by MeltDown View Post
    Hi, and thanks for this mod :)

    I've been able to successfully install the mod (Zen cart 1.3.8), however, when I "like" and post the item to FB, it is always the incorrect item. Any ideas?

    Also, I'd prefer not to have the faces. How might I achieve this?

    Thanks again.
    in the includes/templates/your template/templates/tpl_product_info_display.php

    I have my code right after this code:

    //require(DIR_WS_MODULES . '/debug_blocks/product_info_prices.php');
    ?>


    That is how mine is set in and it shows only the link to share with...no button or faces...I get tired of seeing that thumb everywhere--fact is mine just shows a tiny facebook "F" button

    <!-- bof Facebook Like Button -->


    <div id="fb-root"></div>
    <script>
    window.fbAsyncInit = function() {
    FB.init({appId: 'YOUR INFO HERE', status: true, cookie: true,
    xfbml: true});
    FB.Event.subscribe('edge.create', function(href, widget) {
    // Do something, e.g. track the click on the "Like" button here
    });
    };
    (function() {
    var e = document.createElement('script');
    e.type = 'text/javascript';
    e.src = document.location.protocol +
    '//connect.facebook.net/en_US/all.js';
    e.async = true;
    document.getElementById('fb-root').appendChild(e);
    }());
    </script>
    <!-- eof Facebook Like Button -->

  3. #263
    Join Date
    Jun 2006
    Location
    My family and I live in Brighton, England
    Posts
    982
    Plugin Contributions
    0

    Default Re: Facebook Like Button

    Quote Originally Posted by DarkAngel View Post
    in the includes/templates/your template/templates/tpl_product_info_display.php

    I have my code right after this code:

    //require(DIR_WS_MODULES . '/debug_blocks/product_info_prices.php');
    ?>
    Thanks for the reply, DarkAngel. I've been able to modify the code itself and its placement to my satisfaction. However, the thumbnail image associated with the product when posted to FB is always Incorrect. The description and url are correct, just the thumbnail that is not.

    Anyone else experiencing this?

    Thanks again.

  4. #264
    Join Date
    Oct 2007
    Location
    Emporia, Kansas
    Posts
    1,762
    Plugin Contributions
    0

    Default Re: Facebook Like Button

    Quote Originally Posted by MeltDown View Post
    Thanks for the reply, DarkAngel. I've been able to modify the code itself and its placement to my satisfaction. However, the thumbnail image associated with the product when posted to FB is always Incorrect. The description and url are correct, just the thumbnail that is not.

    Anyone else experiencing this?

    Thanks again.
    I forgot to answer that part didn't I...lol

    oh well you had asked about the faces too

    anyway about the image it might be a naming issue. take a look at the image that is showing up and the one you want it to be and see if there are similarities in the name, non alpha characters in the names.

    if you posted a link to the offending item then you would get more help cause they could actually see what is cooking.

    also I would suggest you get with 1.3.9h for better security, 1.3.8 versions were easily hacked and hosts will suspend the stores that get hacked...I have had to bail out quite a few stores that were hacked.

  5. #265
    Join Date
    Jun 2006
    Location
    My family and I live in Brighton, England
    Posts
    982
    Plugin Contributions
    0

    Default Re: Facebook Like Button

    Quote Originally Posted by DarkAngel View Post
    I forgot to answer that part didn't I...lol

    oh well you had asked about the faces too

    anyway about the image it might be a naming issue. take a look at the image that is showing up and the one you want it to be and see if there are similarities in the name, non alpha characters in the names.
    There are products that share the same name, however, that is not always the case with each incident. Is it possible to have the mod call the image in another, more specific way, such as model id?

    Thanks again.

  6. #266
    Join Date
    Oct 2007
    Location
    Emporia, Kansas
    Posts
    1,762
    Plugin Contributions
    0

    Default Re: Facebook Like Button

    Quote Originally Posted by MeltDown View Post
    There are products that share the same name, however, that is not always the case with each incident. Is it possible to have the mod call the image in another, more specific way, such as model id?

    Thanks again.
    without the direct link the people here can only guess and that won't get you to find the answer quicker.

    crosstalk between images is the culprit in a lot of things not just this mod.

    did you by chance change the code in anyway other than to get rid of the faces?

    maybe something got left out or slightly changed.

  7. #267
    Join Date
    Jul 2011
    Posts
    16
    Plugin Contributions
    0

    Default Re: Facebook Like Button

    Heya,

    Ive been reading through this thread but can't find any solution to my problem.

    I am getting an error when pressing the "Like" button.

    The App ID "123179024441344" in the meta tag "fb:app_id isn't correct.
    Anyone got a clue what's wrong?
    Site: http://www.timstore.se
    Version 1.3.9h

    From tpl_product_info_display.php:
    Code:
    FB.init({appId: '123179024441344', status: true, cookie: true,
    From html_header.php:
    Code:
    <meta property="fb:admins" content="123179024441344"/>
    Thanks!

  8. #268
    Join Date
    Oct 2007
    Location
    Emporia, Kansas
    Posts
    1,762
    Plugin Contributions
    0

    Default Re: Facebook Like Button

    Quote Originally Posted by PleXy View Post
    Heya,

    Ive been reading through this thread but can't find any solution to my problem.

    I am getting an error when pressing the "Like" button.



    Anyone got a clue what's wrong?
    Site: http://www.timstore.se
    Version 1.3.9h

    From tpl_product_info_display.php:
    Code:
    FB.init({appId: '123179024441344', status: true, cookie: true,
    From html_header.php:
    Code:
    <meta property="fb:admins" content="123179024441344"/>
    Thanks!
    Is that your FB appId -- is it a group or an individual account?

    Check the number again to make sure it is right...copy then paste it into the coding

    when I click my stores link it sends the "like" to my individual account.

    I tried a few of your like buttons and they gave me no error message but they also did not post to my FB page either

  9. #269
    Join Date
    Jul 2011
    Posts
    16
    Plugin Contributions
    0

    Default Re: Facebook Like Button

    Quote Originally Posted by DarkAngel View Post
    Is that your FB appId -- is it a group or an individual account?

    Check the number again to make sure it is right...copy then paste it into the coding

    when I click my stores link it sends the "like" to my individual account.

    I tried a few of your like buttons and they gave me no error message but they also did not post to my FB page either

    Thanks for your fast reply!
    Yeah I now noticed that some products doesn't give a post.

    Example 1, doesnt give a post: http://timstore.se/index.php?main_pa...products_id=43
    Example 2, gives a post http://timstore.se/index.php?main_pa...&products_id=1

    For me it gives error messages on both examples though.

    Any clue? :)

    Edit:
    Oh yeah. The url to the facebook page is http://www.facebook.com/Timstore
    I checked the app id by hovering over some links from there and found a number "123179024441344"

  10. #270
    Join Date
    Jul 2011
    Posts
    16
    Plugin Contributions
    0

    Default Re: Facebook Like Button

    Okay I figured it out. You need an application as well to make it work, duuh.
    Thought it was enough with only the actual page id.

    Thanks for your fast support!

 

 
Page 27 of 35 FirstFirst ... 172526272829 ... LastLast

Similar Threads

  1. Facebook like button
    By petestownrich in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 18 Feb 2015, 07:02 PM
  2. v151 facebook like button
    By ken1 in forum General Questions
    Replies: 0
    Last Post: 14 May 2014, 07:03 PM
  3. Facebook like button
    By bocahydro in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 5 Mar 2014, 01:48 PM
  4. facebook like button and google + button in Header.
    By Horrific_ending in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 4 Jan 2012, 04:46 PM
  5. Facebook like button
    By rdsbaker in forum All Other Contributions/Addons
    Replies: 5
    Last Post: 25 Mar 2011, 07:00 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