zenFBLike Plug-in

zenFBLike 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

v1.4.1-Beta [7271]

  • Version update after testing with 5/16/2011 Trunk build.
  • Added option interface for inclusion of the new "Send" button feature to include a send button next to the like button.

v1.4.0.3-7031

  • Version update after testing with 4/18/2011 Trunk build.

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 zenFBLike to zenFBcommon.
  • Added option interface for specification of application ID & admin ID.
  • Plug-in now distributed as pack with other zenFBSuite plug-ins.

v1.3.1.2-6155

  • Update to plug-in version numbering.  Plug-in versions will now reflect the version of Zenphoto the plug-in was tested with.
  • Change to meta key loading to migrate from old addpluginscript method to Zenphoto's new zp_register_filter 'theme_head' section.
  • Better commenting of code.

v0.1.2

  • bugfix to zenFBLike html output to incorporate all options.  It appears the initial save I had made with this was not uploaded properly. (Thanks to FrankM in the support thread for pointing out the oversight!)
  • addition of the "Box Count" option for layout giving another layout style for the likebutton.

v0.1.1

  • Added additional code adding support for Open Graph Meta tagging.
  • Clean-up and addition to code.
  • Updated installation instructions for clarity.

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

First, review this link and this link to setup/find your Facebook ApplicationID/UserID.  This will be needed for the zenFBSuite of plugins now.

    1. 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

  1. Login to your administration settings.
  2. Activate zenFBcommon & the zenFBLike plugin from the "plugins" tab.
  3. Set your options via the admin interface.
  4. Place the function call wherever you want to have a likebutton interface via:
    if (function_exists('zenFBLike')) { zenFBLike(); }

 

Support

Support can be reached via the Zenphoto Support forums in the thread listed below:

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!

DEMO



Download


zenFBSuite-current.zip (10.67 kB) - 519 downloads


Not yet rated