• 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

Amaury

Well-known member
#1
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.
 

Optic

Well-known member
#2
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

Well-known member
#4
They're all blank by default.
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.
 

Optic

Well-known member
#5
Okay, so I've enabled everything, but for some reason the Facebook one isn't showing / working.
It seems to be related to your style... the Facebook recommend button shows up for me on your Facebook and vBulletin styles:
kh-flare.png
 

Optic

Well-known member
#7
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.
kh-flare-2.png

According to the default share_page template, that is supposed to be at a width of 400px:
Code:
<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>
                </div>
Maybe try reverting that template?
 
Last edited:

Amaury

Well-known member
#8
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.
View attachment 94144

According to the default share_page template, that is supposed to be at a width of 400px:
Code:
<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>
                </div>
Maybe try reverting that template?
We made the style. The share_page template is not even customized.
 

Optic

Well-known member
#11
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:
Code:
color_scheme=0
On your Facebook theme:
Code:
color_scheme=light
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:

Amaury

Well-known member
#12
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:
Code:
color_scheme=0
On your Facebook theme:
Code:
color_scheme=light
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?
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.