Welcome

Welcome, developers! Thank you for purchasing EasySocial. In this section, you will learn on the pre-requisites that needs to be fulfill before you can configure and edit EasySocial codes.

Getting Started

EasySocial comes with a wide variety list of libraries that you as an extension developer or 3rd party application developer could make use of.


Foundry Framework

IMPORTANT!
As for EasySocial 1.4, there are some changes made on EasySocial Engine. Thus, because of that, there are will be depreciated classes and functions of Foundry Framework.

Foundry framework is basically the heart of the extension. Every function or classes routes through the PHP's Foundry library. In order for you to access a library in EasySocial, you would need to utilize the Foundry object.


Example #1: Retrieving a user object

require_once(JPATH_ADMINISTRATOR . '/components/com_easysocial/includes/easysocial.php');
// Retrieves the current user object.
$user = ES::user();

Example #2: Retrieving an Oauth library

require_once(JPATH_ADMINISTRATOR . '/components/com_easysocial/includes/easysocial.php');
// Retrieves the oauth library.
$oauth = ES::oauth( 'Facebook' );
echo $oauth->getLoginButton();

Example #3: Retrieving the apps library

require_once(JPATH_ADMINISTRATOR . '/components/com_easysocial/includes/easysocial.php');
// Retrieves the apps library.
$lib = ES::apps();

Available Libraries of EasySocial

  • access
  • advancedsearch
  • ajax
  • akismet
  • albums
  • alert
  • apps
  • assets
  • avatar
  • badges
  • bbcode
  • captcha
  • comments
  • config
  • connector
  • conversations
  • cover
  • crawler
  • cron
  • date
  • db
  • debug
  • dispatcher
  • exif
  • fields
  • form
  • friends
  • geocode
  • image
  • indexer
  • info
  • installer
  • javascript
  • json
  • language
  • less
  • likes
  • location
  • mailer
  • maintenance
  • maps
  • migrators
  • uploader
  • user
  • video