How to Configure "User" page
auxone - January 10, 2009 - 17:30
How does one alter the Users page?
I'd like to remove some of the options users are allowed to select from both the View and Edit tabs. Things like 'Block configuration', 'Email settings', and 'Order History' (from my ecommerce mod). Also, I'd like to slim down the selections available for 'local settings' and change the text on the pulldown. (It's confusing to users)
As a bonus, I'd also like to add fields via the Profile module but have it show up under 'Account Settings' and not it's own sub-section.
Is there an easy way to do all this?
Thanks in advance.

'Easy' is a relative term,
'Easy' is a relative term, but it's definitely possible. You can use http://drupal.org/project/myaccount_alter for the default account page sections. For the profile pieces see Customising the user profile layout.
For changing the options in the locale drop down, you'd probably have to use hook_form_alter on the user_profile_form.
I'm not sure about getting the profile fields on the 'my account' part of the page, but i would think you'd have to use hook_user with the 'view' operation to create what you'd like to display.
===
"Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime." - Lao Tzu
"God helps those who help themselves." - Ben Franklin
"Search is your best friend." - Worldfallz