Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use without Badge If your app doesn't need Badges you should just use HasReputations trait instead of Gamify. #44

Open
smta2017 opened this issue Feb 7, 2021 · 1 comment

Comments

@smta2017
Copy link

smta2017 commented Feb 7, 2021

when i replace "Gamify" with "HasReputations" trait in user model to us Reputations only it give to me issue because it asking for
"Call to undefined method App\User::syncBadges()"
please help

@mulder2222
Copy link

I run into the same problem. You can "fix" this by adding the syncBadges method into the model you are the using the HasReputations trait.

class User extends Authenticatable
{
    use HasReputations;    

    public function syncBadges($user = null)
    {
    }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants