# カスタムユーザーフィールドの説明の最大長

**URL:** https://meta.discourse.org/t/max-length-of-custom-user-field-descriptions/168154
**Category:** Feature
**Created:** [2020 年 10 月 24 日午後 6:38 UTC](https://meta.discourse.org/t/max-length-of-custom-user-field-descriptions/168154 "2020-10-24T18:38:54Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![paulrudy](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/paulrudy/32/259901_2.png) [@paulrudy](https://meta.discourse.org/u/paulrudy)
#### Post date: [2020 年 10 月 24 日午後 6:38 UTC](https://meta.discourse.org/t/max-length-of-custom-user-field-descriptions/168154/1 "2020-10-24T18:38:54Z")

</div>

カスタムユーザーフィールドに、許可されている最大値よりも少し長い説明を含めたいと考えています。プラグインを作成せずに这可能でしょうか？

---

<div class="post-metadata">

### Author: ![ondrej](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ondrej/32/198804_2.png) [@ondrej](https://meta.discourse.org/u/ondrej)
#### Post date: [2020 年 10 月 24 日午後 7:07 UTC](https://meta.discourse.org/t/max-length-of-custom-user-field-descriptions/168154/2 "2020-10-24T19:07:06Z")

</div>

こんにちは、

カスタムフィールドの最大文字数を変更できないと思われるため、このプラグインが役立つと思います。

> [@Custom Wizard Plugin mage](https://meta.discourse.org/t/custom-wizard-plugin/73345):
>
> pavilionSummary Forms for Discourse. This plugin lets you make rich and powerful forms for your Discourse forum. Better user onboarding, structured posting, data enrichment, automated actions and much more for your community.hammer_and_wrenchRepository Link [https://github.com/paviliondev/discourse-custom-wizard](https://github.com/paviliondev/discourse-custom-wizard)open_bookInstall Guide [How to install plugins in Discourse](https://meta.discourse.org/t/install-plugins-in-discourse/19157)people_huggingCommunity Community based support and discussions about this plugin are hosted on th…

---

<div class="post-metadata">

### Author: ![paulrudy](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/paulrudy/32/259901_2.png) [@paulrudy](https://meta.discourse.org/u/paulrudy)
#### Post date: [2020 年 10 月 25 日午前 12:56 UTC](https://meta.discourse.org/t/max-length-of-custom-user-field-descriptions/168154/3 "2020-10-25T00:56:46Z")

</div>

こんにちは、ご提案ありがとうございます。私の場合、Discourse は新規ユーザーの登録にスタッフの承認を必須とする設定になっています。Custom Wizard プラグインが、登録後かつユーザー承認前にウィザードを表示できるかどうかは確信が持てません。このプラグインについて詳しいご存知でしょうか？可能かどうかお答えいただけますか？

---

<div class="post-metadata">

### Author: ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)
#### Post date: [2020 年 10 月 25 日午後 11:52 UTC](https://meta.discourse.org/t/max-length-of-custom-user-field-descriptions/168154/4 "2020-10-25T23:52:48Z")

</div>

> [@paulrudy](#):
>
> カスタムウィザードプラグインは、サインアップ後かつユーザーが承認される前にウィザードを表示できるかどうかはわかりません。それについてご存知でしょうか？

残念ながら、カスタムウィザードプラグインは現在この機能を提供していません。

しかし、カスタムウィザードプラグインへの言及は感謝しますが、あなたのケースではオーバースペックだと思います。そこで、あなたが求めていることを実現する小さなテーマコンポーネントを作成しました。

> **[GitHub - paviliondev/extended-custom-field-description](https://github.com/paviliondev/extended-custom-field-description)**
>
> Contribute to paviliondev/extended-custom-field-description development by creating an account on GitHub.

コンポーネントの設定に、カスタムフィールド名と長い説明をカンマ区切りで入力するだけです。これで完璧です。

 ![Screen Shot 2020-10-26 at 10.48.53 AM](https://global.discourse-cdn.com/meta/original/3X/2/e/2e0f0f2374dbec0159efe12cd5cdd69da5e3660c.png)  
 ![Screen Shot 2020-10-26 at 10.48.43 AM](https://global.discourse-cdn.com/meta/original/3X/6/8/68f2b57ff5a513ee3e9e27d9c2db1dc495cb6f74.png)

---

<div class="post-metadata">

### Author: ![paulrudy](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/paulrudy/32/259901_2.png) [@paulrudy](https://meta.discourse.org/u/paulrudy)
#### Post date: [2020 年 10 月 26 日午前 12:47 UTC](https://meta.discourse.org/t/max-length-of-custom-user-field-descriptions/168154/5 "2020-10-26T00:47:08Z")

</div>

> [@angus](#):
>
> お求めの機能を実現する、小さなテーマコンポーネントを作成しました。

わあ！これは素晴らしいです。本当にありがとうございます！これが私だけでなく、多くの管理者の方にも役立つことを願っています。

追記：カスタムフィールドが表示されていないようです。テーマに対してコンポーネントを有効にし、フィールドを追加しましたが、サインアップページにもユーザープロフィールにも何も表示されません。再構築を行う必要があるでしょうか？

---

<div class="post-metadata">

### Author: ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)
#### Post date: [2020 年 10 月 26 日午前 2:19 UTC](https://meta.discourse.org/t/max-length-of-custom-user-field-descriptions/168154/6 "2020-10-26T02:19:31Z")

</div>

カスタムフィールドの名前は何ですか？スペースが含まれていますか？

---

<div class="post-metadata">

### Author: ![paulrudy](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/paulrudy/32/259901_2.png) [@paulrudy](https://meta.discourse.org/u/paulrudy)
#### Post date: [2020 年 10 月 26 日午前 3:02 UTC](https://meta.discourse.org/t/max-length-of-custom-user-field-descriptions/168154/7 "2020-10-26T03:02:45Z")

</div>

「カスタムフィールドの説明」には `field1, foo bar` と入力されています。

---

<div class="post-metadata">

### Author: ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)
#### Post date: [2020 年 10 月 26 日午前 3:07 UTC](https://meta.discourse.org/t/max-length-of-custom-user-field-descriptions/168154/8 "2020-10-26T03:07:54Z")

</div>

おそらく、設定に問題があるのだと思います。その値で正常に動作するコンポーネントの例はこちらです：[https://try.thepavilion.io/。再ビルドは不要です。](https://try.thepavilion.io/%E3%80%82%E5%86%8D%E3%83%93%E3%83%AB%E3%83%89%E3%81%AF%E4%B8%8D%E8%A6%81%E3%81%A7%E3%81%99%E3%80%82)

 ![Screenshot at Oct 26 14-05-43](https://global.discourse-cdn.com/meta/original/3X/a/e/ae70cfca7eb8c2d435796196141b3f90932ebe74.jpeg) ![Screenshot at Oct 26 14-06-04](https://global.discourse-cdn.com/meta/original/3X/1/7/17cf96e10f2cce409906e5d6578d182548af6d8b.jpeg)  
 ![Screenshot at Oct 26 14-06-22](https://global.discourse-cdn.com/meta/original/3X/6/4/64b0b6a3f7cdc83716be13875fe82c60096d1808.jpeg)

---

<div class="post-metadata">

### Author: ![paulrudy](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/paulrudy/32/259901_2.png) [@paulrudy](https://meta.discourse.org/u/paulrudy)
#### Post date: [2020 年 10 月 26 日午後 6:33 UTC](https://meta.discourse.org/t/max-length-of-custom-user-field-descriptions/168154/9 "2020-10-26T18:33:49Z")

</div>

ふむ、それは奇妙ですね。トラブルシューティングの方法がわかりません。探して何か見つかるか見てみます。
