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 |
#12
|
|||
|
|||
Glad it works for you TheBlackPoet. If the people who are having trouble could post their postbit file, I can see why it's not working.
|
#13
|
||||
|
||||
gorgeous:P
I will install it right now ty for sharing this good idea/work |
#14
|
||||
|
||||
Anyone here?
|
#15
|
|||
|
|||
Did you see my reply. I asked you to post your postbit template.
|
#16
|
||||
|
||||
Postbit below 4x4 Mecca - thanx very much
Question: Would make a difference in the code if you have default avatar selected to show? Thanx again - Jacquii. Quote:
|
#17
|
||||
|
||||
i got it working thanks for a great mod!!
1 problem i change the array values for a custom usergroup called video avatars (field 13) i only want this usergroup to have video avatars. the problem i get is when i add myself as a secondary user to that group the video avatar doesnt work is there some special priviledges you need to use when making the usergroup?? i just based it on the registered users group!! do you follow what i am saying? your help would be appreciated dave |
#18
|
||||
|
||||
also any way of making the video avatars show on all the sections where the avatar's arefo example vbadvanced ortal user cp etc etc
so if you are in the usergroup for video avatars all instances of your avatar become the video avatar not just the postbit/postbit_legacy thanks again dave |
#19
|
||||
|
||||
AMAZING thank you so much
|
#20
|
|||
|
|||
am i the only one who cant get it to work?
I did what the instructions said, editted both postbit's and made the extra profile field, but i dont see it in my UserCP -> edit options or edit avatar... |
#21
|
|||
|
|||
nvm, got it
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|