-
☆ A M B ☆
- 24,524 Posts
You could use a plugin and the OnUserFormPrerender or the OnUserFormRender event.
You might look ClassExtender, which will let you easily customize that page and save any extra fields to a custom table in the DB. It also provides an addition to the UpdateProfile snippet (part of the Login package) that lets users update the Profile and the custom fields in the front end, which is generally safer. It won't show them the sudo checkbox, for example.
Wait for the new version of ClassExtender (2.0), though. I hope to have it out in the next day or two. The upgrade path is not very smooth, so it's better if you do a clean install of 2.0.
Suzan, thank you for your help, but i was searching for an easy way to detect manager's user profile page, not the user form.
Bob, thank you for your halp, i will consider using it.
What I did was a plugin for "OnManagerPageInit", then i was parsing the URL and accordingly do what I wanted. Just my solution sounds very ugly. So I had to ask the experts (above responders)
Thank you again.