Page 14 of 35 FirstFirst ... 4121314151624 ... LastLast
Results 131 to 140 of 347
  1. #131
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,371
    Plugin Contributions
    23

    Default Re: Facebook Like Button

    I'm thinking that it could be a timing issue. Check to see how large the images are that don't show up. If they are a bigger file than the other images, then that could be the answer.
    The full-time Zen Cart Guru. WizTech4ZC.com
    New template for 2.0 viewable here: 2.0 Demo

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

    Default Re: Facebook Like Button

    thanks, that is the one thing I did not think of...yes we were having pretty large images and I can experiment with recreating the images in a smaller size.

    I checked to se if it was because some were png and others might be gif then jpg but never thought of the size.

    thanks will let you know

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

    Default Re: Facebook Like Button

    well tried making some of the no shows to be 700x700 which is smaller than the ones that are 800x800 and the ones that are 1100x1100 (the beginning sizes before image handler and they still do not wish to show up so not sure what is the problem.

    I even got this one:
    http://fantasiesrealm.com/market/ind...roducts_id=682

    got the original image I have on my computer then shrank it to 700x700 and did a "save for web". Reuploaded it and the silly girl still won't show up in the fb dialog box...so am still not sure.

    but will experiment with the ones I find that will not show in the fb dialog...lol

  4. #134
    Join Date
    Feb 2011
    Posts
    665
    Plugin Contributions
    0

    Default Re: Facebook Like Button

    ZC v1.39


    I've installed this add-on on my local site to check it out before loading on my website.

    a couple things I need help with.

    #1) What do I do with, or where to do I put the XFBML from Facebook?

    #2) Why doesn't the Like button show up on my main page? It does show up when a product is selected.

  5. #135
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,371
    Plugin Contributions
    23

    Default Re: Facebook Like Button

    Quote Originally Posted by DarkAngel View Post
    well tried making some of the no shows to be 700x700 which is smaller than the ones that are 800x800 and the ones that are 1100x1100 (the beginning sizes before image handler and they still do not wish to show up so not sure what is the problem.
    700 x 700 is dang large still. My rule of thumb is 500 x 500 and many times I go to 450 or 400 depending on what the product is.

    Serious:
    This is for adding the like button to the product pages only. If you are seeing it on those pages then you've installed the mod correctly. If the like button is working then that's all there is for now.

    I do have a modified version for placing a like button anywhere else in the cart. PM me if you are interested.
    The full-time Zen Cart Guru. WizTech4ZC.com
    New template for 2.0 viewable here: 2.0 Demo

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

    Default Re: Facebook Like Button

    Quote Originally Posted by delia View Post
    700 x 700 is dang large still. My rule of thumb is 500 x 500 and many times I go to 450 or 400 depending on what the product is.

    Serious:
    This is for adding the like button to the product pages only. If you are seeing it on those pages then you've installed the mod correctly. If the like button is working then that's all there is for now.

    I do have a modified version for placing a like button anywhere else in the cart. PM me if you are interested.
    Thanks, I like it on the product page only but will pm you anyway since I may change my mind---you never know and since I am female tis my perogative...lol

    The promo images are ginormous for we are a 3d art store and this way they can really see what they get really good. It is weird that some of the 1100 ones will go to facebook but some of the smaller ones won't..who knows, at lesast it works

    thanks for this wonderful addition.

  7. #137
    Join Date
    Mar 2011
    Posts
    76
    Plugin Contributions
    0

    Default Re: Facebook Like Button

    i use seo url, for the product www.site.com/aaa-p-10.html, like button record was 51, then i changed the product name to bbb, the current url is www.site.com/bbb-p-10.html, like button record becomes to 0, is it possible to make it back to 51?

  8. #138
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,371
    Plugin Contributions
    23

    Default Re: Facebook Like Button

    I doubt it but that's a question for facebook as it's their rules.
    The full-time Zen Cart Guru. WizTech4ZC.com
    New template for 2.0 viewable here: 2.0 Demo

  9. #139
    Join Date
    Sep 2004
    Location
    New Brunswick, Canada
    Posts
    67
    Plugin Contributions
    0

    Default Re: Facebook Like Button

    Quote Originally Posted by delia View Post

    I do have a modified version for placing a like button anywhere else in the cart. PM me if you are interested.
    Hi Delia, can you post the modified version?

    I have the like button working on products, it gets the proper info and images. I have modified the code a bit to display on my homepage, works fine but gets first image on the page, IE the "For All pets" tab.

    site is: http:// habitathaven .com

    Here is my homepage code, changed php echo to home URL and works fine, just need to select a static image via metatags or hard coded.

    Code:
    <div id="fb-root"></div>
    <script>
     window.fbAsyncInit = function() {
    FB.init({appId: '158346437554948', status: true, cookie: true,
    xfbml: true});
    };
    (function() {
    var e = document.createElement('script'); e.async = true;
    e.src = document.location.protocol +
    '//connect.facebook.net/en_US/all.js';
    document.getElementById('fb-root').appendChild(e);
    }());
    </script>
    <fb:like href="http://habitathaven.com/"></fb:like>
    My includes/modules/custom_template/meta_tags.php
    Code:
    //added  p.products_image for facebook opengraph / like button
      $sql= "select pd.products_name, p.products_model, p.products_price_sorter, p.products_tax_class_id, p.products_image,
                                          p.metatags_title_status, p.metatags_products_name_status, p.metatags_model_status,
                                          p.products_id, p.metatags_price_status, p.metatags_title_tagline_status,
                                          pd.products_description, p.product_is_free, p.product_is_call,
                                          mtpd.metatags_title, mtpd.metatags_keywords, mtpd.metatags_description
                                  from (" . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd) left join " . TABLE_META_TAGS_PRODUCTS_DESCRIPTION . " mtpd on mtpd.products_id = p.products_id and mtpd.language_id = '" . (int)$_SESSION['languages_id'] . "'
                                  where p.products_id = '" . (int)$_GET['products_id'] . "'
                                  and p.products_id = pd.products_id
                                  and pd.language_id = '" . (int)$_SESSION['languages_id'] . "'";
    
      $product_info_metatags = $db->Execute($sql);
      if ($product_info_metatags->EOF) {
        $meta_tags_over_ride = true;
      } else {
    As a Wordpress guy I want to use "if_is_home" or similar, or maybe define home meta tags like;
    // Home Page Only:
    define('HOME_PAGE_META_DESCRIPTION'

    Any ideas?

    Thanks

  10. #140
    Join Date
    Nov 2006
    Posts
    296
    Plugin Contributions
    2

    Default Re: Facebook Like Button

    one important change i had to make to get the like button behave without some weird stuff on some pages was to comment out this og property:
    Code:
    <!--<meta property="og:type" content="product" />-->
    For some reason some of the pages i was unable to like, while others just showed wrong pictures. After this change it seems to have solved these problems

 

 
Page 14 of 35 FirstFirst ... 4121314151624 ... 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