Greets all!
After a brief respite into non-internet capabilities I've returned. I dusted off the code and finished up a few more changes.
Notably:
v1.4.0.2-6701
* Code cleanup.
* Removal of test code for email notification. Will re-add if I get it functioning.
* More centralization of options and code into the zenFBcommon portion of the plugin.
For more information, demo, and downloads: Here
Yes, as sbillard pointed out you need to uploade the php files and not the zip, also make sure they're in the root of the plugins folder and not under a folder. So under your filestructure you should have something like myhtmlfiles.com/plugins/:
./zenFBActivity.php
./zenFBComments.php
./zenFBcommon.php
./zenFBLike.php
./zenFBRecommend.php
./zenFBComments/dark_comments.css
./zenFBComments/dark_like.css
./zenFBComments/dark_nolike.css
./zenFBComments/lite_nolike.css
Also, there will be an update coming for the zenFBSuite soon, waiting on the Facebook dev team to release an update they're working on for the Comments plug-in for dark sites.
zenFBSuite Updates!
So I kicked the code and look what happened!
zenFBComments
Updated to utilize the "new" Facebook comments plug-in. I put new in quotes because it's been out for a while now, I just didn't want to make changes until they allowed for either CSS updates or a dark theme option. Eventually they did as well as a few other changes to the API.
Also, as the zenFBComments style is now handled via a light/dark theme option provided by facebook, the "plugins/zenFBComments" folder with the various CSS files are no longer needed.
zenFBcommon
A couple of quick changes here. Most notable would be the addition of the "Default Logo URL" option. If zenphoto is now on a gallery page showing an item with a thumbnail, it will populate og:image with the cached thumbnail. If it is not, it checks to see if anything is specified for the URL to default logo. If "default logo" is not null, it will then populate og:image tag with information pointing to default logo. If "default logo" is null/empty, it will not add og:image metatag.
More info, demo, changelogs, and download: Here!
Quick update to the zenFBSuite.
Update to zenFBcommon
v1.4.0.4-7122
Added handling of og:description tag to pull descriptions fro album/images/pages/news.
Added handling of og:author tag to pull information about owner of image/news/page. Currently does not support album owner, will incorporate in future release.
*Fixed a bug with og:image tag where it would serve a broken thumbnail when sharing from a zenphoto installation that was not at root of URL (i.e. "http://mysite.com/zenphoto" instead of "http://mysite.com/")
Info and download here.
Hi Micheall
I just downloaded zenFBSuite-current.zip from your site, and don't see the CSS files you referred to in your post from 1 month ago.
I am having several problems:
[list=1]
[]It isn't working, I put the like function in my sidebar.php, it doesn't show up, I am guessing that one or more of the other following issues is causing this
[]The plug-in options aren't working in Admin, I activated FBCommon, then Like and Comments, when I go to configure either (under Options->Plugins, neither Common or Like shows up, just Comments, and when I click Comments, no options show up (options show up for other activated plugins
[*]I am guessing that the UI for configuring the FBApp would appear if I could get to the plugin options for Common, can I configure manually in zenFBCommon.php?
[/list]
Here is a test page:
http://alex.magiclamp.net/index.php?album=2010-12&image=DSCI0502.JPG
I am running ZP 1.3.1.2 [5831] with the ZenPhoto theme
Thank you in advance for all the hard work on this plugin, I am learning a lot about FB integration from it
Cheers!
Jason
It's that time again! With Zenphoto 1.4.1 around the corner I figured I'd dive right in to testing against the 1.4.1-Beta. After adding compatibility for the upcoming release, I added another one of the Facebook social tools to the suite. A "Send" button, which functions similar to the like button. Instead of posting to your wall for everyone, it allows you to send a Facebook message to a person, people, or even a group.
It says it can send to an email address as well, however that functionality has yet to be established properly.
For information, demos, and downloads on the zenFBSuite and it's packaged plugins please visit here.
Nice work Michaell on this. Although I do have an issue with the Comments plugin which I can't seem to get to show.
I've successfully got the fbLike button to work by putting the code in the codeblock on a news page for instance. However, when I put the suggested code in for fbComments, it just doesn't show the comments plugin!
I have it enabled in Plugins and all the boxes ticked in Plugin Options...
Going to try another one just to be sure.
Using zenFBcommon v1.4.1-Beta [7271] and associated plugins on a Zenphoto version 1.4.0.4 [7122] site
thanks in advance
-petew
Alright I grabbed 1.4.0.4 [7130] and did an install. Enabled the plug-ins, added the code to the codeblock. Displays fine here, as can be viewed: http://inthemdl.net/test/pages/test-page
Have you turned the comments on for the page you're attempting to use the comment box on? It does use the hook for Comment control on image/news/page/albums. So if you haven't turned that on check for that on the item. Should be a checkbox that says "Comments On"
Hi,
thanks for this plugin, after all I'm on Facebook and I think I can give a new life to my pictures gallery that is proudly supported by Zenphoto ! Yes because everybody is on facebook ! (fortunately that's not true).
I'm not 100% sure it's working good (I still have a warning that says the pictures (URL) is unreachable...
Also I suppose I need to modified your php file (the script) to change the font size, it's too small for me, or is that a facebook option....
thank you so much
Gallery at
@zed, the URL unreachable error is because it takes some time for the facebook scraper to check your site. if you've setup your settings in your facebook application properly it should work fine after a bit of time.
The font bit is set via facebook, and while they allow you to specify what style of font from a list of their options, unfortunately you cannot set font size.
You could test out some css styling to see if it'll affect it, but as all the facebook plugins load via iframe now I don't think it will. Worth a shot to test though.
Hi micheall!
I tried you FB "Like" function on my fotos and followed the steps creating ID and finding my name on FB.
Whenever I now try to "like" some of my pics, the small comment space comes up and closes without a cause, displaying an "Error" behind this "Be the first to like" and FB icon. If I click on "Error" I'm redirected to FB Error Page, saying that the APP-ID is not allowed for this domain and I have to configure the Connect Base Domains so that it is an prefix of my domain http://mydomain.com/.../pic.jpg.php. But the Connect Base Domains are "mydomain.com".
Basicly APP-ID does not match domain. Funnyhow the "like" with the pic appears in my FB profile. After reloading my pic page it says: "XYZ likes this." So it worked. So why that error?
The Comment function does not work at all.
How's that?
FM
@Fotoman
Thanks for the note, yes you'll have to create the new APP-ID like you did etc and make sure it's properly input into your options. The bit about image being unreachable happens because likely when you first installed the plugins and attempted to use it, Facebook crawled the site and got the error. The problem is that Facebook doesn't crawl the sites constantly, in fact last I read there wasn't any definite timeframe that it used to crawl and index the site.
You can force Facebook to scrape the site by looking for the URL Linter and have it run on the URL but that would be troublesome if you have a lot of images. Eventually though, the error will clear up as Facebook re-caches the site properly. Wish there was an easier way to fix that, sorry.
@All
I've been kind of afk to real life, I'll be touching on the programs and my zenphoto again shortly to make sure everything functions with the most up-to-date release.