I have been able to get the profile photo working in a popup, so that it works during the edit compontent of buddypress. I would now like to hide the Change Profile Photo link when viewing the profile, and make it visible when editing.
I have made a change to when the change-avatar action is allowed to run, and basically don’t want users actually getting to that page. When on the edit page, I have it loading via a popup that allows it to appear to be inline with the rest of the edit profile details.
Am I using a hook that is dependent on the action edit?