By Colin Girard on Monday, 29 January 2018
Posted in General
Replies 6
Likes 0
Views 351
Votes 0
Our members can add parks, stories and travel tips through sobipro. Is it possible to assign points to them when they create these?
Hi Colin,

I'm not so sure if sobipro have point integration with EasySocial or not. If not, yes you can create point by following these documentation: https://stackideas.com/docs/easysocial/developers/points
·
Monday, 29 January 2018 11:45
·
0 Likes
·
0 Votes
·
0 Comments
·
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
·
Sunday, 11 February 2018 03:05
·
0 Likes
·
0 Votes
·
0 Comments
·
Discover does not show sobiro.
please advise.
·
Sunday, 11 February 2018 03:40
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Colin,

Does sobi pro has any integrations with EasySocial? If it doesn't, it wouldn't be possible to assign points when they create items on Sobipro. The rule file which my colleague shown you earlier is just the "definitions" that is required to be added by 3rd party vendors.
·
Sunday, 11 February 2018 12:39
·
0 Likes
·
0 Votes
·
0 Comments
·
Ok, looks like xtdir for easy social integrates the two.

Thanks for the clarification.
Colin
·
Sunday, 11 February 2018 23:24
·
0 Likes
·
0 Votes
·
0 Comments
·
No problem at all Colin. Have a great weekend!
·
Sunday, 11 February 2018 23:26
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post