[wp-trac] [WordPress Trac] #12295: More support to customize user profile edit page
WordPress Trac
wp-trac at lists.automattic.com
Tue Feb 23 16:13:37 UTC 2010
#12295: More support to customize user profile edit page
----------------------------+-----------------------------------------------
Reporter: pampfelimetten | Owner: nacin
Type: enhancement | Status: reviewing
Priority: normal | Milestone: 3.0
Component: Users | Version:
Severity: major | Keywords: has-patch, needs-testing
----------------------------+-----------------------------------------------
Changes (by pampfelimetten):
* keywords: wp-admin, user profile, cms, edit => has-patch, needs-
testing
* owner: => nacin
* status: new => reviewing
Comment:
After wds-brad2 suggested to write a css based patch, here it is.
I'm no expert with the backend-styles, so please give me a hint, if I have
used a wrong naming scheme.
Code works fine for me, with the following test-css you can hide and
unhide every single option:
{{{
#form-table-personal-options-title,
#form-table-personal-options-admin-color-scheme,
#form-table-personal-options-visual-editor,
#form-table-personal-options-keyboard-shortcuts,
#form-table-name-title,
#form-table-name-user-login,
#form-table-name-first-name,
#form-table-name-last-name,
#form-table-name-nickname,
#form-table-name-display-name,
#form-table-contact-info-title,
#form-table-contact-info-email,
#form-table-contact-info-url,
#form-table-about-yourself-title,
#form-table-about-yourself-description
{
display:none !important;
}
}}}
With the following test-css you can hide each section:
{{{
#form-table-personal-options,
#form-table-name,
#form-table-contact-info,
#form-table-about-yourself,
#form-table-caps
{
display:none !important;
}
}}}
The password table row already got an ID, so I didn't touch it.
Feedback very welcome!
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12295#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list