qcod / laravel-gamify

Gamify your Laravel app with Reputation Points & Achievements Badges support

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not an issue, only question / Badge qualifiers...

snipiba opened this issue · comments

Is there a way how to set qualifiers based on sum of specific points?
For example, qualifier as "Best author" based on Sum of published posts only?
Because qualifier based on sum of all points is not relevant in this case, right?

Probably found solution....
return $user->reputations->where('name','PostCreated')->sum('point') > 10;