q2a-badges
q2a-badges copied to clipboard
Badge 'liked', 'loved' and 'revered' not awarded automatically (when upvotes received)
Noticed it myself, and now a user pointed out the issue as he did not get the badge.
Settings: 'liked' → 10 up-votes 'loved' → 50 up-votes 'revered' → 100 up-votes
Issue: A user reaches x upvotes but is not rewarded the 'loved' badge.
Hunting the bug:
- I checked the badge parameters in qa_options, everything seems correct.
- I checked the user's upvotes, correct, got more than x upvotes.
- I checked that badge is not awared yet (badge_slug), correct, empty result in mysql.
Could it be that check_voted($uid)
does not get the userid? Somehow it is not triggered automatically... How is it triggered?
Greetings :) Kai
*PS: If I go to >Admin >Plugins >Badge Plugin and do Recheck Badge Awarding
, those badges get rewarded!
It seems to work on my site...
This is weird. I will look into this as soon as it happens again. Thanks Noah.