The Profile Display can be used to display the profile and various Active Social properties for a particular user. In order for the Profile Display control to render properly it must have the ProfileId property specified. When using the Profile Display control within another module you must declare the control in the .ascx file for the module as follows:
<%@ Register TagPrefix="active" Namespace="Active.Modules.Social.Controls" Assembly="Active.Modules.Social" %>
Once the control is properly registered you will be able to use the control within the ascx or template file. The example below will display the user's profile picture, display name and link to profile page.
<active:profiledisplay profileid="2" runat="server">
<profiletemplate>
<a href="[AS:PROFILE:USERURL]"><img alt="" title="[AS:PROFILE:DISPLAYNAME]" src="[AS:HANDLER:PROFILEPIC]?PortalId=[AS:PORTALSETTINGS:PORTALID]&uid=[AS:PROFILE:USERID]&h=48&w=48" style="border-width: 0px; border-style: solid;" /><br />
[AS:PROFILE:DISPLAYNAME]</a>
</profiletemplate>
</active:profiledisplay>