Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
YouTube Video Avatars for specified usergroups Details »
YouTube Video Avatars for specified usergroups
Mod Version: 1.00, by 4x4 Mecca (Member) 4x4 Mecca is offline
Developer Last Online: Jun 2013 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.4 Rating: (5 votes - 5.00 average) Installs: 99
Released: 25 Jun 2007 Last Update: 25 Jun 2007 Downloads: 658
Not Supported Template Edits Is in Beta Stage  

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

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace with

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Be sure you replace all fieldXX with your actual field number!

Click installed!
Nominate for MOTM!

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	YouTube Avatar 1.jpg
Views:	1799
Size:	28.1 KB
ID:	66073   Click image for larger version

Name:	YouTube Avatar 2.jpg
Views:	612
Size:	32.0 KB
ID:	66074   Click image for larger version

Name:	YouTube Avatar 3.jpg
Views:	554
Size:	69.2 KB
ID:	66075   Click image for larger version

Name:	YouTube Avatar 4.jpg
Views:	371
Size:	41.6 KB
ID:	66076  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #16  
Old 26 Jun 2007, 11:30
tipoboy's Avatar
tipoboy tipoboy is offline
 
Join Date: Dec 2005
Real name: scotty
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
__________________
Available for help just PM details!
Reply With Quote
  #17  
Old 26 Jun 2007, 12:05
tipoboy's Avatar
tipoboy tipoboy is offline
 
Join Date: Dec 2005
Real name: scotty
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
__________________
Available for help just PM details!
Reply With Quote
  #18  
Old 26 Jun 2007, 12:16
Rickeo's Avatar
Rickeo Rickeo is offline
 
Join Date: Jan 2007
Real name: Richard
AMAZING thank you so much
Reply With Quote
  #19  
Old 26 Jun 2007, 12:19
GuaRRand's Avatar
GuaRRand GuaRRand is offline
 
Join Date: Oct 2005
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...
Reply With Quote
  #20  
Old 26 Jun 2007, 12:23
GuaRRand's Avatar
GuaRRand GuaRRand is offline
 
Join Date: Oct 2005
nvm, got it
Reply With Quote
  #21  
Old 26 Jun 2007, 18:19
4x4 Mecca 4x4 Mecca is offline
 
Join Date: Feb 2007
Thanks Jacquii, I'll work on that today or tomorrow, I have family in town, so I'm pretty busy.
Reply With Quote
  #22  
Old 26 Jun 2007, 18:24
4x4 Mecca 4x4 Mecca is offline
 
Join Date: Feb 2007
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.
Reply With Quote
  #23  
Old 26 Jun 2007, 22:20
tipoboy's Avatar
tipoboy tipoboy is offline
 
Join Date: Dec 2005
Real name: scotty
Originally Posted by 4x4 Mecca View Post
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.
in your user manager there is an option to allow additional usergroups

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
Attached Images
File Type: jpg screen.jpg (59.8 KB, 47 views)
__________________
Available for help just PM details!

Last edited by tipoboy; 26 Jun 2007 at 22:21. Reason: had to upload screen shot
Reply With Quote
  #24  
Old 26 Jun 2007, 22:25
tipoboy's Avatar
tipoboy tipoboy is offline
 
Join Date: Dec 2005
Real name: scotty
better screen shot for u
Attached Images
File Type: jpg screen.jpg (61.2 KB, 39 views)
__________________
Available for help just PM details!
Reply With Quote
  #25  
Old 26 Jun 2007, 23:38
4x4 Mecca 4x4 Mecca is offline
 
Join Date: Feb 2007
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.
Reply With Quote
  #26  
Old 26 Jun 2007, 23:55
TheBlackPoet's Avatar
TheBlackPoet TheBlackPoet is offline
 
Join Date: May 2006
Real name: Malik Ali Shabbazz
a working version template

this is my working version.... see what you can do with this..
Attached Files
File Type: txt New Text Document (2).txt (27.7 KB, 35 views)
Reply With Quote
  #27  
Old 27 Jun 2007, 00:29
4x4 Mecca 4x4 Mecca is offline
 
Join Date: Feb 2007
Originally Posted by tipoboy View Post
better screen shot for u
Dave, change
<if condition="in_array($post['usergroupid'], array(5,6,7,12,14)) AND $post[field54]">
to

<if condition="$post['membergroupids'] == 9 AND $post[field6]">

Where 9 is the additional usergroup ID and 6 is your field number. That will work
Reply With Quote
  #28  
Old 27 Jun 2007, 00:39
4x4 Mecca 4x4 Mecca is offline
 
Join Date: Feb 2007
jacquii, let me know if this works.

replace this
<!-- user info -->
<table cellpadding="0" cellspacing="$stylevar[cellpadding]" border="0" width="100%">
<tr>
<if condition="$show['avatar']">
<!-- check for staff -->
<if condition="in_array($post[usergroupid], array(5,6,7))">
<!-- I am staff so do this -->
<td class="alt2">

<table cellpadding="4" cellspacing="0" border="0" width="190" height="120" align="center" background="images/$post[username]_avatar.gif" nowrap="nowrap" no-repeat>
<tr>
<td width="46%">&nbsp;</td>
<td><img src="$post[avatarurl]" height="70" width="70" align="center"></td>
</tr>
</table>
</td>
<else />
<!-- I am not staff so do this -->
<td class="alt2">
<a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a>
</td>
</if>
</if>

with this

<!-- user info -->
<table cellpadding="0" cellspacing="$stylevar[cellpadding]" border="0" width="100%">
<tr>
<if condition="in_array($post['usergroupid'], array(5,6,7,12,14)) AND $post[fieldXX]">
<div class="smallfont">
<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>
</div>
<else />
<if condition="$show['avatar']">
<!-- check for staff -->
<if condition="in_array($post[usergroupid], array(5,6,7))">
<!-- I am staff so do this -->
<td class="alt2">

<table cellpadding="4" cellspacing="0" border="0" width="190" height="120" align="center" background="images/$post[username]_avatar.gif" nowrap="nowrap" no-repeat>
<tr>
<td width="46%">&nbsp;</td>
<td><img src="$post[avatarurl]" height="70" width="70" align="center"></td>
</tr>
</table>
</td>
<else />
<!-- I am not staff so do this -->
<td class="alt2">
<a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a>
</td>
</if>
</if>
</if>
but edit the field number and user groups to match your site.
Reply With Quote
  #29  
Old 27 Jun 2007, 14:46
tipoboy's Avatar
tipoboy tipoboy is offline
 
Join Date: Dec 2005
Real name: scotty
Originally Posted by 4x4 Mecca View Post
Dave, change


to




Where 9 is the additional usergroup ID and 6 is your field number. That will work
worked a treat thanks muchly for the quick help and reply!!!!!!!!!!

**tipoboy clicks nominate**
__________________
Available for help just PM details!
Reply With Quote
  #30  
Old 27 Jun 2007, 15:29
ThaSuper ThaSuper is offline
 
Join Date: Jun 2007
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.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 12:38.

Layout Options | Width: Wide Color: