# Gamification plugin for 【invite】cheer points

**URL:** https://meta.discourse.org/t/gamification-plugin-for-invite-cheer-points/351409
**Category:** Bug
**Tags:** gamification, invites
**Created:** [February 10, 2025, 9:34am UTC](https://meta.discourse.org/t/gamification-plugin-for-invite-cheer-points/351409 "2025-02-10T09:34:23Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [June 10, 2025, 3:08pm UTC](https://meta.discourse.org/t/gamification-plugin-for-invite-cheer-points/351409/2 "2025-06-10T15:08:23Z")

</div>

I think this may be a #Contribute > Bug. 🤔

I’ve just had a quick run-through on my test site of redeeming an invite with a new test user using an invite that was created some time ago \[1\], and I wasn’t awarded any points. (😢)

I think this is an issue with this line here:

> <https://github.com/discourse/discourse-gamification/blob/a5ee8d83c5849daf5c694c405f7cdc89946f224f/lib/discourse_gamification/scorables/user_invited.rb#L18>

I think it looking at when the invite was created is throwing it off, and it should be focusing on the invites that were redeemed in that `:since` timespan instead. That way, redeeming an ‘evergreen’ invite will still correctly award points. 🏆

Let’s slip it over to #Contribute > Bug for someone to check out. 👀

* * *

Ah, Related Topics, my old friend. 🙂

I thought this sounded familiar:

> [@Gamification and invitations](https://meta.discourse.org/t/gamification-and-invitations/269544/1):
>
> While debugging this, I also found that the score job will only consider invites that are less than 10 days old. So if an invite is redeemed after 11 days, no points will be awarded at all.

* * *

1. back in April

---

_[View the full topic](https://meta.discourse.org/t/gamification-plugin-for-invite-cheer-points/351409)._
