MOD Social Networking for Facebook, Twitter, Google+ 2015-04-09

Use auction listing for Facebook share, and have Share your website with different content.

  1. mobilestimulus

    mobilestimulus Member

    Joined:
    Jan 30, 2014
    Messages:
    85
    Likes Received:
    8
    Ok, item.php then. Please post the code so I can give it a look.
     
  2. marlcliff

    marlcliff New Member

    Joined:
    Feb 7, 2014
    Messages:
    3
    Likes Received:
    1
    This works fine for me on 1.1.1 thank you
     
  3. pani100

    pani100 Well-Known Member

    Joined:
    May 9, 2011
    Messages:
    2,327
    Likes Received:
    449
    Skyhigh, Hi. On the item page it looks like the default logo is placed instead of the item image. This must be because of a problem with the $auction_data['pict_url'] in the item page.php. In the item.php you might be modifying the $auction_data['pict_url'] at some point. If that is the case, as soon as $auction_data is created ($auction_data = mysql_fetch_assoc($result);), make a new var like auction['pict_social'] = $auction_data['pict_url'] right under it. Then use auction['pict_social'] for the images in socialnetwork.php.
    All the other auction data are passed through ok.
     
    Alo likes this.
  4. skyhigh

    skyhigh Member

    Joined:
    Sep 28, 2010
    Messages:
    449
    Likes Received:
    8
    dude i have no idea what you just said should i send u the item.php page? for example this is what am talking about http://www.makeisell.com/product-lg-google-nexus-4-328

    and i have rectify the pop jquery its working well now.
     
    Last edited: Feb 12, 2014
  5. bmroy

    bmroy Member

    Joined:
    Apr 6, 2012
    Messages:
    57
    Likes Received:
    6
  6. pani100

    pani100 Well-Known Member

    Joined:
    May 9, 2011
    Messages:
    2,327
    Likes Received:
    449
    Skyhigh the item images are not getting passed through, on every page instead of the item image it is showing your logo as the item image. So facebook will grab that as the item image.
    <meta property="og:image" content="http://www.makeisell.com/timthumb.php?src=themes/default/logo.gif&h=200&w=200">
    You need to check the value of the auction_data['pic_url'] as if it has no value it will enter your logo as the item image.
     
  7. helios

    helios Member

    Joined:
    Sep 26, 2012
    Messages:
    43
    Likes Received:
    2
    picture1.jpg

    Hello, I installed this mod.

    I get a link to facebook, but the content is not right.
    The pictures are ok, the title shows site title and itemtitle instead only itemtitle, the description is not good. (see picture)

    Showing my itempage and press F12 it look like:

    http://www.hottinga-vakantiewoningen.nl/item.php?id=24


    <!-- SocialNetwork Meta MOD -->
    <meta name="description" content="Arrangement is voor maximaal 4 personen

    Aanbieding is op basis van beschikbaarheid, aankomst uiterlijk in maart.

    U verblijft in een geschakelde 4 persoons bungalow op vakantiepark de Berkenhorst.
    Omgeving is uitermate geschikt voor een ...">

    <!-- Facebook -->
    <meta property="og:url" content="http://www.hottinga-vakantiewoningen.nl/item.php?id=24">
    <meta property="og:image" content="http://www.hottinga-vakantiewoningen.nl/timthumb.php?src=uploaded/24/p18h7klsfm2mka1c138s1b0re0p1.JPG&h=200&w=200">
    <meta property="og:description" content="Arrangement is voor maximaal 4 personen

    Aanbieding is op basis van beschikbaarheid, aankomst uiterlijk in maart.

    U verblijft in een geschakelde 4 persoons bungalow op vakantiepark de Berkenhorst.
    Omgeving is uitermate geschikt voor een ...">
    <meta property="og:title" content="Weekend of midweek naar de Berkenhorst">



    Any suggestions to get the right description into the facebook
    Thanks
     
  8. helios

    helios Member

    Joined:
    Sep 26, 2012
    Messages:
    43
    Likes Received:
    2
    Update:

    Instead including in header php I included in item.php (just above include header.php) and now its working fine

    include $include_path . 'socialnetwork.php'; //Social-Network MOD:eek:
     
  9. worldbetta

    worldbetta New Member

    Joined:
    Mar 5, 2014
    Messages:
    59
    Likes Received:
    3
    Every one is saying this and that for a face book fix. Is there a how-to do for 1.1.1 that works the first time for face book? I would like to add this to my theme and share with face book.....Uhhhh I have done 2 other face book install and did not work correct.
    Looking for a how - to - do that works with out guessing what code is working. Any idea on what face book mod is working correct?
     
  10. Appl Pglng

    Appl Pglng Member Donor

    Joined:
    Mar 12, 2014
    Messages:
    59
    Likes Received:
    6
    I suppose it depends really on what you're trying to do.

    The other one (jaysons) is Login with Facebook and a bonus of sharing. I would prefer that other one to work because it has a price too.

    This one I havent tried yet.

    But a really easy one, just for sharing is also crashi2k's Simple sharing with multiple networks. Combine that one with the META DECRIPTION MOD and it will work fine with correct description and pic.

    :)
     
  11. Luke William Johnson

    Luke William Johnson New Member

    Joined:
    Aug 11, 2011
    Messages:
    3
    Likes Received:
    0
    Hey, I installed this mod and now my website won't load at all? just a blank screen! Anyone else having this issue or can anyone help fix it?
     
  12. jorgepzp

    jorgepzp Member

    Joined:
    Jan 22, 2014
    Messages:
    33
    Likes Received:
    3
    RE: Version 1.0

    Very easy, I am accountant, ;-) thanks great job!!! see my site www.el-tianguis.com
     
  13. vickielj

    vickielj New Member

    Joined:
    Jul 21, 2014
    Messages:
    2
    Likes Received:
    0
    I installed this on my site. The share buttons come up but not on the item page. What am I missing?
     
  14. Xray2000

    Xray2000 Donor Donor

    Joined:
    Jan 28, 2015
    Messages:
    35
    Likes Received:
    4
    Hi Pani,

    What you mean on this, i have try it adding this but it seems it's not working.

    Can you explane it better please or give a better example?

    Thanks!
     
  15. pani100

    pani100 Well-Known Member

    Joined:
    May 9, 2011
    Messages:
    2,327
    Likes Received:
    449
    Hi Rudi,
    What problems are you having? Do any of the meta properties get loaded with the correct information of the item at all?
     
  16. jorgepzp

    jorgepzp Member

    Joined:
    Jan 22, 2014
    Messages:
    33
    Likes Received:
    3
    Hi crashi2k Great job I have one recomendation, in header.php you forgot to put at the end "?>" you only put "?"

    this is how the instruccion says (see in red color the mistake)

    //Social-Network floating button
    if (isset($auction_data['id'])) { } else { ?>
    <!-- AddThis Smart Layers BEGIN -->
    <!-- Go to http://www.addthis.com/get/smart-layers to customize -->
    <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js"></script>
    <script type="text/javascript">
    addthis.layers({
    ' theme' : 'transparent',
    'share' : {
    'position' : 'left', <!-- Position where to float Left or Right -->
    'numPreferredServices' : 5 <!-- Number of services -->
    },
    'follow' : {
    'services' : [
    {'service': 'facebook', 'id': 'YOUR-FB-ID'}, <!-- Change this to your FB account -->
    {'service': 'twitter', 'id': 'YOUR-TWITTER-ID'} <!-- Change this to your twitter account -->
    ]
    }
    });
    </script>
    <!-- AddThis Smart Layers END -->
    <?php }
    ?>

     
  17. jorgepzp

    jorgepzp Member

    Joined:
    Jan 22, 2014
    Messages:
    33
    Likes Received:
    3
    In the instructions is there a mistake, but is very simple to fix it, in header.php search this code:

    //Social-Network floating button
    if (isset($auction_data['id'])) { } else { ?>
    <!-- AddThis Smart Layers BEGIN -->
    <!-- Go to http://www.addthis.com/get/smart-layers to customize -->
    <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js"></script>
    <script type="text/javascript">
    addthis.layers({
    ' theme' : 'transparent',
    'share' : {
    'position' : 'left', <!-- Position where to float Left or Right -->
    'numPreferredServices' : 5 <!-- Number of services -->
    },
    'follow' : {
    'services' : [
    {'service': 'facebook', 'id': 'YOUR-FB-ID'}, <!-- Change this to your FB account -->
    {'service': 'twitter', 'id': 'YOUR-TWITTER-ID'} <!-- Change this to your twitter account -->
    ]
    }
    });
    </script>
    <!-- AddThis Smart Layers END -->
    <?php }
    ?

    Now just replace with this code:

    //Social-Network floating button
    if (isset($auction_data['id'])) { } else { ?>
    <!-- AddThis Smart Layers BEGIN -->
    <!-- Go to http://www.addthis.com/get/smart-layers to customize -->
    <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js"></script>
    <script type="text/javascript">
    addthis.layers({
    ' theme' : 'transparent',
    'share' : {
    'position' : 'left', <!-- Position where to float Left or Right -->
    'numPreferredServices' : 5 <!-- Number of services -->
    },
    'follow' : {
    'services' : [
    {'service': 'facebook', 'id': 'YOUR-FB-ID'}, <!-- Change this to your FB account -->
    {'service': 'twitter', 'id': 'YOUR-TWITTER-ID'} <!-- Change this to your twitter account -->
    ]
    }
    });
    </script>
    <!-- AddThis Smart Layers END -->
    <?php }
    ?>


     
  18. Yuna Angell

    Yuna Angell New Member

    Joined:
    Jul 19, 2015
    Messages:
    6
    Likes Received:
    0
    Hi,

    Can anyone help me here? I really don't know how to install this because I am not very IT savvy in html and code writing and code editing. How much does it cost to get someone reliable to install this for me? I need social media sharing for my WeBid.

    Thanks
    Yuna
     
  19. bidauction

    bidauction New Member

    Joined:
    Dec 24, 2015
    Messages:
    27
    Likes Received:
    5
    Hello, tried the hack on webid 1.1.2P2 with dreads bootstrapthree, executed to the letter the changes to be made copies the files in the downloaded zip and given 777 permissions as shown for the chmod, everything works but the images produced are not seen ... ... any suggestions for me. Hello and thanks.......
     
  20. nay27uk

    nay27uk Super Moderator Staff Member

    Joined:
    Nov 24, 2009
    Messages:
    5,573
    Likes Received:
    549
    Go to addthis.com join free and get your own code the code above is probably very outdated
     
    bidauction likes this.

Share This Page