Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=3105)
Add a facebook like button to all posts.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg834.imageshack.us%2Fimg834%2F4308%2Ffacebooklike.png&hash=022a2a92f1fa1b035d1d72377706d3b5e8c35882) (http://img834.imageshack.us/i/facebooklike.png/)
Instructions for use with the default theme.
SMF 1.1.x :
Admin -> Current Theme -> Tick Check Box Detailing Facebook Like
SMF 2.x :
Admin -> Configuration Settings -> Misc -> Modification Settings.
Changelog:
v 1.1 : Fixed bug in SMF 1.1.x display template description
v 1.0 : Initial Release
Very nice mod you have on here. I just install it on my forum.
i think your forum messed up http://mykingdom.smfhelper.net/%22http://mykingdom.smfhelper.net/index.php?topic=37.msg64;topicseen#new%22.
when you click on latest topics on frontpage you get 404.
Quote from: Shadow Queen on August 17, 2011, 10:24:00 PM
Very nice mod you have on here. I just install it on my forum.
Hmm, I have slight display problem. Please see attached.
Quote from: juliegreen on August 19, 2011, 08:44:14 AM
i think your forum messed up http://mykingdom.smfhelper.net/%22http://mykingdom.smfhelper.net/index.php?topic=37.msg64;topicseen#new%22 (http://mykingdom.smfhelper.net/%22http://mykingdom.smfhelper.net/index.php?topic=37.msg64;topicseen#new%22).
when you click on latest topics on frontpage you get 404.
Quote from: Shadow Queen on August 17, 2011, 10:24:00 PM
Very nice mod you have on here. I just install it on my forum.
What should I do then? I'm on my site now and it's running fine for me?
I am link my forum to facebook to my account. And every topic I write to link it to fb and seem everybody get on it fine.
or try this topic Topic (http://mykingdom.smfhelper.net/index.php?topic=44.0) to see if that give you any problem's...
I check the error log on my foroum and it's fill up with errors
My Kingdom (http://mykingdom.smfhelper.net/index.php)
Using 1.1.14 (Babylon Theme). Like Button tick box to enable LIKE button does not display.
Went to admin-->current theme-->
There is no tick box to enable the button.
Why is the tick box not showing up?
You should upgrade to 2.0 Gold?
Did you check the whole list in current theme settings?
Is upgrading to 2.0 Gold a big deal w/ a lot of downtime? This is my first forum, so I've never upgraded before.
Yes, I looked in the whole list. I even logged out of the forum, cleared my cache and logged back in. No check box. ???
2.0 Gold is more safe to use. That what I heard. 2.0 Gold don't have any problems getting on your forum. It be like your verson of SMF. Be the same thing.
Why don't you check in your features and Options to see if it there?
Looked high and low for that check box. It's MIA. It just didn't install. Looked in all Admin Screens. This same mod creator also has a twitter mod with the same issue. Notes on this mod (& Twitter Mod) are sparse. It may just be for default theme. Who knows. There really just isn't much support here & especially not for mods. I had a different mod that won't install on certain themes before. Could be same situation.
Thanks for the info on 2.0. I'll look into it. I'm actually thinking of trying a different platform than SMF.
@Lexxie Did you have any errors on install?
@Shadow Queen 1.1.14 is not that much different to 2.0
No. No install errors at all.
What is the link to your forum?
Quote from: Bancherd on August 19, 2011, 11:42:27 AM
Hmm, I have slight display problem. Please see attached.
En displaytemplate.php
Cambia el ancho de width:80px por width:100px:
Change the width width: 80px of width: 100px:
Quote// Show Facebook like icon
if (!empty($modSettings['display_facebook_like'])) {
if ($message['id'] == $context['topic_first_message'] || !empty($modSettings['display_facebook_like_all'])) {
echo '<iframe src="http://www.facebook.com/plugins/like.php?href=', $scripturl, '?topic=', $context['current_topic'], '&layout=button_count&show_faces=true&width=80&action=like&colorscheme=light" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:80px; height:21px"></iframe>';
}
}
I installed this mod on my forum. It works fine, but the one thing I was advised is that any of my Facebook friends clicking the link from their Facebook page was actually logged into the forum as the person that liked the topic.....
IS there a setting that I am not using correctly or have others had the same issue?
How can you add the Google+ and Twitter buttons to this?
Quote from: jrstark on September 26, 2011, 03:36:17 PM
How can you add the Google+ and Twitter buttons to this?
Look for mods which do the same job.
Nice mod. Should have option to disable it on closed boards, since those are shown in Facebook only as "Login"
Hi, I applied the mod and i don't saw anything... :( ... I am using the default board and from my FB link I didn't find where to put the FB code either ...
Is there anyone to help me to add it please...
I have installed it and liked a message but it didint post on my FB.
Any ideas?
Quote from: tinoest on August 17, 2011, 04:54:43 PM
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=3105)
Add a facebook like button to all posts.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg834.imageshack.us%2Fimg834%2F4308%2Ffacebooklike.png&hash=022a2a92f1fa1b035d1d72377706d3b5e8c35882) (http://img834.imageshack.us/i/facebooklike.png/)
Instructions for use with the default theme.
SMF 1.1.x :
Admin -> Current Theme -> Tick Check Box Detailing Facebook Like
SMF 2.x :
Admin -> Configuration Settings -> Misc -> Modification Settings.
Changelog:
v 1.1 : Fixed bug in SMF 1.1.x display template description
v 1.0 : Initial Release
Thank you , it work very well now...
I'm using SMF 1.1.15 and I have installed this mod.
I've enabled the two options, Display Facebook Like and Display Facebook Like icon in all posts, and so far so good.
When I opened a topic, all the replies to that topic had the like button, but when I clicked on the like button on a specific reply that I liked, all the replies got 1 like, and in my Facebook wall appeared a link to the main topic, not to the reply I liked.
Is this the right way that this mod works, or it can be a bug in my forum?
Thanks.
Can you make another modification of this so it links to you're forum username instead of it going to Facebook? I use 1.1.15
I've installed this Mod and checked every file manually to make sure it did install though I don't get the option in Admin > Current Theme to enable this Mod. I'm using the Classic theme with 1.1.15. Any ideas why I'm not seeing the option to enable the Mod?
I'm installed the mod FacebookLikeV1.1.zip. I donĂ½ see the text to enable the button but I found two new squares, I checked both and ik see the like button in the post. But when ik click the button whats must happen then?
How must I make a connection between my forumaccount and my facebook? In the profiel I don't have a option to do that. Thand for the help and my excuses for my bath english.
I installed this MOD in SMF version 2.0.2 and the installation was successful but I got this message on top of the header:
$txt['display_facebook_like'] = 'Show Facebook like icon in posts'; $txt['display_facebook_like_all'] = 'Show Facebook Like icon in all posts, Note Display Facebook Like has to be checked.';
the MOD didn't work but the installation was successful.
any solution to the above error? I have tried to fix it but to no avail. thanks in advance.
Quote from: lexxie on September 08, 2011, 07:28:52 AM
There really just isn't much support here & especially not for mods.
I'm actually thinking of trying a different platform than SMF.
I Agree
Some of us need this mod.Sounds like it does not work.And it appears that the creator doesn't seems to care to address the problems.
Spanish_es-utf8 translation, add this on Modifications.spanish_es-utf8.php
// MOD FacebookLike button
$txt['display_facebook_like'] = 'Mostrar icono "Me Gusta" en los mensajes';
$txt['display_facebook_like_all'] = 'Mostrar icono "Me Gusta" en todos los mensajes. Nota: Mostrar "Me Gusta" debe estar activado.';
Image count number of hits is hiding under the text report to moderator
Facebook_Like v.2.0 installed this but got error of , not compatible.
My version is 2.0.2 !!!
In the browser, IE 8 looks like this:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg855.imageshack.us%2Fimg855%2F4558%2F51114745.jpg&hash=e4f62f90d062d48ab56c162f9b2a929b8e107679)
Da can fix it somehow?
Since there was no solution, I just instead use Addthis code and placed it in every post. Now all is fine.
Enabled: Show Facebook like icon in posts
Disabled: Show Facebook Like icon in all posts, Note Display Facebook Like has to be checked.
But every post is showing 2 Facebook like icons :(
Seems this mod needs some more work.
Quote from: ctec67 on February 10, 2012, 11:37:22 AM
Enabled: Show Facebook like icon in posts
Disabled: Show Facebook Like icon in all posts, Note Display Facebook Like has to be checked.
But every post is showing 2 Facebook like icons :(
Seems this mod needs some more work.
I would suggest that is due to the modification getting installed twice for some reason.
I installed successfully in SMF 2.0.2 but I do not see the checkboxes for "Show Facebook like icon in posts" and "Show Facebook Like icon in all posts".
I go to Admins > Configuration > Modification Settings > Miscellaneous but there is no facebook check boxes available there. Just a blank page. Oh and I manually add the code to ManageSettings.php
Nice mod :) You might want to consider a database installation script, though, to be sure all the settings are added to the database. You might want to check this out: http://www.simplemachines.org/community/index.php?topic=350344.0 :)
I just installed this.. I did it manually via the parser and it works fine... BUT...
I have realized two things... it does NOT Link to Facebook... it just LOOKS like a "Like" its not a functional Facebook Like in Firefox or Chrome.. in IE it will send you to facebook....
and if you like a specific post... the total next to each Like on each post in the entire thread increases by 1... you can NOT just like a specific post...
what I mean is if there are 12 posts in a thread and post #9 is one I really appreciate... I would want to Like post #9 only. WHen I hit the like on Post #9 my like is transferred to ALL 12 posts when all I wanted was my Like to be on post #9
Is there anyway to make it NOT do that and to just like a specific post?
this mod made my site corrupted. I had to delete this mod to make my site halfway work again. :-\
This mod isn't safe to use.
Quote from: ninja111 on May 15, 2012, 11:17:34 PM
this mod made my site corrupted. I had to delete this mod to make my site halfway work again. :-\
This mod isn't safe to use.
Why isn't the mod safe to use?
Works perfectly on both my forums with no errors.
Quote from: ENRESINADO on November 04, 2011, 07:59:39 AM
I'm using SMF 1.1.15 and I have installed this mod.
I've enabled the two options, Display Facebook Like and Display Facebook Like icon in all posts, and so far so good.
When I opened a topic, all the replies to that topic had the like button, but when I clicked on the like button on a specific reply that I liked, all the replies got 1 like, and in my Facebook wall appeared a link to the main topic, not to the reply I liked.
Is this the right way that this mod works, or it can be a bug in my forum?
Thanks.
Tnx for explaining what it should do, was just looking for that.. but in your case at least it does post something. :0 I did everything the same but doesnt work :/
QuoteTnx for explaining what it should do, was just looking for that.. but in your case at least it does post something. :0 I did everything the same but doesnt work :/
leave it ... Sorted it out yet..it doesnt work in my modified theme but does work in the default theme :D
AFter saw it working put back my modified theme and it kept working.
Great mod!!
Thanks tinoest!!
eh..said too much too soon,it worked about 6 times with 2 users and then it stopped working ... YOu can click the button but doesnt remained clicked and FB login screen does close abrupt after logging in as well ... Any idea? Using SMf 1.1.16
I find it very funny. Although we can see all Facebook Like icon in the posts, but when you just click for one Like, it will automatically "LIKE" all posts in the thread. I don't think it should be working in this way. Weird.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FeKSOP.png&hash=50ae8bf59583aabdcf7359111a67044d40410438)
installed on a dark theme but theres a mark after button , how i can take it off?
Great mod was looking for this.
Quote from: minos on September 16, 2012, 07:56:04 PM
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FeKSOP.png&hash=50ae8bf59583aabdcf7359111a67044d40410438)
installed on a dark theme but theres a mark after button , how i can take it off?
The button width in this mod is set to 80px and this is good for the English "Like". The Spanish "Me gusta" is longer and only a part of the counter is visible.
Open with some text editor the modification2.xml file (this one is for 2.0.x, the modification.xml is for 1.1.x) . Find this tag:
<iframe src="http://www.facebook.com/plugins/like.php?href=', $scripturl, '?topic=', $context['current_topic'], '&layout=button_count&show_faces=true&width=80&action=like&colorscheme=light" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:80px; height:21px"></iframe>
There are two "80" - you have to play with them (in your case 110 should be OK, even for 2 digits counter).
Because you are using Spanish button I would recommend you to add and your locale code, so it always will be in Spanish (I wanted it in Bulgarian and the original code sometimes showed the button in Bulgarian and sometimes in English, so I had to add my locale code too). For Spanish the line with the locale code is:
locale=es_ES&
As example you can insert it just before layout=button_count& ... or after it if you wish
Here is a list with all Facebook locale codes:
http://fbdevwiki.com/wiki/Locales
Your theme is dark, so you may try the gray button - change colorscheme=light with colorscheme=dark
I prefer "Recommend" over "Like", so changed action=like with action=recommend
Also I wanted the button's background to be transparent in IE, so added allowTransparency="true" (in my case just before ></iframe> )
Want some other adjustments?:
http://developers.facebook.com/docs/reference/plugins/like/
For the mod author:
Probably this is not so important, but show_faces=true should be show_faces=false for this kind of FB buttons.
Thanks for the mod!
Edit: One last touch - the button was vertically misaligned, here is the fix:
Find (in modification2.xml/modification.xml):
style="border:none; overflow:hidden; width:80px; height:21px"
Replace:
style="border:none; overflow:hidden; width:80px; height:21px; vertical-align:bottom"
Hi folks,
I've got the Facebook Like button package installed. When a user 'Likes' a post it displays in their recent activity window on their Facebook profile.
BUT...
The image that is displayed is a pixelated 'User PM' icon. Not the logo for the forum. Is it possible to have the same image used regardless of which post is liked on the forum?
Cheers.
It should use the favicon or main image for the forum.
I'll investigate later to see if I can replicate.
OK thanks.
Quote from: my-t3 on September 25, 2012, 01:39:46 PM
OK thanks.
It seems like it is facebook doing that , with mine I get the icon for the site. I can't see anywhere in the facebook developers guide to specify an image of what you want to 'like' either....
Would you mind taking a look at my site if I PM you the details?
I've tried again today and it still doesn't seem to be working as it should.
Quote from: my-t3 on September 26, 2012, 04:13:16 AM
Would you mind taking a look at my site if I PM you the details?
I've tried again today and it still doesn't seem to be working as it should.
Can you post a url that you would 'like' into this debugger please ?
http://developers.facebook.com/tools/debug
An let me know what image is returned.
Actually found the issue:
I have the following meta tag
<meta property="og:image" content="url for your image here"/>
if you add this to your index template with the image you want to display which is 200px * 200px ( roughly ) then it will display that on your posts.
It should go where the other meta tags are generated by SMF , if you want to attach your index template , I will do the change for you
Installed on a Custom Theme 1.1.18 _ WORKED GREAT - THank You!
Installed on a custom theme, SMF version 2.0.3. It installed OK, except that the number of likes increases for all posts and not for a specific post. For example, even if I liked only the first post, all the posts in a thread increases in number of likes.
How to make sure that only the liked post will have the likes and not all the posts in the thread?
Thanks.
Nice Work
when Update dont forget portuguese file
<file name="$languagedir/Modifications.portuguese_pt-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
$txt['display_facebook_like'] = 'Mostrar Facebook como ícone no postes';
$txt['display_facebook_like_all'] = 'Mostrar ícone do Facebook Como em todas os postes, não exibe Facebook Like se ja foi verificado.';
]]></add>
</operation>
</file>
<file name="$languagedir/Modifications.portuguese_pt.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
$txt['display_facebook_like'] = 'Mostrar Facebook como ícone no postes';
$txt['display_facebook_like_all'] = 'Mostrar ícone do Facebook Como em todas os postes, não exibe Facebook Like se ja foi verificado.';
]]></add>
</operation>
</file>
I installed this mod earlier today and it seemed to install okay but when the Like button was clicked, I got an error message that I don't know how to handle. Can anyone help?
If not, is there another similar mod that can put a simple like button on a topic and NOT connect anything to Facebook?
I just installed this plugin and enable the checkboxes.
I cant se any FaceBook like icon.
Too old version or do I need to do anything else?
I'm also wondering if there is still a working facebook "like" thing around for 2.0.11.;)