Continuing the discussion from Adding and editing user custom fields :
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)
Never, unless the plugin also adds UI for it.
1 Like
Good. So this isn’t a factor in what I’m whining asking for here
tgxworld
(Alan Tan)
August 24, 2015, 6:54am
4
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/tgxworld/discourse-cakeday/blob/14c902199a236026c3c67a3f99027fe063226363/plugin.rb#L11-L31
Any thoughts?
tgxworld
(Alan Tan)
August 27, 2015, 2:07am
5
@sam Could I get your thoughts on the above? Thanks
sam
(Sam Saffron)
March 1, 2017, 2:32pm
6
Well … any update on what ended up happening here
tgxworld
(Alan Tan)
April 3, 2017, 2:13am
7
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.
4 Likes
I’m trying to do the same … what would be a cleaner way?