By Todd Hunter on Sunday, 19 March 2017
Posted in General Issues
Replies 5
Likes 0
Views 183
Votes 0
I would like to get a template of the code I would need to add to create badges to reward users for the number of friends they make for instance 10, 20, 50 and 100.
Could someone assist?
Hey there,

Actually we already have included this badge who love making friend in Easysocial, this badge name called it 'Friend Seeker', you can refer on my attached screenshot below.

But when the user already achieved this badge, it will no longer allow user to achieve this badge for another time.
·
Monday, 20 March 2017 10:32
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes but I would like to create other badges for different levels
·
Tuesday, 21 March 2017 14:48
·
0 Likes
·
0 Votes
·
0 Comments
·
Alex, you gave me the code on a previous ticket to assist me to create badges for attending events at different levels. I now want to do the same for making friends.,.. I just don't know what the variables are.
·
Tuesday, 21 March 2017 14:51
·
0 Likes
·
0 Votes
·
0 Comments
·
Please see "How To Create A Badge For Choosing To Attend Events"
·
Tuesday, 21 March 2017 14:53
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Todd,

That request add friend function you have look for this file in order to implement your new custom badges.

JoomlaFolder/administrator/components/com_easysocial/includes/friends/friends.php

Please refer on my attached screenshot and see which line of code you suppose to add in.

Hope this will help.
·
Tuesday, 21 March 2017 23:47
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post