[RELEASE] Youtube on profile vb4
hi guys
On vb.org there are some releases like for vb3 and Vb4, but for me, no one seem to work, it was also necessary to create many user fields. Considering that no product meets my needs, i haven't thought of an alternative using only 2 user fields; there monster as First step Make 2 new field: .first field title: YouTube ID Desription: Put your YouTube ID here. (Ex: Put KuyJkrAL9H4 NOT https://www.youtube.com/watch=) Private Field: yes Last 2 option: no .second field title: YouTube Title Desription: Put your YouTube Title here. (title show up ur video) Private Field: yes Last 2 option: no Now... go in acp > style and template > find memberinfo template> You can choose to place your player where you want to, by inserting the code under albums, groups etc. Code:
{vb:raw template_hook.profile_sidebar_first} {vb:raw blocks.stats_mini} {vb:raw template_hook.profile_sidebar_stats} {vb:raw blocks.friends_mini} {vb:raw template_hook.profile_sidebar_friends} {vb:raw blocks.albums} {vb:raw template_hook.profile_sidebar_albums} {vb:raw blocks.groups} {vb:raw template_hook.profile_sidebar_groups} {vb:raw blocks.visitors} {vb:raw template_hook.profile_sidebar_last} Code:
<vb:if condition="$userinfo['fieldfirst']"> <div class="friends_mini friends block"> <h5 class="blocksubhead userprof_blocksubhead smaller ">{vb:raw userinfo.fieldsecond}</h5> <div class="blockbody userprof_content userprof_content_border"> <div class="blockrow member_blockrow"> <iframe width="214" height="200" src="http://www.youtube.com/embed/{vb:raw userinfo.fieldfirst}?rel=0&feature&hl=en_US&fs&autoplay=1&rel=0;showinfo=0;controls=0; rel=0&color1=0xFFFFFF&color2=0xFFFFFF&autoplay=1" type="application/x-shockwave-flash"></iframe> </div> </div> </div> </vb:if> enjoy Demo http://pwnedh4x0rz.com/members/1-luis/ thx asterix and cionfs for support c0de! Download No files for download. |
Similar Mods
Miscellaneous Hacks [vb4] Youtube Player - NEW skin v.3 | vBulletin 4.x Template Modifications |