Facebook Fanbox Plugin
- Uploaded:
- Wednesday, 19 January 2011
- Modified:
- Thursday, 17 May 2012
- Hits:
- 12204
- Downloads:
- 146
- Rating:
-
(1 Votes)
- Tag:
- facebook page, facebook like-box, facebook fans, fans, page, facebook, joomla, modules, plugin, javascript SDK
- Support:
-

- Addition Information
-
The Like Box enables users to:
- See how many users already like this page, and whom/how many of their friends like it too.
- Read recent posts from the page.
- Like the page with one click, without the need to visit the page.
This package is including three individual extensions
- plg_system_zj_fbconnect: Facebook Javascript SDK, it allows you to use XFBML method without any hack at your site, follow this link to learn more about XFBML http://developers.facebook.com/docs/reference/javascript. This plugin is required if you are using XFBML for "Rendering Method" in plugin configuration.
- plg_content_zj_facebookfanbox: Facebook Fanbox Pro - Plugin, this is the processing core for the facebook page.
- mod_zj_facebookfanbox: (require content plugin was installed) it allows you to show your facebook page as a module anywhere at your site.
To use fanbox in joomla content (or any component supports for content plugin), Just copy and paste this code to any position to your content.
{zj_facebookfanbox [iframe=0 width=292 height=587 stream=1 show_faces=1 header=1 colorscheme=light frontpage=1 bloglayout=0 page_url=http://www.facebook.com/pages/Joomseller-Solutions/144784572238210 custom_css=0]}See the configure bellow - all configure in [ ... ] are not required.
- iframe=0[1] note that use 0 OR 1, accepted for true and false, but not stable
- width=292 use an integer value
- height=427 use an integer value
- stream=0[1] note that use 0 OR 1
- show_faces=0[1] note that use 0 OR 1
- header=0[1] note that use 0 OR 1
- colorscheme=light[dark]
- frontpage=0[1] note that use 0 OR 1
- bloglayout=0[1] note that use 0 OR 1
- page_url=[your page url] http://www.facebook.com/pages/Joomseller-Solutions/144784572238210 is Joomseller pageTo use this plugin for any custom component. Just add this code follow to anywher of your custom component
// Integrate Facebook Fanbox Plugin
$fbfanbox_lib = JPATH_PLUGINS.DS.'content'.DS.'zj_facebookfanbox'.DS.'libraries'.DS.'zj_facebookfanbox_api.php';
if (file_exists($fbfanbox_lib)) {
require_once($fbfanbox_lib);
$configs = array();
$configs['width'] = 292; //does not need this option, it can take from plugin configuration;
$config['height'] = 427; //does not need this option, it can take from plugin configuration;
// ... any configuration which you want at here;
$configs['page_url'] = 'your page URL at here';
$zj_fbc = new ZJ_FacebookFanboxAPI($configs);
echo $zj_fbc->getFanboxPro();
}Feature listing:
- Allows you to use this as a content plugin or joomla module.
- Allows you to use this plugin for any custom component.
- You don't need to know your page id, just copy and page your page URL to configuration page. Some other like-box modules only allow you to use page_id and do not allow you to use page url. It is very hard to find your page id if your page is http://www.facebook.com/FacebookPages.
- Configure to show your page streaming, your fans' avatar...
Plugin Configuration:
- Page URL: URL of your page on Facebook page. Just go to your facebook account, click on Account => Manager Pages then copy your page link here. http://www.facebook.com/pages/Joomseller-Solutions/144784572238210 is Joomseller Page.
- Rendering Mode: Select how to render the box, JavaScript or IFrame. IFrame works with most browsers.
- Width: Width of FanBox (Default: 292).
- Height: Height of FanBox (Default: 587).
- Color scheme: Main color of your page. Default is Light.
- Show Stream: Show your facebook page streaming.
- Show Faces: Show your facebook page fans avata.
- Show Header: Show 'Find us on Facebook' header
- Show on Frontpage: Show your facebook page on content frontpage. Default is 'No'
- Show on Blog Layout: Show your facebook page on content blog layout. Default is 'No'
- Link to Page: Config this if you want show a footer link on your Facebook page.
- Images (5)
- Change Logs
- Version: 1.3.0 - Date: 03 Feb 2012
Description:
- Fixed issues with XFBML mode on joomla 1.7 & 2.5

Please wait...







