zenFBLike Plug-in
zenFBLike is the first step to full XFBML integration of zenPhoto. This plug-in is designed to allow easy installation (via template calls) of the Facebook Like button for your social minded gallery viewers. It is accomplished by loading Facebook's Javascript SDK allowing parsing of XFBML for social site integration.
Changelog
v0.1
Plug-in creation.
* Adds functionality of Like buttons via template calls.
* All currently configurable variables for the Like Button are configured in the plug-in settings under admin interface.
Installation
1. Installation is similar to other plugins. Uncompress zenFBLike.zip and upload to your root "/plugins" directory, `not` the "zp-core/zp-extensions" directory.
2. Login to your administration settings.
3. Activate plugin from the "plugins" tab.
4. Set your options from the Options -> Plugins -> zenFBLike
5. Place the function call on whichever theme page you want to access it by:
<?php if (function_exists('zenFBLike')) { zenFBLike(); } ?>
Support
Support can be reached via the zenPhoto Support forums in the thread listed below, or via the zenFBLike application page listed below.
zenFBLike Application: Linked Here.
Support Thread: Linked Here.
Donate
If you enjoy this plugin and find it useful, donate to myself, the zenphoto developers, or the zenphoto project! Open source only survives if you help it!
Download
v0.1
http://www.michealluttrull.com/zen/uploaded/zenFBLike-v0.1.zipInfo & Download Page
http://www.michealluttrull.com/zen/pages/zenfblike
Comments
Anyway, a page be better to link to (and improves your site's seo, too..;-)) instead of this thread.
Update: Just saw that you have already one but hidden in the plugin itself..;-) Therefore, consider the plugin entry added.
Update2: You have a small error in your doc: Installation is similar to other plugins. Uncompress zenFBLike.zip and upload to your root "/plugins" directory, not the "zp-core/plugins" directory.
There is no "zp-core/plugins" but a "zp-core/zp-extensions" folder. Just to note.
Edit: good catch, was going from memory which appears to be a bit shaky after taking the time off, lol.
p.s. sorry if its dumb question
@gcohn2: Zenphoto plugins are never in a folder. But the plugin file can have a accompaning extra folder that contains additional files like graphics, extra functions or such (like the Flowplayer3 plugin).
<?php if (function_exists('zenFBLike')) { zenFBLike(); } ?>
if i want the like thing to show up in all of my albums.
one other thing.. the link on your page for the download:
http://www.michealluttrull.com/zen/uploaded/zenFBLike-v0.1.zip
actually points to your twitter app.. i did figure out that i could just paste the above into the address bar and download the right thing though..i'm not totally helpless.
thanks again.
The page at http://gabecohn.com/photos/zenphoto-1.2.9/zenphoto/2010-05_f+s/ could not be reached.
the weird thing is that it worked on the first album.. but then didn't work after that.. you are welcome to go to my site (above) and try to like something.. i really like the idea. does it then show up on my fb page? as something i liked? micheall...would u rather i email you so as to not clog up this forum? this is the first time i've ever written in a forum so i'm sure i'm screwing up all the ettiquette
I'll take a look to see if perhaps it's a character issue.
Edit:
@gcohn2
Could you try removing the + sign from your album name? I'm interested to see if that's the character causing the problem.
As a side note: my server node seems to have gone down so we may experience issues for a few moments while they bring it back up as facebook seems to complain when it doesn't have an application home.
http://www.facebook.com/apps/application.php?id=126578374030382
That's the application profile. Keep an eye on that, I'll update it when the server issues are resolved. Sadly this means nobody can download the plug-in currently.
Edit:
Ah they modified it a bit. It's not an automatic popup anymore. If you hover your mouse over the like button you should get the comment form.
Edit2:
And it appears the comment box only pops up for a short while after liking the page. If you hover over the like button and nothing happens click it to "unlike", then click again hovering your mouse over the button for the comment post.
Could you get me a list of all plugins you currently have active? I'll work on figuring out why the comment box doesn't pop up for you.
As it stands now, Facebook has worked out a lot of their CDN issues. When you "like" something now, it shows up on your facebook profile page under recent activity. It won't post to the wall unless you add a comment. As seen in this snap:
http://michealluttrull.com/wp-content/uploads/2010/06/likesrecentact.jpg
As an additional note, I've worked out how to get the majority of the rest of Facebook's social plug-ins working. So expect an update on the plug-in soon.
PD: Sorry for my bad English.
Thanks, and sorry for the inconvenience.
Thank you.
comment_form
filter-zenphoto_seo
flowplayer3
flowplayer3_playlist
jcarousel_thumb_nav
print_album_menu
rating
slideshow
viewer_size_image
zenFBLike
i could start disabling 1 at a time to figure out which one if it is helpful.
@g0d- I found this link:http://www.facebook.com/facebook-widgets/share.php
.. just copied that code (without changing any of the options) into my album.php and image.php page. i am just a beginner, so this probably isn't the best way to do it, but it seems to be working