# 自動バッジ有効期限切れ

**URL:** https://meta.discourse.org/t/automatic-badge-expiration/133017
**Category:** Support
**Tags:** badges
**Created:** [2019 年 11 月 9 日午後 10:38 UTC](https://meta.discourse.org/t/automatic-badge-expiration/133017 "2019-11-09T22:38:15Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![wlandgraf](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wlandgraf/32/154660_2.png) [@wlandgraf](https://meta.discourse.org/u/wlandgraf)
#### Post date: [2019 年 11 月 9 日午後 10:38 UTC](https://meta.discourse.org/t/automatic-badge-expiration/133017/1 "2019-11-09T22:38:15Z")

</div>

Discourse のユーザーに、定期的にエンゲージメントを維持している人への特典を提供したいと考えています。例えば、月に少なくとも 1 人の新規ユーザーを招待したユーザーにのみ特典を提供したいと考えています。

「プロモーター」というバッジを所有するすべてのユーザーにそのような特典を与えるように設定することはできますが、「プロモーター」バッジはユーザーが 1 人の訪問者を招待するだけで取得でき、そのバッジは永久に保持されてしまいます。

1 ヶ月後に「プロモーター」（または他の）バッジが自動的に削除され、ユーザーが再度それを獲得する必要があるように、バッジの有効期限を自動的に設定する方法はありますか？

あるいは、私が目指していること（ユーザーに月次のエンゲージメントを要求すること）に対して、より良いアプローチはありますか？

よろしくお願いいたします。

---

<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: [2019 年 11 月 9 日午後 10:54 UTC](https://meta.discourse.org/t/automatic-badge-expiration/133017/2 "2019-11-09T22:54:16Z")

</div>

確かに面白いアイデアですね。

---

<div class="post-metadata">

### Author: ![wlandgraf](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wlandgraf/32/154660_2.png) [@wlandgraf](https://meta.discourse.org/u/wlandgraf)
#### Post date: [2019 年 11 月 10 日午前 9:42 UTC](https://meta.discourse.org/t/automatic-badge-expiration/133017/3 "2019-11-10T09:42:59Z")

</div>

@codinghorror、つまりそのような機能はまだ存在しないということですね？🙂  
これを実装するための回避策（手動であっても）はありますか？今私が直面している主な問題は、バッジがユーザーに付与された時期に関する情報さえ表示できないことです。これはどこか（API を通じてであっても）で確認できますか？

---

<div class="post-metadata">

### Author: ![hellekin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hellekin/32/51636_2.png) [@hellekin](https://meta.discourse.org/u/hellekin)
#### Post date: [2019 年 11 月 10 日午前 9:54 UTC](https://meta.discourse.org/t/automatic-badge-expiration/133017/4 "2019-11-10T09:54:30Z")

</div>

おそらく、[Discourse Data Explorer](https://meta.discourse.org/t/data-explorer-plugin/32566) を使って SQL クエリを再現し、時間制限を追加することで新しい「期限付き」バッジを作成できるでしょう。#plugin:data-explorer カテゴリや [(Superseded) What cool data explorer queries have you come up with?](https://meta.discourse.org/t/what-cool-data-explorer-queries-have-you-come-up-with/43516) のコレクションに、すでにそのようなクエリがあるかどうかは確認していません。もし何か見つけたら、ぜひこのトピックで共有していただけると嬉しいです！

---

<div class="post-metadata">

### Author: ![cageycat](https://avatars.discourse-cdn.com/v4/letter/c/d6d6ee/32.png) [@cageycat](https://meta.discourse.org/u/cageycat)
#### Post date: [2019 年 11 月 11 日午前 6:15 UTC](https://meta.discourse.org/t/automatic-badge-expiration/133017/5 "2019-11-11T06:15:55Z")

</div>

> [@wlandgraf](#):
>
> バッジがユーザーに付与された時期に関する情報さえ表示されません。どこか（API経由でも）で利用可能でしょうか？

アバターの隣の3行の下にある「バッジ」をクリックしてください。各バッジには、そのバッジを持っているユーザーの数が表示されています。その数字をクリックすると、バッジを取得した日付とともに、バッジを持っている各ユーザーが一覧表示されます。

しかし、なぜ有効期限付きのバッジが必要なのでしょうか？個人的には、ユーザーがイライラすると思います。

---

<div class="post-metadata">

### Author: ![Data\_Diplomat](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/data_diplomat/32/143282_2.png) [@Data\_Diplomat](https://meta.discourse.org/u/Data_Diplomat)
#### Post date: [2019 年 11 月 11 日午前 7:20 UTC](https://meta.discourse.org/t/automatic-badge-expiration/133017/6 "2019-11-11T07:20:33Z")

</div>

これは実際、コミュニティ空間でよく寄せられる要望です。ユーザーの最近の／現在の行動に紐づくバッジと、コミュニティで活動し続けているかどうかに関わらず、一度取得すれば永久に保持できる歴史的なバッジの付与との違いです。特に数年運営されているコミュニティではこの点が重要です。Facebook では「トップファン」バッジがこの仕組みを採用しており、これは固定されたものではなく、ページへの参加が減るとバッジが失われる可能性があります。

---

<div class="post-metadata">

### Author: ![wlandgraf](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wlandgraf/32/154660_2.png) [@wlandgraf](https://meta.discourse.org/u/wlandgraf)
#### Post date: [2019 年 12 月 6 日午前 11:32 UTC](https://meta.discourse.org/t/automatic-badge-expiration/133017/7 "2019-12-06T11:32:10Z")

</div>

ユーザーからバッジを手動で削除した場合、必要なアクションを実行すれば再度バッジを獲得できますか？

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [2023 年 9 月 15 日午前 1:37 UTC](https://meta.discourse.org/t/automatic-badge-expiration/133017/8 "2023-09-15T01:37:45Z")

</div>



---

<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: [2023 年 9 月 16 日午前 5:35 UTC](https://meta.discourse.org/t/automatic-badge-expiration/133017/9 "2023-09-16T05:35:59Z")

</div>

これについては、基になるSQLクエリに時間要素が組み込まれた新しいバッジを作成するというアドバイスが引き続き有効だと思います。

クエリのヘルプが必要な場合は、#data-reportingでトピックを開始できます。👍

---

<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: [2023 年 9 月 16 日午前 5:36 UTC](https://meta.discourse.org/t/automatic-badge-expiration/133017/10 "2023-09-16T05:36:03Z")

</div>


