Ok got it. I have the following rules file to the components/sobipro directory.
[
{
"title" : "Install Applications",
"alias" : "install-apps",
"description" : "Earn points when you install applications for your profile.",
"command" : "apps.install",
"extension" : "com_easysocial",
"state" : true,
"points" : 5
}
]
<pre>require_once( JPATH_ROOT . '/administrator/components/com_easysocial/includes/foundry.php' ); <span spellcheck="true">
// @points: park.upload </span>Foundry::points()->assign( 'textbook.create' , 'com_easysocial' , $userId );</pre>
Is that all I need to do?
Colin