The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
YouTube Video Avatars for specified usergroups Details »» | |||||||||||||||||||||||||||
YouTube Video Avatars for specified usergroups
Developer Last Online: Jun 2013
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. Installation Video Instructions 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 here. 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! Show Your Support
|
Comments |
#2
|
||||
|
||||
Friggen awesome idea. Installing now and I'll leave feedback thanks
|
#3
|
|||
|
|||
Let me know how it goes, and if anyone can make this a plugin or product, feel free to.
|
#4
|
||||
|
||||
WOW - very nice!
Thanx for the sharing Jacquii. |
#5
|
|||
|
|||
Thanks! I'm eager to see this working on other peoples forums. If anyone installs this, let me know how the instructions are and maybe a link to your forum. Thanks
|
#6
|
||||
|
||||
Instructions are good - but It's not showing correctly on regular postbit
Of course JPiC postbit is heavily modified - but looking at the code - I'm not sure exactly how to make it show... Test thread at http://jpicforum.info/recycle-bin/te...html#post21003 I also have installed the Staff Badges so Postbit code looks like: Quote:
Jacquii. |
#7
|
||||
|
||||
Anyway - I've taken screenshots in flock and in opera
seems the vid avatar is not aligned with the rest... I'm sure it's a simple html issue - just don't wanna fool with it now... Thanx for the sharing anyway - ALSO will appreciate any help getting it aligned right Jacquii. |
#8
|
|||
|
|||
Quote:
|
#9
|
||||
|
||||
IT says updated but what was updated? I can't get it to work at all
|
#10
|
||||
|
||||
yes! it worked perfectly!! i love it....!!! i love it a lot... i think the only problem will be something out the hands of the coder of this wonderful hack.....
when the publisher of the youtube video decides to pull the vid... you have to go hunt for another.... but this is an awesome addition and option for forum members to have and better express their personalities..... thanks for the work... |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|