hey there,
I am sorry for the confusing in earlier,
1. How to create Birthday point?
Can you elaborate more details regarding this birthday point what is your plan for your user can get this birthday point?
2. How to get point when share blog, social stream or discuss to other social media (Facebook, G+, twitter).
Currently there is no way to track back whether the user is it have share stream on their social network, because when you click `social share` and share on their social network, once it shared already, their social network will not give any response to Easysocial already shared in their social network.
In other word, what I can see it only can work when you press `send` button (screenshot :
http://take.ms/ivV1n ), so this we can control it.
3. How to limit some point activity like 'update profile', 'upload photo' ... that make more point in a short time. I wanna to it, example you can get point from 'update profile' activity only 2 time per day, if you update it in the 3rd time you don't get point.
I've checked in the code, unfortunately currently can't achieve this yet.
==================================================================================
By the way, I will try to use `friends.invite` point rule example to explain how it work in Easysocial.
1. Try open this file -> JoomlaFolder\administrator\components\com_easysocial\defaults\points\friends.points and you will see this `friends.invite` command and extension is very important because these info MUST have.
{
"title" : "COM_EASYSOCIAL_POINTS_FRIENDS_INVITE",
"alias" : "friends-invite",
"description" : "COM_EASYSOCIAL_POINTS_FRIENDS_INVITE_DESC",
"command" : "friends.invite",
"extension" : "com_easysocial",
"state" : true,
"points" : 1
},
2. Once you build your custom point rule file then open this file and see how the friends.invite point rule work.
JoomlaFolder\administrator\components\com_easysocial\tables\friendinvite.php
Example : what this friend invite point rule purpose is when you invite your friend join your social network (Easysocial), it will get the point.
But you also need to know which file which function is process this invite friend feature.
Open the file and go to this line of code 148 - 149
// Assign points to the user that created this invite
$points = FD:: points();
$points->assign('friends.invite', 'com_easysocial' , $this->user_id);
In other word :
// More explanation
// Assign points to the user that created this invite
$points = FD:: points();
$points->assign('Your point rule command', 'your extension name based on my point rule' , this parameter is which person will get the point);
You have to add these kind of code to tell the system which function you would like to perform your custom point rule work.
3. If every thing is done, you have to install this point rule file from backend > Easysocial > point > install > upload the file and press install.