zenFBcommon
zenFBcommon came into existence a few updates ago (1.4.0-6454). It's purpose is to serve as a central point for loading of the Open Graph meta tags used by the zenFBSuite of plugins for the "pretty posts" done on the Facebook walls. It also serves as an option interface for common options needed for all of the zenFBSuite of plug-ins.
Changelog
v1.4.1-Beta [7271]
- Version update.
- Change to initial setting for the og:author tag to pull the admin name. Required change to work with 1.4.1-beta. Currently this is being done via if-then-else check to allow for backwards compatibility for those that haven't upgraded or are leary about upgrading to a beta build.
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/")
v1.4.0.3-7031
- Added option for default logo.
- Modified OpenGraph og:image tag generation. 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.
- Change structure on archive upload. Upload now includes a version-named archive, and a copy named current to avoid constant updates to download links.
v1.4.0.2-6717
- Code cleanup.
- Added a note stressing the importance for a user in creating their own Facebook Application to obtain their own APP_ID as changes from facebook will start causing plug-ins to cease functioning if their APP_ID does not match the domain it's registered with. This notebox displays under plug-in options if they have not changed default settings.
v1.4.0.2-6701
- Code cleanup.
- More centralization of options and code into the zenFBcommon portion of the plugin.
v1.4.0-6454
- Added requirement of zenFBcommon plug-in to be enabled. Plug-in functionality will be disabled unless you enable the zenFBcommon plug-in.
- Moved OpenGraph keys from zenFBSuite plugins to zenFBcommon.
- Added option interface for specification of application ID & admin ID.
- Plug-in now distributed as pack with other zenFBSuite plug-ins.
Installation
First, review this link and this link to setup/find your Facebook ApplicationID/UserID. This will be needed for the zenFBSuite of plugins now.
- Uncompress and upload the plug-in archive. These should be uploaded to your zenroot/plugins folder, NOT the zenroot/zp-core/zp-extensions folder. You should have the following files:
./zenFBActivity.php
./zenFBComments.php
./zenFBcommon.php
./zenFBLike.php
./zenFBRecommend.php
./zenFBSend.php
- Login to your administration settings.
- Activate zenFBcommon from the "plugins" tab.
- Set your options via the admin interface.
Download
zenFBSuite-current.zip (10.67 kB) - 519 downloads
Not yet rated