1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.4 Add Facebook "Share" button instead of recommend?

Discussion in 'Styling and Customization Questions' started by gabrieldespinoza, Sep 29, 2014.

  1. Hi, will you please tell me how to add the Facebook "Share" button instead of recommend. I have a ton of Facebook users that instead of them clicking "recommend" I would like them to be able to "Share" the post on their Facebook walls. Thanks!
    feldon30 likes this.
  2. Brogan

    Brogan XenForo Moderator Staff Member

    The default options are Like or Recommend, set in the ACP.
  3. rainmotorsports

    rainmotorsports Well-Known Member

    Did you look for the phrase recommend? I'd assume it's phrased.
  4. @Brogan Is there a way to have it where I can change default function to "share" the content vs recommend? @rainmotorsports - I am not wanting to just change the phrase, but the actual function. On another site I use, when you click the "Share button" a window will populate giving you the opportunity to share on your Facebook wall, group or in a message. (attached an image as an example.) Screen Shot 2014-09-29 at 1.41.19 PM.png
  5. Can you please explain how to convert to function to "share" instead of like or recommend? I am about to share my site in my Facebook group which has over 48,000 members. Having the capability for them to share on their wall with the click of button is vital for my site. Please, any help would be greatly appreciated @Brogan
  6. sinful

    sinful Member

    U could use something like addthis.com or sharethis.com. They have "Share" buttons. Add the code into a widget. Then hide the default xenforo sharing functions.
  7. Brogan

    Brogan XenForo Moderator Staff Member

    AddThis is built in.

    Click on the post # ID in the bottom right hand corner.

  8. That's awesome. Thank you. However, how can I make that a visible "Share" button. I would have never ever noticed that until you showed me. Is there a way either to make that more visible with the actual share buttons? Or possible to even make the recommend button on the bottom of the page do the same? @Brogan
  9. Brogan

    Brogan XenForo Moderator Staff Member

  10. Thank you very much for all your help! I have successfully made it more noticeable. I added this to my EXTRA.CSS file.

    .message .publicControls .item.postNumber:before
        content: 'SHARE';
        float: left;
        margin: 2px 2px 0 0;
        padding: 2px;
        color: #FFF;
        font: 700 14px/8px Arial;
        background: #FE6D4C;
    viper357 likes this.
  11. Kevin

    Kevin Well-Known Member

    gabrieldespinoza likes this.
  12. @Kevin awww yes! Thank you! By any chance would you happen to know how to make it show the count of the shares as well? :)

Share This Page