[BETA] Like button for Facebook

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Scam Warning
Locked
User avatar
Dr.Death
QA Team
Posts: 363
Joined: Fri Apr 25, 2003 10:04 am
Location: Germany
Contact:

Re: [ALPHA] Facebook Like button

Post by Dr.Death » Tue Aug 10, 2010 6:11 am

Peter77sx wrote:
rkal_net wrote:İ installed xfbml version,

it works on firefox, but not works on IE,

Ex: http://www.zeybekoloji.com/viewtopic.php?f=51&t=2793
I can view your like button with IE. It seems to be really random with IE... I Try moving

Code: Select all

<div id="fb-root"></div>
<script>
  window.fbAsyncInit = function() {
    FB.init({appId: 'your app id', status: true, cookie: true,
             xfbml: true});
  };
  (function() {
    var e = document.createElement('script'); e.async = true;
    e.src = document.location.protocol +
      '//connect.facebook.net/en_US/all.js';
    document.getElementById('fb-root').appendChild(e);
  }());
</script>
After
<!-- INCLUDE overall_header.html -->

Same as Subsilver2 directions... works for me. But not if you keeep refreshing the page..

That works !
Doc.

User avatar
Stitch625
Registered User
Posts: 683
Joined: Wed Jun 20, 2007 3:38 pm
Location: Michigan
Contact:

Re: [ALPHA] Facebook Like button

Post by Stitch625 » Wed Aug 11, 2010 12:07 am

Fantastic mod. I would imagine this would really get your site out there.

Anyway I have a problem. After I click the "Like" button, I go to my FB and the link says." Michael likes Northern Country Morels • Login"

Why does it say "Login" Shouldn't it have the title of the topic there?

EDIT: Never mind. I had to install the user agent. ;)

Znatok Ne
Registered User
Posts: 59
Joined: Wed Jul 01, 2009 2:39 pm

Re: [ALPHA] Facebook Like button

Post by Znatok Ne » Sun Aug 15, 2010 8:03 pm

In IE8, after installation 'Facebook Like button (xFBML)', when I go into any topic, there is a constant multiple refresh the page.
How do I fix this?

alexhk23
Registered User
Posts: 16
Joined: Wed Aug 26, 2009 10:59 pm

Re: [ALPHA] Facebook Like button

Post by alexhk23 » Tue Sep 07, 2010 10:08 am

A little question about this mod....it will post the information on your facebook wall to share with facebook community?

Anybody has a screen of this? Thanks.

User avatar
soumik
Registered User
Posts: 486
Joined: Tue Nov 06, 2007 7:27 pm
Contact:

Re: [ALPHA] Facebook Like button

Post by soumik » Tue Sep 07, 2010 10:19 am

alexhk23 wrote:Anybody has a screen of this? Thanks.
Image

Is that what you are looking for?
Powered by chocolate

alexhk23
Registered User
Posts: 16
Joined: Wed Aug 26, 2009 10:59 pm

Re: [ALPHA] Facebook Like button

Post by alexhk23 » Tue Sep 07, 2010 10:29 am

Yes that's exactly, thanks a lot! No doubt i'm going to install it on my forum =). Nice Mod.

User avatar
Melora
Registered User
Posts: 43
Joined: Tue Oct 07, 2003 9:14 pm
Location: here

Re: [ALPHA] Facebook Like button

Post by Melora » Mon Sep 20, 2010 10:23 pm

Could this work with the Hestia style? The only code that I can't find, not being the same, is this one:

Open: styles/*/template/viewtopic_body.html

Code: Select all

<span class="corners-bottom"><span></span></span></div>
	</div>
<!-- ENDIF -->
Add after

Code: Select all

<div style="margin-bottom:4px"><fb:like href="{U_FB}"></fb:like></div>
Just really curious :3 and I'm new to this

skarbanan
Registered User
Posts: 158
Joined: Mon Dec 01, 2008 9:11 am
Contact:

Re: [ALPHA] Facebook Like button

Post by skarbanan » Mon Oct 25, 2010 11:44 am

Hi,

The mod works fine except i have problem that when i click LIKE i get my name saying ... ".... LKES and the topic url" instead of getting topic name.

The LIKE appears on facebook as url link and site link instead of sitename.

I have phpbb seo mod installed :?

Any ideas?


Cheers

User avatar
soumik
Registered User
Posts: 486
Joined: Tue Nov 06, 2007 7:27 pm
Contact:

Re: [ALPHA] Facebook Like button

Post by soumik » Mon Oct 25, 2010 1:31 pm

skarbanan wrote:I have phpbb seo mod installed :?
This mod won't work on your board. Sorry.
Powered by chocolate

skarbanan
Registered User
Posts: 158
Joined: Mon Dec 01, 2008 9:11 am
Contact:

Re: [ALPHA] Facebook Like button

Post by skarbanan » Mon Oct 25, 2010 1:52 pm

Thanks for the quick reply ;)

rtomo
Registered User
Posts: 25
Joined: Tue Apr 20, 2010 8:53 am
Location: Hungary / Magyarország
Name: Rottenbacher Tamás
Contact:

Re: [ALPHA] Facebook Like button

Post by rtomo » Thu Oct 28, 2010 9:20 am

soumik wrote:
skarbanan wrote:I have phpbb seo mod installed :?
This mod won't work on your board. Sorry.
Sorry, but this mod working on my forum, with seo mod!(phpbb-seo.com)
- Hungarian Hookah forum: Vízipipa fórum - http://vizipipaforum.com/mod-ok-a-forum ... 47-60.html

2 little problem:
- The link is not seo url, ( link is viewtopic.php?f=61&t=347 no topic-title-34.html - this is don't big problem..)
- Language: My forum language is hungarian, but this like button language is english. Why? (This is my big problem. :) )

skarbanan
Registered User
Posts: 158
Joined: Mon Dec 01, 2008 9:11 am
Contact:

Re: [ALPHA] Facebook Like button

Post by skarbanan » Thu Oct 28, 2010 10:14 am

i see your button in croatian , since my facebook is in croatian..i guess you have to change the language on facebook?


btw...the seo thing is not working perfectly .. its not showing the topic title.

User avatar
soumik
Registered User
Posts: 486
Joined: Tue Nov 06, 2007 7:27 pm
Contact:

Re: [ALPHA] Facebook Like button

Post by soumik » Thu Oct 28, 2010 1:11 pm

rtomo wrote:Sorry, but this mod working on my forum, with seo mod!(phpbb-seo.com)
- Hungarian Hookah forum: Vízipipa fórum - http://vizipipaforum.com/mod-ok-a-forum ... 47-60.html

2 little problem:
- The link is not seo url, ( link is viewtopic.php?f=61&t=347 no topic-title-34.html - this is don't big problem..)
- Language: My forum language is hungarian, but this like button language is english. Why? (This is my big problem. :) )
Yes, it will work on your board, but the URL's it'll use is the original ones.

To change your language,
Open styles/prosilver/template/viewtopic_body.html,
Find :

Code: Select all

'//connect.facebook.net/en_US/all.js';
Replace with :

Code: Select all

'//connect.facebook.net/hr_HR/all.js';
skarbanan wrote:btw...the seo thing is not working perfectly .. its not showing the topic title.
It should if you have added the Facebook bot to your bot list and given it access to your threads.
Last edited by soumik on Thu Oct 28, 2010 1:12 pm, edited 1 time in total.
Powered by chocolate

rtomo
Registered User
Posts: 25
Joined: Tue Apr 20, 2010 8:53 am
Location: Hungary / Magyarország
Name: Rottenbacher Tamás
Contact:

Re: [ALPHA] Facebook Like button

Post by rtomo » Thu Oct 28, 2010 1:12 pm

The language proble is solved. ( en_EN -> hu_HU | english -> hungarian )

On my board and facebook like button good.

Look:

When i'm click the like button (xmbl version), write a comment and put the share button:
MyFacebook Name: Próbálom ismét! : ) (My comment.)
Vizipipaforum.com topic:(fixed, i'am writing that in the mod- Thi is the site name.) MOD-ok a fórumon, fórumba (Topic title.)
vizipipaforum.com (domain)
Trükköztem egyet. Ugyebár a pont és szóköz egymás után írásakor a szóköz html nyers kódját írta ki a fórum. Azt a kódot betettem a szócenzúrába, .. (description)

And the link is domain.com/forum-topic-title.html

User avatar
soumik
Registered User
Posts: 486
Joined: Tue Nov 06, 2007 7:27 pm
Contact:

Re: [ALPHA] Facebook Like button

Post by soumik » Thu Oct 28, 2010 1:20 pm

rtomo wrote:Look:

When i'm click the like button (xmbl version), write a comment and put the share button:
MyFacebook Name: Próbálom ismét! : ) (My comment.)
Vizipipaforum.com topic:(fixed, i'am writing that in the mod- Thi is the site name.) MOD-ok a fórumon, fórumba (Topic title.)
vizipipaforum.com (domain)
Trükköztem egyet. Ugyebár a pont és szóköz egymás után írásakor a szóköz html nyers kódját írta ki a fórum. Azt a kódot betettem a szócenzúrába, .. (description)

And the link is domain.com/forum-topic-title.html
I'm sorry, but I didn't understand what you are trying to say there. Do you have a question/problem?
Powered by chocolate

Locked

Return to “[3.0.x] MODs in Development”