By HAZEL on Sunday, 17 September 2017
Posted in General Issues
Replies 17
Likes 0
Views 292
Votes 0
Hi,

Is it possible to create badges achievements ?
I would like to create achievements with different levels of points via points.achieve,
as contributor: 50 points
confirmed contributor: 150 points ...

Thanks you by advance

Regards
Frank
Hey Frank,

It would be possible but you would need to first create the alert and add the necessary php codes to assign the new rule that you have created.

Creating a rule file - https://stackideas.com/docs/easysocial/developers/points/rule-file

Assigning via php - https://stackideas.com/docs/easysocial/developers/points/logging
·
Sunday, 17 September 2017 21:17
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Mark,
I wish to create new badges
To put a new badge, must it create a new rule in the points?
·
Monday, 18 September 2017 04:02
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Frank,

Yes, you need to create a new rule in the points
·
Monday, 18 September 2017 12:42
·
0 Likes
·
0 Votes
·
0 Comments
·
In what file put the code "Logging Points Actions" ?
·
Monday, 18 September 2017 20:07
·
0 Likes
·
0 Votes
·
0 Comments
·
You need to edit the codes in your respective php file . For instance, if we are assigning points to user when they create a blog post in EasyBlog, we need to add the codes in EasyBlog to add the logging.
·
Monday, 18 September 2017 23:02
·
0 Likes
·
0 Votes
·
0 Comments
·
For example in easyblog or easysocial, is there a specific php file (not to make an error) ?
·
Tuesday, 19 September 2017 02:14
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Frank,

Actually, there is no specific file for the logging point actions to be inserted where it varies according to the action the point to be given.
For example, in EasySocial, point given when invite another user to join a group:
.../administrator/components/com_easysocial/includes/group/group.php line 558
ES::points()->assign('groups.invite', 'com_easysocial', $actorId);


Hope this helps
·
Tuesday, 19 September 2017 12:38
·
0 Likes
·
0 Votes
·
0 Comments
·
Will these files be modified during an easysocial update?
·
Tuesday, 19 September 2017 16:23
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Frank,

As you make changes/customization on core file, it will effected once you undergo update.
·
Tuesday, 19 September 2017 19:20
·
0 Likes
·
0 Votes
·
0 Comments
·
ok, so be careful.
For the "Points Achiever" badge, it is necessary to create a new rule according to the number of points obtained,
or the basic rule is sufficient, and the badge display will change according to the number of points gained ?
·
Tuesday, 19 September 2017 20:02
·
0 Likes
·
0 Votes
·
0 Comments
·
I don't really understand what your question is, sorry.
·
Tuesday, 19 September 2017 21:35
·
0 Likes
·
0 Votes
·
0 Comments
·
Sorry !

For an Achiever Points badge, with several levels of points, it is only necessary to create a multi-rule as in https://stackideas.com/docs/easysocial/developers/achievements/rule-file

The rules of the points already exist ( with simgle rule) ?
·
Tuesday, 19 September 2017 21:50
·
0 Likes
·
0 Votes
·
0 Comments
·
badges like this, depending on the level of points
·
Tuesday, 19 September 2017 22:19
·
0 Likes
·
0 Votes
·
0 Comments
·
Oh, you could actually choose the achievement type and have it set to "points" as you can see here, http://take.ms/b2qSx
·
Tuesday, 19 September 2017 22:24
·
0 Likes
·
0 Votes
·
0 Comments
·
but can not be given a new name (as warned, superior ...) with another badge image?
·
Tuesday, 19 September 2017 22:29
·
0 Likes
·
0 Votes
·
0 Comments
·
Ok I think I understood with the multi-rules where you can change name and image. I'll do some testing.
thank you for your understanding and patience
I would come back to you if necessary

Regards
Frank
·
Tuesday, 19 September 2017 22:48
·
0 Likes
·
0 Votes
·
0 Comments
·
No problem Frank
·
Tuesday, 19 September 2017 23:06
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post