• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.3 Youtube in profil page

Brogan

XenForo moderator
Staff member
#9
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.
 

Lexy

Active member
#13
also i remove double entry from attach still not works what i need add inside custom field some iframe video code or what??