![]() |
YouTube Video Avatars for specified usergroups
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']"> Code:
<if condition="in_array($post['usergroupid'], array(5,6,7,12,14)) AND $post[fieldXX]"> Click installed! Nominate for MOTM! |
Friggen awesome idea. Installing now and I'll leave feedback thanks
|
Let me know how it goes, and if anyone can make this a plugin or product, feel free to.
|
WOW - very nice!
Thanx for the sharing ;) Jacquii. |
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 :)
|
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. |
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. |
Quote:
|
IT says updated but what was updated? I can't get it to work at all
|
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... |
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.
|
gorgeous:P
I will install it right now ty for sharing this good idea/work |
Anyone here?
|
Did you see my reply. I asked you to post your postbit template.
|
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:
|
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 |
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 |
AMAZING :D thank you so much
|
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... |
nvm, got it
|
Thanks Jacquii, I'll work on that today or tomorrow, I have family in town, so I'm pretty busy.
|
Dave, what are you making the video avatar user groups for. I mean what decides who gets put in it. If it's something like length of time or posts, I could probably work something. I don't user secondary user groups so I'm not sure how they work.
|
Quote:
i made a video avatar usergroup and added it to me as a aditional user group but this didnt work(see Screen Shot) would i have to make up another user group for video avatars enabled for each group i want it to be effective on eg 1 for admin 1 for moderators 1 for registered users or could i do it using this method with alterations in the template change?? i hope this is clear as i love this mod and want to restrict the use to people in the video avatars group only hope u understand and can achieve this thanks for the help dave |
better screen shot for u
|
Thanks dave, I understand what 2ndary user groups are, i just didn't get how you were going to choose who went in there. I will see if I can do it that way.. keep an eye on this thread.
|
this is my working version.... see what you can do with this..
|
Quote:
Quote:
Quote:
Where 9 is the additional usergroup ID and 6 is your field number. That will work :) |
jacquii, let me know if this works.
replace this Quote:
with this Quote:
|
Quote:
**tipoboy clicks nominate** |
great mod installed with no problems.
I have one question though... Is there a way to restrict Video Avatars to only users with a certain number of post or greater? Example: User1 reaches 100 post then Video Avatars show. User2 with less than 100 post his video avatar does not show. Let me know if this is possible? Thanks. |
couldnt you do this with usergroups??
add a new promotion and set it so that after the user posts 100 times then they're upgraded to a new usergroup then edit the template postbit + postbit_legacy see here https://vborg.vbsupport.ru/showpost....2&postcount=27 |
Thanks tipoboy that worked perfect!
|
followed the directions, but the video is not showing in postbit. I just get a blank area.
|
Quote:
did you type in just the end part of the youtube address in the profile fied of your forum not the whole address to the video? for example if the address is: http://www.youtube.com/watch?v=XVT8rhtlj6w only enter XVT8rhtlj6w if you've done all this and still doesnt work then follow the instructions given again it took me 3 attempts to get it working lol |
i got it thanks... i edited only postbit and not legacy
|
TO 4X4 MECCA:
is there any way of allowing this to show in all instances of your avatar and not just the postbit and postbit_legacy? also is there any way of putting the video avatar selection box in to the "profile.php?do=editavatar" section of the usercp?? this would be great if it could be done thanks dave |
Thanks for this mod Mecca, you can see your mod being used on my forum here:
http://www.areyouserios.com/new-feat...09.html?t=1709 I second the Edit Avatar UserCP idea |
I'm new to installing mods, in fact this my second. I put both sets of code in both postbit and postbit_legacy, edited the FieldXX... I'm not getting the option in my User CP.
Only used the last part of the video URL after the "=" I don't know what I'm doing wrong. :( |
it should be right t the bottom of the profile editor page
if its not there double check that you created the new profile field correctly. if this is all done and still doesnt work post back here:) |
I got it to work. Thank you. Looks awesome.
Just a few things. The avatar isn't centered. It's fine if you have a YouTube video, but my user's avatar are left-aligned. It looks like crap. Anyway to fix that? And its not viewable in your profile or the homepage, only in threads. Not that big of a deal. |
All times are GMT. The time now is 02:32 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|