Is there a solution already where we can add a field to store the user id of the logged in user editing a profile?
Usually this will be the same as the user_id already stored in the jos_comprofiler except when it is an administrator editing someone else's profile - and this value is what we are after.