Discourse Cakeday

:discourse2: Summary Discourse Cakeday decorates user avatars with a celebratory emoji on the anniversary of their joining day, and (optionally) on their birthday too. :cake: :birthday:
:open_book: Install Guide This plugin is bundled with Discourse core. There is no need to install the plugin separately.

Enabling Cakeday

The Cakeday plugin is default enabled but can be disabled/enabled from its settings, accessed from your admin/plugins page:

Cakeday settings

Features

  • Emoji displayed on posts, usercards, and user pages for forum joining anniversary and/or birthday: (Emojis displayed can also be customized)

  • Browsable directory of anniversaries and birthdays at /cakeday/anniversaries/today

  • Automatically uses join date for anniversaries, and adds an optional Date of Birth field on each user’s Preferences->Profile page (limited to Month and Date)

Settings

  • See all relevant site settings by searching your admin settings for “cakeday”
Name Description
cakeday enabled Show cakeday emoji[s] beside the user’s name on the date they joined Discourse
cakeday emoji The emoji[s] that will be shown beside the user’s name on the date that they joined Discourse. Multiple emojis can be specified by: smile
cakeday birthday enabled Show birthday emoji[s] beside the user’s name on their birthday
cakeday birthday emoji The emoji[s] that will be shown beside the user’s name on their birthday. Multiple emojis can be specified by: smile

:discourse2: Hosted by us? This plugin is available on all of our hosting tiers Cakeday | Discourse - Civilized Discussion

Last edited by @mcwumbly 2025-10-04T21:15:57Z

Check documentPerform check on document:
「いいね!」 58

4件の投稿が新しいトピックに分割されました:記念日のみを表示し、誕生日を表示しないようにするには?

投稿が新しいトピックに分割されました:誕生日を迎えた際に自動的にカテゴリに投稿を作成する方法

お知らせですが、ステージングユーザーには誕生日バッジがありますが、誕生日リストには表示されません(通常のユーザーのみ表示されます):slight_smile:

「いいね!」 3

記念日フィールドを(理想的にはCSVファイルをアップロードして)手動で編集することは可能ですか?

私たちの主な問題は、非常に古いプラットフォーム(enjin)からDiscourseにコミュニティを移行したことです。古い参加日を含むほとんどのデータをスクレイピングできましたが、明らかに新しいDiscourseユーザーを作成したとき、「参加日」は実際にはenjinでコミュニティに参加したときと一致しなくなりました。

レールにアクセスできる場合は、これが機能します(ただし、完全に手動です):

UPDATE users SET created_at = '2023-05-03 13:56:41' WHERE username_lower = 'username';

こんにちは、「フォーラム参加記念日」のリストに /cakeday/anniversaries/all?month=3 が表示されません。ほとんどのメンバーがその月に参加したにもかかわらず、何か原因が思い当たりますか?よろしくお願いします。

「いいね!」 1

うーん。:thinking: もしかしたら、今年はまだ誰も記念日を祝っていないということでしょうか?

「いいね!」 2

はい、しかしこのURL(/cakeday/anniversaries/all)は、誕生日ではなく、すべての登録記念日を表示するはずです。
誕生日の場合は、このURLです:/cakeday/birthdays/all

「いいね!」 1

彼らがフォーラムに参加してから1年後にあたる、最初のアニバーサリーが祝われる月に表示されるという意味でした。参加した最初の日が厳密にはアニバーサリーではありません。したがって、この場合「3月」が「2024年3月」であり、彼らが参加した年である場合、まだ誰もアニバーサリーを祝うことはないでしょう。

ただし、コードは見ていないので、これは推測に過ぎない可能性があります。:slight_smile:

「いいね!」 1

「すべて」タブに誤解された可能性があります。

「いいね!」 1

今日のお誕生日と記念日を取得できるAPIや方法はありますか?

「いいね!」 1

はい、

https://meta.discourse.org/cakeday/birthdays/today.json

https://meta.discourse.org/cakeday/anniversaries/today.json

「いいね!」 3

どうもありがとうございます!

「いいね!」 2

リチャード、あなたの助けのおかげで、コンポーネントを作ることができました!

「いいね!」 3

まもなく、このための新しい docker_manager イメージが登場するようですね?

こんにちは、このプラグインは以前インストールしましたが、今日、サイトのどこにもその痕跡が見つかりません…どうしたのでしょうか?:roll_eyes: このプラグインはもうコアに含まれていますか?

「いいね!」 1

このプラグインは、現在 Discourse コアにバンドルされています :partying_face:

「いいね!」 2

登録フォームに「月と日付」の生年月日設定を表示することは可能ですか。それとも、各ユーザーの「設定 → プロフィール」ページにのみ表示されますか。

「いいね!」 1

現時点では不可能だと思います。

「いいね!」 2