# Custom fields added by plugins - when would they be visible?

**URL:** https://meta.discourse.org/t/custom-fields-added-by-plugins-when-would-they-be-visible/26598
**Category:** Development
**Created:** [3월 21, 2015, 4:34오전 UTC](https://meta.discourse.org/t/custom-fields-added-by-plugins-when-would-they-be-visible/26598 "2015-03-21T04:34:39Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![watchmanmonitor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/watchmanmonitor/32/430970_2.png) [@watchmanmonitor](https://meta.discourse.org/u/watchmanmonitor)
#### Post date: [3월 21, 2015, 4:34오전 UTC](https://meta.discourse.org/t/custom-fields-added-by-plugins-when-would-they-be-visible/26598/1 "2015-03-21T04:34:39Z")

</div>

Continuing the discussion from [Adding and editing user custom fields](https://meta.discourse.org/t/adding-and-editing-user-custom-fields/26498/8):

> [@Adding and editing user custom fields](https://meta.discourse.org/t/adding-and-editing-user-custom-fields/26498/8):
>
> Note that there can be other custom fields added by plugins, and they might have a strict structure, which I think is why this hasn’t been done. For the “private notes on a user” plugin, it wouldn’t exactly do to expose your ‘private’ notes to the moderators when they went to a user’s page.

Would these fields even show up on user / admin pages I would have assumed it would only be the `user_field_X` which are added via the site/customize…

I ask, because I’ve created a field called “subdomain” in the database directly, and it’s no where to be seen in the GUI (which is as I expect)

---

<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: [3월 21, 2015, 4:42오전 UTC](https://meta.discourse.org/t/custom-fields-added-by-plugins-when-would-they-be-visible/26598/2 "2015-03-21T04:42:22Z")

</div>

Never, unless the plugin also adds UI for it.

---

<div class="post-metadata">

### Author: ![watchmanmonitor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/watchmanmonitor/32/430970_2.png) [@watchmanmonitor](https://meta.discourse.org/u/watchmanmonitor)
#### Post date: [3월 21, 2015, 5:29오전 UTC](https://meta.discourse.org/t/custom-fields-added-by-plugins-when-would-they-be-visible/26598/3 "2015-03-21T05:29:19Z")

</div>

Good. So this isn’t a factor in what I’m ~~whining~~ asking for [here](https://meta.discourse.org/t/consolidating-user-fields-editing-between-admin-preferences-and-show-public-profile/26404/2)

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [8월 24, 2015, 6:54오전 UTC](https://meta.discourse.org/t/custom-fields-added-by-plugins-when-would-they-be-visible/26598/4 "2015-08-24T06:54:55Z")

</div>

I ran into this problem and wasn’t sure if there was a better way to expose it under User’s preferences.

> <https://github.com/discourse/discourse-cakeday/blob/14c902199a236026c3c67a3f99027fe063226363/plugin.rb#L11-L31>

Any thoughts?

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [8월 27, 2015, 2:07오전 UTC](https://meta.discourse.org/t/custom-fields-added-by-plugins-when-would-they-be-visible/26598/5 "2015-08-27T02:07:41Z")

</div>

@sam Could I get your thoughts on the above? Thanks 😄

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [3월 1, 2017, 2:32오후 UTC](https://meta.discourse.org/t/custom-fields-added-by-plugins-when-would-they-be-visible/26598/6 "2017-03-01T14:32:11Z")

</div>

Well … any update on what ended up happening here 😉

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [4월 3, 2017, 2:13오전 UTC](https://meta.discourse.org/t/custom-fields-added-by-plugins-when-would-they-be-visible/26598/7 "2017-04-03T02:13:49Z")

</div>

I ended up using a plugin outlet here. From what I know, we still don’t have a clean way for plugins to expose custom fields on the user preferences page.

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [3월 18, 2018, 11:39오전 UTC](https://meta.discourse.org/t/custom-fields-added-by-plugins-when-would-they-be-visible/26598/8 "2018-03-18T11:39:05Z")

</div>

> [@tgxworld](#):
>
> I ended up using a plugin outlet here. From what I know, we still don’t have a clean way for plugins to expose custom fields on the user preferences page.

I’m trying to do the same … what would be a cleaner way?
