Could anyone point me at the file(s) I need to edit in order to change the 'User tools' dropdown menu on user pages?
E.g. at /users/X/username/, there's a dropdown (when viewing your own profile) containing 'edit profile', 'authentication settings', etc.
I'd like to remove one link, insert another, and change where another links to.
Answer by suicas · Mar 16, 2011 at 09:10 AM
After some digging, it seems that this can be done by editing forum/registry.py.
There's an entry which looks like:
ui.register( ui.USER_MENU, ui.UserMenuItem(...), ui.UserMenuItem(...), ...)
ui.UserMenuItem adds an item in the menu.