By Neel on Thursday, 04 September 2014
Posted in General Issues
Replies 8
Likes 0
Views 0.9K
Votes 0
I noticed that when EasySocial is installed on a site with existing users, the newbie badges are not assigned for all users. Shouldnt all registered users automatically are entitled for this badge?

Similarly, is there a way for ES points to automatically calculate and apply the relevant points for existing users (atleast to some extent) if its possible? If not the existing users miss out on all the points they could have accumulated in the past (such as article creations, etc..). How does it work?
Not manually count, you can group them then count the group automatically using a query. Here's a refference that might help you
http://lmgtfy.com/?q=count+group+mysql
Ken
·
Friday, 05 September 2014 04:32
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Neel,

Unfortunately it's not possible to re-assign badges / points because it really doesn't make sense if you view it on the timeline. For instance, if existing users on your site has already posted some updates on the stream or shared a couple of links and out of a sudden, you get a stream that says "User earned the badge xxx because he registered on the site".
·
Friday, 05 September 2014 02:14
·
0 Likes
·
0 Votes
·
0 Comments
·
Yeah I understand that. But it might be useful if it can be applied from backend without adding it to the stream or email / system notifications since all of these can ofcourse confuse users. Its just for the existing users who have joined before this component was installed. Because without this, the leaderboard is not really a right leaderboard since it doesnt count the hundreds of articles a user might have created before ES was installed. Thats why I was wondering. But like you said, I also realise it will be confusing (and annoying) if all of these calculated points and badges are added to the stream or notifications. But a backend sync option will be perfect to overcome this if it is possible at all so existing sites can take advantage of this.
·
Friday, 05 September 2014 02:31
·
0 Likes
·
0 Votes
·
0 Comments
·
You can manually update them in the database, II believe they're located in #_social_badges_history. For other stuff like article creation, yoou can auto update them using query. Sorry I can't help you much further since I disabled badges on my beta site
Ken
·
Friday, 05 September 2014 04:08
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks ken for your reply. Wouldnt that mean I need to manually calculate and update the points for each users in the db?
·
Friday, 05 September 2014 04:17
·
0 Likes
·
0 Votes
·
0 Comments
·
ah. make sense. Thankx for the link. A very useful bunch of references that will help me to start on building this query. And when this is added, when user logs in they will just see their points and badges with no bulk notifications. That should work. Thanks for your input. It helped. I will have a look.
·
Friday, 05 September 2014 04:45
·
0 Likes
·
0 Votes
·
0 Comments
·
No problem, glad those reference helps!
Ken
·
Friday, 05 September 2014 04:52
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for sharing Ken
·
Friday, 05 September 2014 12:21
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post