Hi,
The MemberProfileUrl can be obtained in transformations using method
GetMemberProfileUrl(object memberNameObj, string siteName)
or directly using ModuleCommands construction:
URLHelper.ResolveUrl(CMSContext.GetUrl(ModuleCommands.CommunityGetMemberProfilePath(memberName, siteName)))
The AvatarImage can be obtained in the transformation method
public string GetUserAvatarImageForUser(object userID, int maxSideSize, int width, int height, object alt)
which returns avatar image tag and if avatar is not defined returns gender depend avatar or user default avatar if is defined.
If you would specify where exactly do you want to obtain those URLs, we could find the most suitable method.
Regards,
Zdenek