XF 1.3 Youtube in profil page

Create a custom user field with a field ID of profile_youtube.
Add this to the ad_member_view_below_avatar template.

Code:
<xen:hook name="ad_member_view_below_avatar" />

<xen:if is="{$user.customFields.profile_youtube}">
    <div style="margin-top: 4px; margin-bottom: -5px;">
        <iframe width="246" height="172" src="http://www.youtube.com/embed/{$user.customFields.profile_youtube}?wmode=opaque" frameborder="0" allowfullscreen></iframe>
    </div>
</xen:if>

Change the code to suit your style and sidebar width.
 
Top Bottom