Module: Facebook like module
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
Facebook like/recommend module. Dave |
|
petri
![]()
Joined: 2005-12-15
Posts: 253 |
![]() |
Hi Dave, Nice modules you made there. it works pretty well and I have been trying all the settings I have only a few suggestions : 1) Would it be possible to add the button in the list of icons (view full size, slideshow, etc) ? ----------------- Gallery stats * Version: 3.0 (Santa Fe) remove Platform information * Host name: |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
Quote:
1) Would it be possible to add the button in the list of icons (view full size, slideshow, etc) ? I tried but most of the buttons are square and as far as I know the button that facebook uses is not customizable. It is a <iframe> and quite wide. Quote:
2) The button appears about ten seconds after the photo has been uploaded so I guess the users won't wait until then to use it. Is there a way to make it appear quicker I could investigate but if you have an idea why let me know. Quote:
3) Again and again, no thumbnail appear in the posts on Facebook, I know it's a FB problem, but it is still annoying. Is it related to this module? I don't understand. _____________________________________________ |
|
petri
![]()
Joined: 2005-12-15
Posts: 253 |
![]() |
Quote:
Is it related to this module? I don't understand. I mean that the thumbnail of the picture does not appear in the posts, I don't know if you can do smth about it, same problem with the "share module" or even Facebook applications such as RSS graffiti and Gallery Status Updater ----------------- Gallery URL = http://www.coquille.org/gallery/main.php |
|
ajorgereis
Joined: 2008-09-06
Posts: 132 |
![]() |
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
Thanks! Dave |
|
iwc
![]()
Joined: 2010-10-30
Posts: 11 |
![]() |
I Dave, Nice module. But I have a concern with language. My home is French by default Thanks |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
http://developers.facebook.com/docs/reference/plugins/like says it is a simple switch. So I guess U can fix that. I am not willing to make a admin option for this but you are welcome to code some if you wish. Dave |
|
iwc
![]()
Joined: 2010-10-30
Posts: 11 |
![]() |
Thanks ... I have make test. Is IE8 + windows!! On FireFox it use fr oder fr_FR but not IE !!! it want fr_CH and I hop not exist at Facebook, so comming de_CH !!! |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
Updated to read the users cookie locale value. Dave |
|
iwc
![]()
Joined: 2010-10-30
Posts: 11 |
![]() |
Thanks Dave!! |
|
spamsuxx
Joined: 2007-09-22
Posts: 33 |
![]() |
Button works, but does not integrate nicely: And when I enable the normal style the text is half way out of the box (to the right) I am not sure if it is the buttons fault or the fault of the template, but I would guess the button does not take the template styling into account. Thanks for the nice work you have done. Cheers |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
If you can sort out the css of the theme you are using to make this module more to your likeing I am willing to include those changes. Dave |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
Quote:
Missing border around the module This is not a block and thus does not have the g-block wrapper. Dave |
|
spamsuxx
Joined: 2007-09-22
Posts: 33 |
![]() |
Mhh, okay, but why is the text cut? See here: Any hints? [EDIT] Cheers |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
Quote:
[EDIT] It would be nice if you posted a solution for the benefit of the community. Dave |
|
spamsuxx
Joined: 2007-09-22
Posts: 33 |
![]() |
Sure. I was so obvious that I just forgot to post it. in views/facebook_like.html.php increase the value for height: By the way, why not add control options to the admin site for all changeable options facebook provides? This would also help to control the height and width for individual themes. Cheers |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
Just height and width? Dave |
|
spamsuxx
Joined: 2007-09-22
Posts: 33 |
![]() |
Well, you could make it feature complete by adding all the attributes listed on http://developers.facebook.com/docs/reference/plugins/like to the admin page. If you do so, keep the restrictions in mind like Quote:
Minimum width: 225 pixels. Default width: 450 pixels. Height: 35 pixels (without photos) or 80 pixels (with photos). You might consider to use the XFBML version. Cheers |
|
rross
Joined: 2010-08-22
Posts: 41 |
![]() |
AddThis has a new option that combines FB Like, a Tweet button and the usual Share button for all other services. I copied that code and pasted it in place of the code in share_bookmark_block.html.php, but the FB Like count/balloon didn't show. Also, I need to widen the sidebar a bit to get it all on one line and couldn't figure it out in the css. |
|
rross
Joined: 2010-08-22
Posts: 41 |
![]() |
I ended up doing the following to your share_bookmark_block.html.php file to get the long Share button and their FB Like and Tweet buttons: <script type="text/javascript"> The <br /><br /> is to place the FB and Tweet buttons on their own line, otherwise it looks unprofessional with Tweet alone below FB and Share. (I could've used one of their smaller Share buttons to get everything on one line, but I like their longer Share button.) http://www.blackboxnynj.com/gallery/ R |
|
tempg
Joined: 2005-12-17
Posts: 1857 |
![]() |
petri wrote:
@petri: What's the url of the site you're adding this to? I went to the site in your signature, but it's not Gallery3. |
|
petri
![]()
Joined: 2005-12-15
Posts: 253 |
![]() |
Yeah sorry, I have not made the big step yet, still testing Gallery 3 http://www.coquille.org/gallery3/ ----------------- Gallery URL = http://www.coquille.org/gallery/main.php |
|
tempg
Joined: 2005-12-17
Posts: 1857 |
![]() |
I get images when I share your pages to Facebook; I actually get way more images to choose from than are on the page. (I think they're coming from the sidebar.) Doesn't work for you? |
|
petri
![]()
Joined: 2005-12-15
Posts: 253 |
![]() |
Yes, indeed, to my surprise, the "share" module works fine in terms of images publishing on Gallery3 (not Gallery2 though) and that is a great news !!! But I was talking about the "Facebook Like" module, the topics of this post. This one does not publish the image, just a text, such as : Quote:
Petri likes Photo :: bougie on coquille.org. for this page : http://www.coquille.org/gallery3/index.php/Portfolio/Design/Color/bougie But maybe it is normal, Facebook like does not publish photos... By the way... about text... could it be possible to take away the double :: on the title of the page ? ----------------- Gallery 2 URL = http://www.coquille.org/gallery/main.php Gallery 3 URL = http://www.coquille.org/gallery3 |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
Quote:
By the way... about text... could it be possible to take away the double :: on the title of the page ? Best to start a new thread as to not confuse the topic at hand. Dave |
|
Jeeves_
Joined: 2010-10-27
Posts: 6 |
![]() |
Is there a link to the newest version of this module? Or isn't it really ready yet? |
|
tempg
Joined: 2005-12-17
Posts: 1857 |
![]() |
@petri: It's normal; that's the way like works. As for the ::, it's controlled in your theme and I agree with floridave that you should start a new topic thread if you need help with that. @Jeeves_: Yes, the module works; the link is at the top of the page http://codex.gallery2.org/Gallery3:Modules:facebook_like @floridave: Thanks for the module!! |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
tempg, Dave |
|
dwdallam
Joined: 2006-11-19
Posts: 394 |
![]() |
Dave, is there a "Share" button like this one? |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
http://gallery.menalto.com/node/99043 Dave |
|
dwdallam
Joined: 2006-11-19
Posts: 394 |
![]() |
Of course I will. Any instructions? I have never done it. I had a look at that thread, but that doesn't look like a module. It's a script that hasn't been "modulized." |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
The second post is the module. Dave |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
As for directions: login go to a page you want to create with the url copy/paste/edit to your hart content. Dave |
|
lateatnight
![]()
Joined: 2011-03-06
Posts: 15 |
![]() |
Hi Dave, Thank you |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
Works for me. Perhaps you are liking an album? Dave |
|
lateatnight
![]()
Joined: 2011-03-06
Posts: 15 |
![]() |
I tried with this photo for example |
|
Pintac
![]()
Joined: 2009-02-03
Posts: 11 |
![]() |
I tried this on multiple different photos. At one point, it posted a photo from a completely different album but had the text for the photo that I had liked. |
|
tempg
Joined: 2005-12-17
Posts: 1857 |
![]() |
The share button works; it's pulling an image from the navigator module because Facebook can't distinguish which image you want highlighted. @floridave: It may help Facebook know what thumb to use if the module can add |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
I see the issue that lateatnight has but don't know how FB gets the image from the code. The code in the <i frame> that is generated looks fine to me and has the proper url. tempg; Dave |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
Pintac, Dave |
|
lateatnight
![]()
Joined: 2011-03-06
Posts: 15 |
![]() |
If it can help you, I'm using these modules: * Facebook like I installed Share & Bookmark after discover the thumbnail problem of facebook like |
|
Pintac
![]()
Joined: 2009-02-03
Posts: 11 |
![]() |
Modules that I added are Adsense It likes to pickup the advertisement banner in my footer as the image on FB. Site can be found here. I'll reactivate the FB Like button. Is it possible in a future release to have the option to place Like button below the pictures? |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
see if the attached works better. I added a
Dave |
|
Pintac
![]()
Joined: 2009-02-03
Posts: 11 |
![]() |
Seems to be working so far. Tried it on a few different photos. But when you click like, shouldn't you receive a popup box asking you for the share permission level on facebook? |
|
lateatnight
![]()
Joined: 2011-03-06
Posts: 15 |
![]() |
I tried it in a lot of pictures and it seems to work well. Thank you Dave |
|
Atrus
Joined: 2006-10-08
Posts: 2 |
![]() |
Unrelated question: is there a way of hiding the Like button for pictures in private albums? I havn't tried what happens when I click on such a button but I guess Facebook will create a link to a login box. Best, Roland. |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
Pintac wrote:
But when you click like, shouldn't you receive a popup box asking you for the share permission level on facebook? I don't know. If a user is logged it already it should just add it. If you are not logged in I think there is a popup or some redirect for the user to login. Not sure if the user has some popup blocker what hapends. Atrus, Dave |
|
tempg
Joined: 2005-12-17
Posts: 1857 |
![]() |
@floridave: Apologies for not getting back; overlooked it. @pintac: The new line works for you, but it's just coincidental because of the way your page is laid out. You're supposed to replace your facebook like module with the one posted by @floridave above: http://gallery.menalto.com/node/98752#comment-370082 |
|
Pintac
![]()
Joined: 2009-02-03
Posts: 11 |
![]() |
I did replace it with those files and yes it works. The part about permissions was a separate thing. It posts to the profile but not to the news feed like everything else unless you click on share. |
|
Atrus
Joined: 2006-10-08
Posts: 2 |
![]() |
Floridave wrote:
What do you think of still having the 'like' button but only give facebook a generic thumb? Or is it better just to not show the like button at all? @ Floridave, I would prefer not showing the button at all, so that facebook never knows about private albums. Roland. |
|