Our Installation Service service is the product of dedication, experience, knowledge and a customer-focused mindset. All configuration and management tasks are performed in a single administrative center. Demo Site. Publish the updates from SobiPro component to JomSocial timeline!
|Published (Last):||21 February 2008|
|PDF File Size:||1.83 Mb|
|ePub File Size:||10.35 Mb|
|Price:||Free* [*Free Regsitration Required]|
Plugins allow developers the ability to extend JomSocial and provide new functionality or feature that is not already available in the core or to use the features that are available and extend them even more. A JomSocial plugin is essentially a normal Joomla plugin that can be installed, uninstalled, and managed just like every other Joomla plugin. JomSocial provides plenty of system hooks or trigger points which your plugin will use to add new functionality.
You can create any type of plugin, but the most common types are:. If you already know how to create Joomla Plugins then creating a JomSocial plugin would be rather easy task. At very least, you will need the following four 4 files:. System plugin allows you to perform various system-wide tasks.
In this tutorial, we are going to create a custom system plugin that will be triggered after onAfterRoute Joomla system event.
In your main PHP file, you will need to. In this turtorial, we will create the user plugin that will utilize the Joomla onUserAfterSave hook to make an action in the activity stream after a new user is created. As with the system plugin, you will need a minimum of four 4 files, and follow the same structure. As before, in your main php file you will need to:. This plugin is freely available in our forums. Please note that you will need a valid subscription to see the forums and that the plugin code might differ.
The Community, or Profile, plugin, also known as an application, is the most widely used type of plugin in JomSocial. When you create a Community plugin , individual site members will be able to select your plugin to be displayed on their profile page. Your plugin will be able to pull information from the user profile page and will have access to user various parameters. Please note that in the XML file of the Community plugin, you must add some additional elements. As with the system plugin, it will need a minimum of four 4 files for the community plugin to work; however, we recommend that you to create another folder named exactly the same as the plugin.
In this folder, we will store the plugin favicon, thumbnail, and eventually the config. As before, in your main PHP file, you will need to:. System parameters are settings that are specified by the server administrator.
It cannot be changed by the user and the admin can only modify the setting from the Joomla Backend. The params are loaded automatically and can be accessed directly:. A User Parameter is params data that is specific to the current user. To define params, first create a file called config. JomSocial, by default, does not cache the return values for plugins. If any plugin wants to use any caching system, you can deploy the standard Joomla caching system.
Plugin Tutorials. You can use Ctrl-click to select more than one item. Note: Get the cache object with community community. The function that returns the final content should not try to get the user and my objects.
Caller should instead pass this data to the function.