-
Notifications
You must be signed in to change notification settings - Fork 158
User Profiles
User profiles in Dolphin U are very different from Dolphin Classic. One member account can have many profiles of different types, for example one person profile (John Doe) and one organization profile (John & Co). Member can switch between them depending on desired actions on the site. All content posted on the site is posted under current profile of the member.
By default there are two profile based modules (Persons and Organizations), but actually there is build in Account profile, this Account Profile has no separate page and associated image, so we disabled some function for it, for example it is impossible to switch to this profile in profile switcher page.
Module developers should aware that one account can have different profiles and always use current profile id to assign as author of the content, there is build-in function for it:
bx_get_logged_profile_id ()
Usually there is no need to get account id (which can be associated with multiple profiles), unless some very custom behaviour, so please avoid using getLoggedId()
function.
IMPORTANT NOTE: documentation was moved here - https://una.io/wiki/Introduction