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

XF 1.4 Default XenForo Values for Sharing Services

Discussion in 'XenForo Questions and Support' started by Amaury, Jan 7, 2015.

  1. Amaury

    Amaury Well-Known Member

    What are the default values for these? I wanted to re-enable the sharing services, but I blanked them out when I disabled them a long time ago.

    Share 1.png

    Share 2.png

    Share 3.png

    Share 4.png

    Some of them are probably blank by default, but I can't remember.
  2. Optic

    Optic Well-Known Member

    Just tick the relevant share buttons you want.

    You don't need the other fields unless you want to allow users to sign in/register via FB/Twitter/Google+.
    Amaury likes this.
  3. Mike

    Mike XenForo Developer Staff Member

    They're all blank by default.
    Amaury likes this.
  4. Amaury

    Amaury Well-Known Member

    Awesome! Thank you very much, Mike! I could have sworn some were filled in, but I guess not.

    Okay, so I've enabled everything, but for some reason the Facebook one isn't showing / working.
  5. Optic

    Optic Well-Known Member

    It seems to be related to your style... the Facebook recommend button shows up for me on your Facebook and vBulletin styles:
  6. Amaury

    Amaury Well-Known Member

    Any ideas what it could be?
  7. Optic

    Optic Well-Known Member

    I'm not sure why, you'll need to check with whoever did your style.

    It seems though the CSS class for the FB recommend button .facebookLike .shareControl is rendering with a width of 0px.

    According to the default share_page template, that is supposed to be at a width of 400px:
    <div class="facebookLike shareControl">
                        <xen:container var="$facebookSdk">1</xen:container>
                        <fb:like href="{$url}" show_faces="true" width="400" action="{$xenOptions.facebookLikeAction}" font="trebuchet ms" colorscheme="@fbColorScheme"></fb:like>
    Maybe try reverting that template?
    Last edited: Jan 8, 2015
  8. Amaury

    Amaury Well-Known Member

    We made the style. The share_page template is not even customized.
  9. Optic

    Optic Well-Known Member

    Any outdated templates?
  10. Amaury

    Amaury Well-Known Member

  11. Optic

    Optic Well-Known Member

    OK I had a closer look at your FB button and it seems you have an invalid attribute for colorscheme in your Facebook like button:

    On your default theme:
    On your Facebook theme:
    The values for that are supposed to be either light or dark, so which option do you have selected in Style Properties: General -> Facebook Plugin Color Scheme for your default theme?
    Last edited: Jan 8, 2015
    Amaury likes this.
  12. Amaury

    Amaury Well-Known Member

    Fixed it, thanks.

    What's the difference between dark and light? I can't really see any.

    Edit: Never mind, it's the description in threads.

Share This Page