YouTube Video Avatars for specified usergroups
This modification is in the archives.
Hello, what this mod does is allows users to have a "Video Avatar" if they are a member of the usergroup you specify.
Installation instructions are attached. See screen shots below to get an idea of what it looks like. UPDATE! I recorded a video of me installing it on a blank board. The video should help anyone having trouble. There are a couple extra things like me closing my password manager that you should ignore, but the video will show you what to do. http://www.4x4mecca.com/misc/YouTubeAvatars.htm You can change the height and width of the video by changing the attributes in the code. It requires one template edit, 2 if you use both postbit styles. It requires one profile field. I am new to the modding still, and my instructions here aren't great, but you can see it in action http://www.4x4mecca.com/forum/hang-out/2607-one-more-wall.html#post19789. UPDATE! To Display them in your user profiles open the memberinfo template find Code:
<if condition="$show['avatar']"> <td><img src="$userinfo[avatarurl]" $userinfo[avatarsize] alt="<phrase 1="$userinfo[username]">$vbphrase[xs_avatar]</phrase>" border="0" style="border:1px solid $stylevar[tborder_bgcolor]; border-top:none" /></td> <else /> <td> </td> </if> Code:
<if condition="in_array($post['usergroupid'], array(5,6,7,12,14)) AND $post[fieldXX]"> <td> <object width="150" height="123.5"><param name="movie" value="http://www.youtube.com/v/$post[fieldXX]"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/$post[fieldXX]" type="application/x-shockwave-flash" wmode="transparent" width="150" height="123.5"></embed></object> </td> <else /> <if condition="$show['avatar']"> <td><img src="$userinfo[avatarurl]" $userinfo[avatarsize] alt="<phrase 1="$userinfo[username]">$vbphrase[xs_avatar]</phrase>" border="0" style="border:1px solid $stylevar[tborder_bgcolor]; border-top:none" /></td> <else /> <td> </td> </if> </if> </if> Click installed! Nominate for MOTM! Download
This modification is archived, downloads are still allowed. Screenshots |