# "New User of the Month" badge doesn't appear to be monthly?

**URL:** https://meta.discourse.org/t/new-user-of-the-month-badge-doesnt-appear-to-be-monthly/63264
**Category:** Bug
**Created:** [2017 年5 月 24 日 08:08 UTC](https://meta.discourse.org/t/new-user-of-the-month-badge-doesnt-appear-to-be-monthly/63264 "2017-05-24T08:08:40Z")
**Posts on this page:** 15
**Page:** 1

<div class="post-metadata">

### Author: ![GlitchMr](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/glitchmr/32/96700_2.png) [@GlitchMr](https://meta.discourse.org/u/GlitchMr)
#### Post date: [2017 年5 月 24 日 08:08 UTC](https://meta.discourse.org/t/new-user-of-the-month-badge-doesnt-appear-to-be-monthly/63264/1 "2017-05-24T08:08:41Z")

</div>

To explain, I was trying to get that badge on Rust users forum (which I believe is hosted on business Discourse hosting, considering it loads files from cdn-business).

Here is a badge page: [The Rust Programming Language Forum](https://users.rust-lang.org/badges/44/new-user-of-the-month)

Last time this badge was obtained is Apr 21, when it is May 24 now. I suspect the badge event did occur earlier, and because of safe net in code (preventing code from running if it’s not a month already), it didn’t do anything.

---

<div class="post-metadata">

### Author: ![gauthier](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gauthier/32/59292_2.png) [@gauthier](https://meta.discourse.org/u/gauthier)
#### Post date: [2017 年5 月 24 日 08:26 UTC](https://meta.discourse.org/t/new-user-of-the-month-badge-doesnt-appear-to-be-monthly/63264/2 "2017-05-24T08:26:47Z")

</div>

Hi,

Same here: [https://libertysim.net/badges/44/nouvel-utilisateur-du-mois](https://libertysim.net/badges/44/nouvel-utilisateur-du-mois)  
2 on Apr 1st and … nothing more.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [2017 年5 月 24 日 08:46 UTC](https://meta.discourse.org/t/new-user-of-the-month-badge-doesnt-appear-to-be-monthly/63264/3 "2017-05-24T08:46:25Z")

</div>

Note that the badge won’t award if there are no users that meet the criteria in the month. @eviltrout can you confirm all is well, etc?

---

<div class="post-metadata">

### Author: ![gauthier](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gauthier/32/59292_2.png) [@gauthier](https://meta.discourse.org/u/gauthier)
#### Post date: [2017 年5 月 24 日 08:57 UTC](https://meta.discourse.org/t/new-user-of-the-month-badge-doesnt-appear-to-be-monthly/63264/4 "2017-05-24T08:57:06Z")

</div>

Thanks, it’s may be the problem for me.

---

<div class="post-metadata">

### Author: ![GlitchMr](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/glitchmr/32/96700_2.png) [@GlitchMr](https://meta.discourse.org/u/GlitchMr)
#### Post date: [2017 年5 月 24 日 12:39 UTC](https://meta.discourse.org/t/new-user-of-the-month-badge-doesnt-appear-to-be-monthly/63264/5 "2017-05-24T12:39:49Z")

</div>

I’m fairly sure my account does meet the criteria (I believe you need to have at least 1 ❤) - [Profile - xfix - The Rust Programming Language Forum](https://users.rust-lang.org/u/xfix/summary). I joined May 11, and got 46 ❤.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [2017 年5 月 24 日 13:43 UTC](https://meta.discourse.org/t/new-user-of-the-month-badge-doesnt-appear-to-be-monthly/63264/6 "2017-05-24T13:43:09Z")

</div>

On a site I’ve been working on, a user who I’m pretty sure never logged in got user of the month.

---

<div class="post-metadata">

### Author: ![gauthier](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gauthier/32/59292_2.png) [@gauthier](https://meta.discourse.org/u/gauthier)
#### Post date: [2017 年5 月 24 日 13:54 UTC](https://meta.discourse.org/t/new-user-of-the-month-badge-doesnt-appear-to-be-monthly/63264/7 "2017-05-24T13:54:25Z")

</div>

i’ve just triggered manually the job. it’s seems ok for me.

@GlitchMr, you can try yourself at [yourforum.com/sidekiq/scheduler](http://yourforum.com/sidekiq/scheduler) and manually trigger Jobs::GrantNewUserOfTheMonth.  
Be sure to give a like to a new user before.

---

<div class="post-metadata">

### Author: ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)
#### Post date: [2017 年5 月 24 日 15:42 UTC](https://meta.discourse.org/t/new-user-of-the-month-badge-doesnt-appear-to-be-monthly/63264/8 "2017-05-24T15:42:43Z")

</div>

I looked at the Badge and did find a bug that didn’t occur to me before. If the top performing people were the same two months in a row, the second month nobody would receive the badge.

Having said that, that is not the case on the rust forum. I do think there is a bug where jobs that are scheduled monthly never happen. In this case, I changed the job to execute daily instead of monthly. There is a [check just in case](https://github.com/discourse/discourse/blob/master/app/jobs/scheduled/grant_new_user_of_the_month_badges.rb#L14-L17) so running it daily seems safer.

[https://github.com/discourse/discourse/commit/b78b01075752affb30d938a1834cfc0984c03481](https://github.com/discourse/discourse/commit/b78b01075752affb30d938a1834cfc0984c03481)

> [@pfaffman](#):
>
> On a site I’ve been working on, a user who I’m pretty sure never logged in got user of the month.

I don’t see how this is possible. The code pretty clearly needs them to have posted and received likes. If you could provide more information that would be good.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [2017 年5 月 24 日 20:16 UTC](https://meta.discourse.org/t/new-user-of-the-month-badge-doesnt-appear-to-be-monthly/63264/9 "2017-05-24T20:16:21Z")

</div>

> [@eviltrout](#):
>
> I don’t see how this is possible. The code pretty clearly needs them to have posted and received likes. If you could provide more information that would be good.

I noticed this in the midst of another problem–the user couldn’t receive email (it turned out that was because the MX record for the forum was an IP rather than a host name, and the receiving mail server/spam filter thought that was just Too Wrong). I enabled the user with `rake admin:create` and logged in as them once or twice to see that it worked (and the first couple times it still claimed that the email address hadn’t been validated). I think I finally solved the problem by making them an admin and then revoking it.

And, after all that, when I logged in as that user, I swear it said that it had just earned user of the month. It seemed odd, but not worth mentioning until I noticed this thread.

If you want me to go poke at it some more, I will, but maybe just file this away until there’s some indication that it might mean something.

---

<div class="post-metadata">

### Author: ![HAWK](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hawk/32/86627_2.png) [@HAWK](https://meta.discourse.org/u/HAWK)
#### Post date: [2017 年5 月 24 日 21:27 UTC](https://meta.discourse.org/t/new-user-of-the-month-badge-doesnt-appear-to-be-monthly/63264/10 "2017-05-24T21:27:01Z")

</div>

Ours didn’t grant this month either.

[https://experts.feverbee.com/badges/44/new-user-of-the-month](https://experts.feverbee.com/badges/44/new-user-of-the-month)

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [2017 年5 月 24 日 23:05 UTC](https://meta.discourse.org/t/new-user-of-the-month-badge-doesnt-appear-to-be-monthly/63264/11 "2017-05-24T23:05:14Z")

</div>

To add more date points, we (Stonehearth) _did_ have the badge granted this month.

---

<div class="post-metadata">

### Author: ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)
#### Post date: [2017 年5 月 25 日 18:37 UTC](https://meta.discourse.org/t/new-user-of-the-month-badge-doesnt-appear-to-be-monthly/63264/12 "2017-05-25T18:37:42Z")

</div>

The fix only went out yesterday unfortunately, so you probably haven’t received it yet.

---

<div class="post-metadata">

### Author: ![HAWK](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hawk/32/86627_2.png) [@HAWK](https://meta.discourse.org/u/HAWK)
#### Post date: [2017 年5 月 25 日 21:57 UTC](https://meta.discourse.org/t/new-user-of-the-month-badge-doesnt-appear-to-be-monthly/63264/13 "2017-05-25T21:57:50Z")

</div>

Just got it!

I was alerted by this

 ![](https://global.discourse-cdn.com/meta/original/3X/f/f/ffa1fc1b7f38cba1c3edcdb9fa07d086298c87bf.png)

---

<div class="post-metadata">

### Author: ![HAWK](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hawk/32/86627_2.png) [@HAWK](https://meta.discourse.org/u/HAWK)
#### Post date: [2017 年5 月 26 日 02:37 UTC](https://meta.discourse.org/t/new-user-of-the-month-badge-doesnt-appear-to-be-monthly/63264/14 "2017-05-26T02:37:57Z")

</div>

Further to the last post, I admit to being a sceptic of this badge for professional communities such as mine, however it has been positively received by 3 of the 4 that have been awarded it so far. (The fourth doesn’t yet know.)

I renege on my scepticism.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [2017 年5 月 28 日 01:00 UTC](https://meta.discourse.org/t/new-user-of-the-month-badge-doesnt-appear-to-be-monthly/63264/15 "2017-05-28T01:00:04Z")

</div>

This topic was automatically closed after 3 days. New replies are no longer allowed.
