[wp-meta] [Making WordPress.org] #1950: Add support for custom titles on support forums
Making WordPress.org
noreply at wordpress.org
Tue Sep 27 20:54:55 UTC 2016
#1950: Add support for custom titles on support forums
------------------------------+--------------------------
Reporter: SergeyBiryukov | Owner: coffee2code
Type: defect | Status: closed
Priority: normal | Milestone:
Component: Support Forums | Resolution: fixed
Keywords: has-patch commit |
------------------------------+--------------------------
Comment (by coffee2code):
I applied [attachment:meta-1950.patch] as the current approach for this.
However, `bbp_displayed_user_field()` doesn't reliably show the custom
title, so I had to get it more directly via `get_user_option()`. I haven't
investigated this too much yet.
@netweb: I like the simplicity of leveraging
`wp_get_user_contact_methods()` for adding and handling the field for the
custom title from your patch, but it's unsemantic as the custom title
isn't a contact method. Maybe if there was an identical but generic way
for dealing with additional user fields?
I also agree with @SergeyBiryukov in that the custom title shouldn't fall
under "Contact Info", though "Name" isn't a perfect fit either.
After #1972, "Contact Info" will be left having only "Website" as a field,
so further reorganization of the profile edit form may be warranted
eventually.
Replying to [comment:10 netweb]:
> We can copy the `form-user-edit.php` template to the `wporg-forums`
theme, moving this up to the "Name" section, it would also serve as a very
quick way to add support for "moderator notes" to be added to user
profiles in the same section.
Please propose this in a separate ticket if you still want to explore it.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/1950#comment:13>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list