configure social plugin

  • Posts: 1119
  • Thank you received: 114
9 years 1 month ago #218645

So I have been trying to configure social plugin for few hours. Can't get it right...
What I want is to have 2 buttons. Like and share. Or 1 button "like" which would share on facebook wall....
Right now if I select "tag type > IFRAME" only like button is displayed. Would be ok but if press like > share, it wont share on facebook wall. I mean friends will see that I liked but it won't be displayed on facebook wall...This not what I want....
If I select "tag type > XFBML" I have 2 buttons like and share. Share works as it should, it gets displayed on facebook wall. However if you have badge on top right side. Pressing like > tab gets displayed with badge up on it. Please check attached picture. Seems not right?

So my question is how to have one button "like" which would share on facebook wall or how to hide that tab If XFBML is used? Or how to fix that badge thing?

Another question. I have 2 social plugins installed. Same name but one has type content other has system. What is the difference?

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 1119
  • Thank you received: 114
9 years 1 month ago #218655

Well it was easier then I thought. After 2 hours I manage to get what I want with simple modification.

src="http'.$this->https.'://www.facebook.com/plugins/like.php?href='.urlencode($url).'&send=true&'.$options.'height=30"

Had to set true in the code above and now using iframe tag I have share button.

However it still wont share on facebook wall. Only if tag type > XFBML then share is OK

So question is how to have that iframe "like" "small tab" pop up with xfbml or how to have share on facebook wall with iframe?

Last edit: 9 years 1 month ago by kyratn.

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13378
  • MODERATOR
9 years 4 weeks ago #218663

Hi,

From my point of view, just fixing the overlay of the badge with a line of CSS will be easier than trying to modify the code of the plugin to do things it's not supposed to do.
Could you give a link to the page with that overlay issue so that we could have a look at the CSS ?

Please Log in or Create an account to join the conversation.

  • Posts: 1119
  • Thank you received: 114
9 years 4 weeks ago #218702

Hi,

You can find it here: kyra.lt/megztiniai/megztinis-fluffy-pilka
Maybe there is a simple code/way to have tab not displayed on LIKE button? I mean simple like and that's all.

Last edit: 9 years 4 weeks ago by kyratn.

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13378
  • MODERATOR
9 years 4 weeks ago #218726

Hi,

This CSS should solve that problem:
.hikashop_badge_topright_div{ z-index: auto !important; }

Please Log in or Create an account to join the conversation.

  • Posts: 1119
  • Thank you received: 114
9 years 4 weeks ago #218775

Hi,

Thanks, it worked!

Please Log in or Create an account to join the conversation.

  • Posts: 1119
  • Thank you received: 114
9 years 3 weeks ago #219059

Hi,

Could anyone tell me what is the reason that on some of the items are I receive different facebook share layout?
Please check attached pictures. I would like to have like in the first picture always...

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13378
  • MODERATOR
9 years 3 weeks ago #219061

Hi,

I suppose that facebook automatically adapts the layout based on the width/height ratio of the image of the product so that it looks as nice as possible.

Please Log in or Create an account to join the conversation.

Time to create page: 0.070 seconds
Powered by Kunena Forum