Log in

View Full Version : Show Thread Enhancements - YouTube Video Avatars for specified usergroups


4x4 Mecca
06-24-2007, 10:00 PM
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 (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 here (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
<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>&nbsp;</td>
</if>

Replace with
<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>&nbsp;</td>
</if>
</if>
</if>

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

Click installed!
Nominate for MOTM!

rjmjr69
06-25-2007, 02:05 AM
Friggen awesome idea. Installing now and I'll leave feedback thanks

4x4 Mecca
06-25-2007, 02:10 AM
Let me know how it goes, and if anyone can make this a plugin or product, feel free to.

PoetJA-1975
06-25-2007, 05:28 AM
WOW - very nice!
Thanx for the sharing ;)

Jacquii.

4x4 Mecca
06-25-2007, 05:54 AM
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 :)

PoetJA-1975
06-25-2007, 06:46 AM
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/testing-video-avatar-3728.html#post21003

I also have installed the Staff Badges so Postbit code looks like:
<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 -->

<!-- Video Avatar Code -->
<if condition="in_array($post['usergroupid'], array(9,10)) AND $post[field12]">
<div class="smallfont">
<object width="150" height="123.5"><param name="movie" value="http://www.youtube.com/v/$post[field12]"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/$post[field12]" type="application/x-shockwave-flash" wmode="transparent" width="150" height="123.5"></embed></object>
</div>
</if>
<else />
<!-- End Video Avatar Code -->

Help appreciated AND thanx for sharing ;)

Jacquii.

PoetJA-1975
06-25-2007, 07:42 AM
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.

4x4 Mecca
06-25-2007, 03:33 PM
<!-- Video Avatar Code -->
<if condition="in_array($post['usergroupid'], array(9,10)) AND $post[field12]">
<div class="smallfont">
<object width="150" height="123.5"><param name="movie" value="http://www.youtube.com/v/$post[field12]"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/$post[field12]" type="application/x-shockwave-flash" wmode="transparent" width="150" height="123.5"></embed></object>
</div>
<else />
<!-- End Video Avatar Code -->
<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 -->

That is the start, I'll need a few more lines to see where to put the other </if> code :)

rjmjr69
06-25-2007, 05:07 PM
IT says updated but what was updated? I can't get it to work at all

TheBlackPoet
06-25-2007, 07:55 PM
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...

4x4 Mecca
06-25-2007, 10:30 PM
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.

Silvio
06-26-2007, 12:28 AM
gorgeous:P
I will install it right now


ty for sharing this good idea/work

rjmjr69
06-26-2007, 01:45 AM
Anyone here?

4x4 Mecca
06-26-2007, 01:54 AM
Did you see my reply. I asked you to post your postbit template.

PoetJA-1975
06-26-2007, 08:00 AM
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.

<!-- 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>
<td nowrap="nowrap">
<fieldset class="fieldset">
<legend><font face="Arial Black">Member Information</font></legend>
<div id="postmenu_$post[postid]">
<if condition="$show['profile']">
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
$post[onlinestatus]
<script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
<else />
$post[musername]
</if>
</div>
<if condition="$post[field9] != ''"><div class="smallfont">
Real Name: <strong>$post[field9]</strong>
</div></if>
<if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if>
<if condition="$post['rank']"><div class="smallfont" align="center">$post[rank]</div></if>
<if condition="!empty($post[mood])">
<div class="smallfont" align="center">
$vbphrase[my_mood]: <img src="images/mood/$post[mood].gif" border="0" />
</if></div>

<if condition="$thread[postusername]==$post[username]"><div class="smallfont" align="center">
<img src="$stylevar[imgdir_misc]/tstarter.gif" alt="This Member Is The Original Thread Starter" border="0" /></div>
</if></fieldset>
</td>
<td width="100%">&nbsp;</td>
<td valign="top" nowrap="nowrap">
<div class="smallfont">
$post[crowns]$post[champtext]
<if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>
<if condition="$show['last_seen_online']"><div>$vbphrase[last_seen_online]: $post[lastseen_date] $post[lastseen_time]</div></if>
<if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>

<!-- Local Date and Time in Post -->
<if condition="$post[userid]">
<div class="smallfont" align="left">
$vbphrase[bf2_local_time]: $post[localtime]
</div>
</if>
<!-- Local Date and Time in Post -->

<div>
$vbphrase[posts]: <a href="search.php?$session[sessionurl]do=finduser&amp;u=$post[userid]" rel="nofollow">$post[posts]</a> $vbphrase[threads]: <a href="search.php?$session[sessionurl]do=process&amp;showposts=0&amp;starteronly=1&amp;exactname=1&amp;s earchuser=$post[username]" rel="nofollow">$post[threads]</a>
</div>
<div class="smallfont">
<if condition="$post['age']">$vbphrase[age]: <if condition="$show[member]">$post[age]<else />$vbphrase[peterska2_private]</if></if> </if> <if condition="$post['zodiac_sign']">$post[zodiac_sign]</if><if condition="$post[field8]">$vbphrase[gender] <img src="$stylevar[imgdir_misc]/$post[field8].gif" alt="$post[field8]" />
<if condition="$post[field6] != ''">
Country: <img src="images/flags/$post[field6].gif" title="$post[field6]" align="center">
</div></if>
<div class="smallfont">
<if condition="$show['reppower']">
<div>$vbphrase[reppower]: <span id="reppower_$post[postid]_$post[userid]">$post[reppower] @ $post[reputation]</span></div>
</if>
<if condition="$show['reputation']">
<div style="padding-bottom:2px"><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div>
</if>
</div>
<div><if condition="$show[member]">$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon] <if condition="$show['homepage']"><a href="$post[homepage]" target="_blank" dir="ltr"><img src="images/misc/userhome.gif" alt="Member's Website" border="0" /></a></if><if condition="$post[field11]">
<!-- Myspace button -->
<a href="http://www.myspace.com/$post[field11]" target="_blank">
<img src="images/misc/myspace.png" border="0" title="View My MySpace"></a>
<!-- / Myspace button -->
</if><else />$vbphrase[peterska2_im_is_private]</if>

</if></div>
<!-- show awards -->
<if condition="$post[showuserawards]">
<fieldset><legend><a href="member.php?u=$post[userid]#award" title="$vbphrase[more_awards]">$vbphrase[award_showcase]</a></legend>
<div>
$post[userawards]
<br>
<a href="member.php?u=$post[userid]#award" title="$vbphrase[more_awards]">$vbphrase[total_awards]</a>: $post[num_awards]
</div>
<if condition="$show['iprof_rating']">
<div>
<if condition="$show['who_rated_member']"><a href="#" onclick="who_rated_member($post[userid]); return false;">$vbphrase[iprof_rating]</a><else />$vbphrase[iprof_rating]</if>:
<a href="$vboptions[bburl]/member.php?$session[sessionurl]u=$post[userid]&amp;nojs=1#goto_memberrating" title="<phrase 1="$post[iprof_votenum]" 2="$post[iprof_voteavg]">$vbphrase[iprof_user_rating_x_votes_y_average]</phrase>"><if condition="$post['iprof_rating']"><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_$post[iprof_rating].gif" border="0" alt="<phrase 1="$post[iprof_votenum]" 2="$post[iprof_voteavg]">$vbphrase[iprof_user_rating_x_votes_y_average]</phrase>" /><else />$vbphrase[iprof_not_rated]</if></a>
</div>
</if>

</fieldset>
</if>
<!-- /show awards -->


<if condition="$show['infraction']">
<div class="smallfont" padding-top:2px">
$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div>
</div>
</if>
</td>
</tr>
</table>
<!-- / user info -->

tipoboy
06-26-2007, 10:30 AM
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

tipoboy
06-26-2007, 11:05 AM
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

Rickeo
06-26-2007, 11:16 AM
AMAZING :D thank you so much

GuaRRand
06-26-2007, 11:19 AM
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...

GuaRRand
06-26-2007, 11:23 AM
nvm, got it

4x4 Mecca
06-26-2007, 05:19 PM
Thanks Jacquii, I'll work on that today or tomorrow, I have family in town, so I'm pretty busy.

4x4 Mecca
06-26-2007, 05:24 PM
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.

tipoboy
06-26-2007, 09:20 PM
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

tipoboy
06-26-2007, 09:25 PM
better screen shot for u

4x4 Mecca
06-26-2007, 10:38 PM
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.

TheBlackPoet
06-26-2007, 10:55 PM
this is my working version.... see what you can do with this..

4x4 Mecca
06-26-2007, 11:29 PM
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 :)

4x4 Mecca
06-26-2007, 11:39 PM
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.

tipoboy
06-27-2007, 01:46 PM
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**

ThaSuper
06-27-2007, 02:29 PM
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.

tipoboy
06-27-2007, 04:16 PM
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.php?p=1277332&postcount=27

ThaSuper
06-27-2007, 05:47 PM
Thanks tipoboy that worked perfect!

tekstylez
06-28-2007, 02:15 PM
followed the directions, but the video is not showing in postbit. I just get a blank area.

tipoboy
06-28-2007, 02:54 PM
followed the directions, but the video is not showing in postbit. I just get a blank area.

did you create the profile field and change the template edit field to corresponde with the profile field you just made?

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

tekstylez
06-28-2007, 02:56 PM
i got it thanks... i edited only postbit and not legacy

tipoboy
06-28-2007, 03:00 PM
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

eNforce
06-28-2007, 08:27 PM
Thanks for this mod Mecca, you can see your mod being used on my forum here:

http://www.areyouserios.com/new-feature-t1709.html?t=1709

I second the Edit Avatar UserCP idea

ChU v2
06-28-2007, 08:47 PM
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. :(

tipoboy
06-28-2007, 08:55 PM
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:)

ChU v2
06-28-2007, 09:23 PM
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.

PoetJA-1975
06-29-2007, 01:20 AM
jacquii, let me know if this works.

Thanx for the help 4x4 Mecca - but it still didn't align correctly for some odd reason.
Could be something to do with default avatar? I'm not entirely sure - but I thank you for the help anyway - It really is a nice modification - Would love to get this to work for "premium" Members.

Jacquii.

4x4 Mecca
06-29-2007, 02:57 AM
I will search all the templates for the word "avatar" and see how it would be to implement this in other locations. When I do that, I will mark the thread updated.

4x4 Mecca
06-29-2007, 02:58 AM
J - Can you create me an admin account with permissions to edit templates?

eNforce
07-01-2007, 01:50 PM
Thanks for the memberinfo template addition, works well!

4x4 Mecca
07-01-2007, 04:05 PM
No problem. If you see avatar anyhwere else, let me know. I see it on the members list, but that's php which is a little out of my reach.

tipoboy
07-02-2007, 08:49 PM
hey 4x4 mecca tried the template edit for the membersinfo and it doesnt appear to work, would it be due to the custom code u created for me

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

Where 9 is the additional usergroup ID and 6 is your field number. That will work :)

any help is appreciated

4x4 Mecca
07-03-2007, 03:25 AM
Yeah, change $post to $bbuserinfo and see if that works

tipoboy
07-04-2007, 03:27 PM
Yeah, change $post to $bbuserinfo and see if that works

from the code you supplied or from the code specifically for me?

and what $post should i change
thanks
dave

4x4 Mecca
07-04-2007, 08:04 PM
from the code I I gave you

tipoboy
07-04-2007, 08:55 PM
got it working replaced the first line of the code to

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

also complete schoolboy error and missed that i had to replace the [fieldXX] with 15 again thanks for the help 4X4 mecca

tipoboy
07-04-2007, 08:57 PM
quick question any chance of somehow moving the profile field to the avatar selection page in your usercp would just be more functional there??

just a thought hope you can do this
thanks again
dave

4x4 Mecca
07-05-2007, 04:23 AM
I'm not sure how to do that one. The avatar section isn't an option in the extra profile fields area as far as i can tell.

tipoboy
07-18-2007, 11:04 AM
any update on this mecca working great on my site would be good to have it in the http://mysite.co.uk/forum/profile.php?do=editavatar page

thanks for the great hack anywayz

morrow
07-18-2007, 12:38 PM
It kinda works on my site. I installed it and checked out my new avatar and it looked nice. The problem is that nobody elses avatar shows up anymore, and I've changed the usergroup to only include admin.

rolfw1
07-19-2007, 09:31 PM
Yep, works well, have installed and got it up and running. Now all i have to do is put up a better video. :)

Thanks

Site link to view avatar. http://www.thamesvalleybirds.co.uk/showthread.php?t=221

Morrus
08-14-2007, 01:20 PM
This is kinda odd.

It works for me, but not anyone else. This is the postbit code:

There are several people in usergroup 25 as a secondary usergroup, including me. It works perfectly for me, but everyone else is just getting their old avatar.


<table id="post$post[postid]" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
<tr>
<if condition="$show['announcement']">
<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]" colspan="2">
<img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" />
<phrase 1="$post[startdate]" 2="$post[enddate]">$vbphrase[x_until_y]</phrase>
</td>
<else />
<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-right: 0px" $post[scrolltothis]>
<!-- status icon and date -->
<a name="post$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" /></a>
$post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if>
$post[firstnewinsert]
<!-- / status icon and date -->
</td>
<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-left: 0px" align="$stylevar[right]">
&nbsp;
<if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&amp;postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a></if>
<if condition="$show['inlinemod']">
<input type="checkbox" name="plist[$postid]" id="plist_$postid" style="vertical-align:middle; padding:0px; margin:0px 0px 0px 5px" value="$post[checkbox_value]" />
</if>
</td>
</if>
</tr>
<tr valign="top">
<td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px">

<!-- vbPlaza start -->
<div id="postmenu_$post[postid]" <if condition="$post['namestyle']">style="$post[namestyle]"</if>>
<!-- vbPlaza end -->
<if condition="$show['profile']">
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
<script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
<else />
$post[musername]
</if>
</div>

<!-- vbPlaza start -->
<if condition="$post['usertitle']"><div class="smallfont" <if condition="$post['titlestyle']">style="$post[titlestyle]"</if>>$post[usertitle]</div></if>
<!-- vbPlaza end -->
<if condition="$WWU002_ranktext"><div class="smallfont">$WWU002_ranktext</div></if>

<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
<if condition="$show['reputation']"><div><if condition="$show['reppower']">$vbphrase[reppower]: <span id="reppower_$post[postid]_$post[userid]">$post[reppower]</span> </if><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay] <a href="index.php?page=ranks">$post[level]</a> ($post[reputation])</span></div></if>

<if condition="$post['membergroupids'] == 25 AND $post[field17]">
<div class="smallfont"><br>
<object width="150" height="123.5"><param name="movie" value="http://www.youtube.com/v/$post[field17]"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/$post[field17]" type="application/x-shockwave-flash" wmode="transparent" width="150" height="123.5"></embed></object>
</div>
<else />
<if condition="$show['avatar']">
<div class="smallfont">
&nbsp;<br /><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>
</div>
</if>
</if>

<div class="smallfont">
&nbsp;<br />
<if condition="isset($WWU002_activitylevel)">
<table class="WWU002postbit" cellspacing="2" cellpadding="0">
<tr>
<td><img src="$stylevar[imgdir_misc]/activity/textactivity.gif" alt="$vbphrase[WWU002_activity]" /></td>
<td><img src="$stylevar[imgdir_misc]/activity/textlongevity.gif" alt="$vbphrase[WWU002_longevity]" /></td>
</tr>
<tr>
<td><img src="$stylevar[imgdir_misc]/activity/activity$WWU002_activitylevel.gif" class="i" title="$WWU002_activityinfo" alt="$WWU002_activitylevel/20" /></td>
<td><img src="$stylevar[imgdir_misc]/activity/long$WWU002_longevitylevel.gif" class="i" title="$WWU002_longevityinfo" alt="$WWU002_longevitylevel/20" /></td>
</tr>
<tr>
<td><img src="$stylevar[imgdir_misc]/activity/texttoday.gif" alt="$vbphrase[WWU002_activity_today]" /></td>
<td><img src="$stylevar[imgdir_misc]/activity/textposts.gif" alt="$vbphrase[posts]" /></td>
</tr>
<tr>
<td><img src="$stylevar[imgdir_misc]/activity/today{$WWU002_todaylevel}_$WWU002_maxtodaylevel.gi f" class="i" title="$WWU002_todayinfo" alt="$WWU002_todaylevel/$WWU002_maxtodaylevel" /></td>
<td dir="ltr"><img src="$stylevar[imgdir_misc]/activity/posts$WWU002_postsd1.gif" class="il" alt="$WWU002_postsd1" /><img src="$stylevar[imgdir_misc]/activity/posts$WWU002_postsd2.gif" class="im" alt="$WWU002_postsd2" /><img src="$stylevar[imgdir_misc]/activity/posts$WWU002_postsd3.gif" class="im" alt="$WWU002_postsd3" /><img src="$stylevar[imgdir_misc]/activity/posts$WWU002_postsd4.gif" class="im" alt="$WWU002_postsd4" /><img src="$stylevar[imgdir_misc]/activity/posts$WWU002_postsd5.gif" class="im" alt="$WWU002_postsd5" /><img src="$stylevar[imgdir_misc]/activity/posts$WWU002_postsd6.gif" class="im" alt="$WWU002_postsd6" /><img src="$stylevar[imgdir_misc]/activity/posts$WWU002_postsd7.gif" class="im" alt="$WWU002_postsd7" /><img src="$stylevar[imgdir_misc]/activity/posts$WWU002_postsd8.gif" class="im" alt="$WWU002_postsd8" /><img src="$stylevar[imgdir_misc]/activity/posts$WWU002_postsd9.gif" class="ir" alt="$WWU002_postsd9" /></td>
</tr>
</table>
</if>
<br>


<if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
<if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>
<div>

<!-- vbPlaza start -->
<if condition="$show['pointsinpostbit']"><br />
$vbphrase[vbbux_points]: $post[points]<br />
<a href="vbplaza.php?do=donate&amp;userid=$post[userid]">$vbphrase[vbplaza_donate]</a><br />
</if>
<if condition="$vboptions['vbookiecashon']">
<br />$vbphrase[vbookie_vcash]: $post[vbookie_cash]
</if>
<!-- vbPlaza end --> </div>
<if condition="!empty($post[mood])">
<div>
$vbphrase[my_mood]: <img src="images/mood/$post[mood].gif" border="0" />
</div>
</if>
<if condition="$post[field5] != ''"><div><br />
<img src="images/flags/$post[field5].gif" title="$post[field5]" align="center"><br />
</div></if>
<if condition="$show['infraction']"><div>$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if>

<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]



</div>

<if condition="$post[FIELD_HASBLOG]">
<a href="$vboptions[blog_url]/viewblog.php?$session[sessionurl]userid=$post[userid]">
<span style="font-weight:bold; font-size:11px; text-decoration:none;">
<phrase 1="$post[username]">
$vbphrase[blog_visit_x_blog]
</phrase>
</span></a>
</if>


<!-- vbPlaza start -->
<if condition="$post['giftsdisplay']"><div class="smallfont">$post[giftsdisplay]</div></if>
<if condition="$post['ribbonsdisplay']"><div class="smallfont">$post[ribbonsdisplay]</div></if>
<!-- vbPlaza end -->
</div>

</td>
<if condition="$show['moderated']">
<td class="alt2" id="td_post_$post[postid]" style="border-right: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]">
<else />
<td class="alt1" id="td_post_$post[postid]" style="border-right: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]">
</if>

<if condition="$show['messageicon'] OR $post['title']">
<!-- icon and title -->
<div class="smallfont">
<if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
<if condition="$post['title']"><strong>$post[title]</strong></if>
</div>
<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<!-- / icon and title -->
</if>

<!-- message -->
<div id="post_message_$post[postid]">$post[message]</div>
<!-- / message -->

<if condition="$show['attachments']">
<!-- attachments -->
<div style="padding:$stylevar[cellpadding]px">

<if condition="$show['thumbnailattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_thumbnails]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[thumbnailattachments]
</div>
</fieldset>
</if>

<if condition="$show['imageattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[imageattachments]
</div>
</fieldset>
</if>

<if condition="$show['imageattachmentlink']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[imageattachmentlinks]
</table>
</fieldset>
</if>

<if condition="$show['otherattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_files]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[otherattachments]
</table>
</fieldset>
</if>

<if condition="$show['moderatedattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attachments_pending_approval]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[moderatedattachments]
</table>
</fieldset>
</if>

</div>
<!-- / attachments -->
</if>

<if condition="$post['signature']">
<!-- sig -->
<div>
__________________<br />
$post[signature]
</div>
<!-- / sig -->
</if>

<if condition="$show['postedited']">
<!-- edit note -->
<div class="smallfont"> <hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<em>
<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>.
<if condition="$post['edit_reason']">$vbphrase[reason]: $post[edit_reason]</if>
</em>
</div>
<!-- / edit note -->
</if>

</td>
</tr>
<tr>
<td class="alt2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px">
$post[onlinestatus]
<if condition="$show['reputationlink']">
<span id="reputationmenu_$post[postid]"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow" id="reputation_$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a></span>
<if condition="$show['popups']"><script type="text/javascript"> vbrep_register("$post[postid]")</script></if>

<!-- [START HACK='vB Pager' AUTHOR='UAEWEB.COM' VERSION='3.0.3' CHANGEID= 7 ] -->
<if condition="$vboptions['vbpager_active'] AND $bbuserinfo['userid']">
<a href="#" onclick="window.open('pager.php?do=buddylist&amp;puserid=$post[userid]','pagerbuddylist','statusbar=no,menubar=no,toolba r=no,scrollbars=yes,resizable=yes,width=$vboptions[vbpager_width],height=$vboptions[vbpager_height]'); return false;"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/vbpager_icon.gif" alt="<phrase 1="$post[username]">$vbphrase[pager_send_pager_message_to_x]</phrase>" border="0" /></a></if>
<!-- [END HACK='vB Pager' AUTHOR='UAEWEB.COM' VERSION='3.0.3' CHANGEID= 7 ] -->

</if>
<if condition="$show['infractionlink']"><a href="infraction.php?$session[sessionurl]do=report&amp;p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/infraction.gif" alt="<phrase 1="$post[username]">$vbphrase[add_infraction_for_x]</phrase>" border="0" /></a></if>
<if condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]" border="0" /></a></if>
$post[iplogged]
&nbsp;
</td>
<if condition="$show['moderated']">
<td class="alt2" align="$stylevar[right]" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-left: 0px; border-top: 0px">
<else />
<td class="alt1" align="$stylevar[right]" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-left: 0px; border-top: 0px">
</if>
<!-- controls -->
<if condition="$post['editlink']">
<img style="display: none" id="progress_$postid" src="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[loading_editor_please_wait]" />
<a href="$post[editlink]" name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a>
</if>
<if condition="$post['forwardlink']">
<a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a>
</if>
<if condition="$post['replylink']">
<a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>
</if>
<if condition="$show['multiquote_post']">
<a href="$post[replylink]" rel="nofollow" onclick="return false"><img src="$stylevar[imgdir_button]/multiquote_<if condition="$show['multiquote_selected']">on<else />off</if>.gif" alt="$vbphrase[multi_quote_this_message]" border="0" id="mq_$post[postid]" /></a>
</if>


<a href="newthread.php?fork=1&do=newthread&p=$post[postid]"><img src="$stylevar[imgdir_button]/fork.gif" alt="$vbphrase[fork_this_post]" border="0" /></a>



<if condition="$show['quickreply'] AND !$show['threadedmode']">
<a href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onclick="return false"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a>
</if>
<if condition="$show['moderated']">
<img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_post]" border="0" />
</if>
<if condition="$show['deletedpost']">
<img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[deleted_post]" border="0" />
</if>
<if condition="$show['redcard']">
<a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/redcard.gif" alt="$vbphrase[received_infraction]" border="0" /></a>
<else />
<if condition="$show['yellowcard']">
<a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/yellowcard.gif" alt="$vbphrase[received_warning]" border="0" /></a>
</if>
</if>
<!-- / controls -->
</td>
</tr>
</table>

<!-- post $post[postid] popup menu -->
<div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$post[username]</td>
</tr>
<if condition="$show['profile']">
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr>
</if>
<if condition="$post[userid]">

<tr><td class="vbmenu_option"><a href="/groups/viewgroups.php?$session[sessionurl]u=$post[userid]"><phrase 1="$post[username]">$vbphrase[grps_view_xs_groups]</phrase></a></td></tr>

</if>



<if condition="$show['pmlink']">
<tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['emaillink']">
<tr><td class="vbmenu_option"><a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['homepage']">
<tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr>
</if>
<if condition="$show['search']">
<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_more_posts_by_x]</phrase></a></td></tr>
</if>
<if condition="$post['userid'] AND $show['member']">
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr>
</if>
<!-- vBlogetin Edit -->
<if condition="$post[FIELD_HASBLOG]">
<tr><td class="vbmenu_option"><a href="$vboptions[blog_url]/viewblog.php?$session[sessionurl]userid=$post[userid]"><phrase 1="$post[username]">$vbphrase[blog_visit_x_blog]</phrase></a></a></td></tr>
</if>
<!-- End vBlogetin Edit -->
<if condition="$post['userid'] AND $show['member']">
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=ignore&amp;u=$post[userid]"><phrase 1="$post[username]">Add $post[username] to Your Ignore List</phrase></a></td></tr>
</if>
<if condition="$show['btu_canban']">
<if condition="!isset($btu[$post[threadid]][$post[userid]])">
<tr><td class="vbmenu_option"><a href="postings.php?$session[sessionurl]do=btu_ban&amp;t=$post[threadid]&amp;u=$post[userid]">$vbphrase[btu_ban]</a></td></tr>
<else />
<tr><td class="vbmenu_option"><a href="postings.php?$session[sessionurl]do=btu_ban&amp;t=$post[threadid]&amp;u=$post[userid]">$vbphrase[btu_unban]</a></td></tr>
</if>
</if>
<!-- vBlogetin Edit -->
<if condition="$post[FIELD_HASBLOG]">
<tr><td class="vbmenu_option"><a href="$vboptions[blog_url]/viewblog.php?$session[sessionurl]userid=$post[userid]"><phrase 1="$post[username]">$vbphrase[blog_visit_x_blog]</phrase></a></a></td></tr>
</if>
<!-- End vBlogetin Edit -->
</table>
</div>
<!-- / post $post[postid] popup menu -->

The only difference I can think of is that the others have several secondary usergroups (including video avatar), whereas I only have the video avatar one.

Weird thing is, it's working perfectly in their profiles. Just not the postbit. And the conditionals appear to be the same in both.

Morrus
08-14-2007, 04:02 PM
Additional note -- it seems that, although I can see my own video avatar just fine, others cannot! Presumably, again, those with more than one secondary usergroup.

Alfa1
09-03-2007, 02:22 PM
Any update on this? This is a great idea, if it works.

4x4 Mecca
09-03-2007, 06:40 PM
This should be what is needed for all usergroups to show it.... edit the first array for primary usergroup numbers, and the second array for secondary usergroup numbers.


<if condition="in_array($post['usergroupid'], array(5,6,7,12,14)) OR in_array($post['membergroupids'], array(15,16,17,19)) AND $post[fieldX]" >


Just replace your current "if condition" array with this one, edit the usergroup numbers and the field number, and let me know how it works.

Alfa1
09-03-2007, 07:28 PM
I dont understand what works and what doesn't work with this add-on. Could you please explain:
If I install this, I can allow a member group to have youtube video avatars.
But will all other member groups be able to view them?

4x4 Mecca
09-03-2007, 07:52 PM
Yes, the way this is designed to work is allow only the usergroups you want to have video avatars, but ALL usergroups, even unregistered should be able to see it.

Alfa1
09-04-2007, 07:39 AM
That's good news, but what about Morrus his comment?Additional note -- it seems that, although I can see my own video avatar just fine, others cannot! Presumably, again, those with more than one secondary usergroup.
Is this a bug? And if so; do you have a fix?

AzH
09-26-2007, 07:55 PM
Thanx for the sharing anyway - ALSO will appreciate any help getting it aligned right ;)

Jacquii.

I think I have a fix for you. Use this code instead:

<if condition="in_array($post['usergroupid'], array(5,6,7,22,48)) AND $post[field8]">
<td class="alt2">
<object width="150" height="123.5"><param name="movie" value="http://www.youtube.com/v/$post[field8]"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/$post[field8]" type="application/x-shockwave-flash" wmode="transparent" width="150" height="123.5"></embed></object>
</td>
<else />
<if condition="$show['avatar']">
<td class="alt2">
&nbsp;<br /><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>

I was getting the same error as you so I switched from:

<div class="smallfont">

to:

<td class="alt2">

with the respective closing tag </td> and it works fine.

Alfa1
09-27-2007, 02:15 AM
Can you please post a link to where this can be seen in action?

AzH
09-28-2007, 05:14 PM
<a href="http://lurkingmastermind.com/forums/showthread.php?t=8262" target="_blank">http://lurkingmastermind.com/forums/...ead.php?t=8262</a>

yoyoyoyo
09-28-2007, 05:44 PM
http://lurkingmastermind.com/forums/showthread.php?t=8262
that is not a link to video avatars, that is a link to an AME demo

yoyoyoyo
09-28-2007, 06:08 PM
is there any way to make the user profile field option hidden to groups who are not allowed to use the video avatar feature?

AzH
09-28-2007, 06:36 PM
that is not a link to video avatars, that is a link to an AME demo

No, it's a link to a thread which shows the video avatar in action, which is what was requested by the previous poster, and is what was supplied by me.

yoyoyoyo
09-28-2007, 08:24 PM
No, it's a link to a thread which shows the video avatar in action, which is what was requested by the previous poster, and is what was supplied by me.where is the video avatar? the only moving avatar I see is a gif image

Alfa1
09-29-2007, 10:59 AM
I see lots of posts with youtube vids in them, but not as avatars.

AzH
09-30-2007, 08:44 PM
where is the video avatar? the only moving avatar I see is a gif image

I see lots of posts with youtube vids in them, but not as avatars.

You don't see this?

http://lurkingmastermind.com/forums/imagehosting/1470018b6f3485.gif

Alfa1
09-30-2007, 11:36 PM
Nope. AzH has a different avatar. Some black and white clip with a blond mimicking a blow job.

Though the youtube vid with the atom bomb explosion is in ZAH's post itself under the spoiler button. But no youtube avatar.

yoyoyoyo
10-01-2007, 01:30 AM
Nope. AzH has a different avatar. Some black and white clip with a blond mimicking a blow job.

Though the youtube vid with the atom bomb explosion is in ZAH's post itself under the spoiler button. But no youtube avatar.yep - that's exactly what I see, also, no matter what style I view it in

AzH
10-01-2007, 08:46 PM
Hmm... I just logged out and now I can't see it either. Logged in it works fine.

AzH
10-06-2007, 02:06 PM
Works now. I set the profile field to hidden. Nobody could see them. D'oh!!

demo (http://lurkingmastermind.com/forums/community-announcements-feedback/8314-trying-vbseo-once-more.html#post222847)

WNM07
11-14-2007, 05:05 PM
i have this hack installed and working great but is there a way to make it so everyone can view the avatars? currently it's a supporter feature at my site and if you're not a supporter you can't even see the users avatar..they see the previous avatar

ChU v2
11-15-2007, 10:37 PM
i have this hack installed and working great but is there a way to make it so everyone can view the avatars? currently it's a supporter feature at my site and if you're not a supporter you can't even see the users avatar..they see the previous avatar

Try editing this:


<if condition="in_array($post['usergroupid'], array(5,6,7,12,14)) AND $post[fieldXX]">


Where it says ['usergroupid'], array(5,6,7,12,14))

Enter in the Usergroup IDs that you want to have access to it.

StakingAces
11-16-2007, 02:12 AM
is there a way to get the youtube avatar under the name instead of on top of the name as in this screenshot? http://img144.imageshack.us/my.php?image=saavatarlw2.jpg

ChU v2
11-16-2007, 02:41 PM
is there a way to get the youtube avatar under the name instead of on top of the name as in this screenshot? http://img144.imageshack.us/my.php?image=saavatarlw2.jpg

Copy your code and I'll do it for you.

StakingAces
11-16-2007, 04:55 PM
$template_hook[postbit_start]
<table class="tborder" id="post$post[postid]" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="thead" $post[scrolltothis]>
<div class="normal" style="float:$stylevar[right]">
&nbsp;
<if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&amp;postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a> &nbsp;</if>
<if condition="$show['reputationlink']">
<span id="reputationmenu_$post[postid]"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow" id="reputation_$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a></span>
<if condition="$show['popups']"><script type="text/javascript"> vbrep_register("$post[postid]")</script></if>&nbsp;
</if>
<if condition="$show['infractionlink']"><a href="infraction.php?$session[sessionurl]do=report&amp;p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/infraction.gif" alt="<phrase 1="$post[username]">$vbphrase[add_infraction_for_x]</phrase>" border="0" /></a> &nbsp;</if>
<if condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]" border="0" /></a> &nbsp;</if>
$post[iplogged]
<if condition="$show['inlinemod']">
<input type="checkbox" name="plist[$postid]" id="plist_$postid" style="vertical-align:middle; padding:0px; margin:0px 0px 0px 5px" value="$post[checkbox_value]" />
</if>
</div>

<div class="normal">
<!-- status icon and date -->
<a name="post$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" /></a>
<if condition="!$show['announcement']">
$post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if>
<else />
<phrase 1="$post[startdate]" 2="$post[enddate]">$vbphrase[x_until_y]</phrase>
</if>
$post[firstnewinsert]
<!-- / status icon and date -->
</div>
</td>
</tr>
<tr>
<td class="alt2" style="padding:0px">
<!-- user info -->
<table cellpadding="0" cellspacing="$stylevar[cellpadding]" border="0" width="100%">
<tr>

<if condition="in_array($post['usergroupid'], array(2,5,6,7)) AND $post[field5]">
<div class="smallfont">
<object width="150" height="123.5"><param name="movie" value="http://www.youtube.com/v/$post[field5]"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/$post[field5]" type="application/x-shockwave-flash" wmode="transparent" width="150" height="123.5"></embed></object>
</div>
<else />
<if condition="$show['avatar']">
<div class="smallfont">
&nbsp;<br /><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>
</div>
</if>
</if>

<td nowrap="nowrap">

<div id="postmenu_$post[postid]">
<if condition="$show['profile']">
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
$post[onlinestatus]
<script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
<else />
$post[musername]
</if>
</div>

<if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if>
<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
$template_hook[postbit_userinfo_left]

</td>
<td width="100%">&nbsp;</td>
<td valign="top" nowrap="nowrap">
<div class="smallfont">$post[crowns]$post[champtext]<br /></div>

<div class="smallfont">
<if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>
<if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
<if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>
<div>
$vbphrase[posts]: $post[posts]
</div>
$template_hook[postbit_userinfo_right_after_posts]
<if condition="$show['infraction']"><div>$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if>
<if condition="$show['reputation']"><if condition="$show['reppower']">$vbphrase[reppower]: <span id="reppower_$post[postid]_$post[userid]">$post[reppower]</span> </if><div><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div></if>
$template_hook[postbit_userinfo_right]
<if condition="$show['ws_warninglevel']"><div><strong>$vbphrase[ws_warninglevel]: $post[ws_warninglevel]</strong></div></if>
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
</div>

</td>
</tr>
</table>
<!-- / user info -->
</td>
</tr>
<tr>
<td class="alt1" id="td_post_$post[postid]">
<!-- message, attachments, sig -->

$template_hook[postbit_messagearea_start]

<if condition="$show['messageicon'] OR $post['title']">
<!-- icon and title -->
<div class="smallfont">
<if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
<if condition="$post['title']"><strong>$post[title]</strong></if>
</div>
<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<!-- / icon and title -->
</if>

<!-- message -->
<div id="post_message_$post[postid]">$post[message]</div>
<!-- / message -->

<if condition="$show['attachments']">
<!-- attachments -->
<div style="padding:$stylevar[cellpadding]px">

<if condition="$show['thumbnailattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_thumbnails]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[thumbnailattachments]
</div>
</fieldset>
</if>

<if condition="$show['imageattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[imageattachments]
</div>
</fieldset>
</if>

<if condition="$show['imageattachmentlink']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[imageattachmentlinks]
</table>
</fieldset>
</if>

<if condition="$show['otherattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_files]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[otherattachments]
</table>
</fieldset>
</if>

<if condition="$show['moderatedattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attachments_pending_approval]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[moderatedattachments]
</table>
</fieldset>
</if>

</div>
<!-- / attachments -->
</if>

$template_hook[postbit_signature_start]

<if condition="$post['signature']">
<!-- sig -->
<div>
__________________<br />
$post[signature]
</div>
<!-- / sig -->
</if>

$template_hook[postbit_signature_end]

<if condition="$show['postedited']">
<!-- edit note -->
<div class="smallfont"> <hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<em>
<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>.
<if condition="$post['edit_reason']">$vbphrase[reason]: $post[edit_reason]</if>
</em>
</div>
<!-- / edit note -->
</if>

<div style="margin-top: 10px" align="$stylevar[right]">
<!-- controls -->
<if condition="$post['editlink']">
<img style="display: none" id="progress_$postid" src="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[loading_editor_please_wait]" />
<a href="$post[editlink]" name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a>
</if>
<if condition="$post['forwardlink']">
<a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a>
</if>
<if condition="$post['replylink']">
<a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>
</if>
<if condition="$show['multiquote_post']">
<a href="$post[replylink]" rel="nofollow" onclick="return false"><img src="$stylevar[imgdir_button]/multiquote_<if condition="$show['multiquote_selected']">on<else />off</if>.gif" alt="$vbphrase[multi_quote_this_message]" border="0" id="mq_$post[postid]" /></a>
</if>
<if condition="$show['quickreply'] AND !$show['threadedmode']">
<a href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onclick="return false"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a>
</if>
<if condition="$show['moderated']">
<img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_post]" border="0" />
</if>
<if condition="$show['deletedpost']">
<img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[deleted_post]" border="0" />
</if>
<if condition="$show['redcard']">
<a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/redcard.gif" alt="$vbphrase[received_infraction]" border="0" /></a>
<else />
<if condition="$show['yellowcard']">
<a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/yellowcard.gif" alt="$vbphrase[received_warning]" border="0" /></a>
</if>
</if>
$template_hook[postbit_controls]
<!-- / controls -->
</div>

<!-- message, attachments, sig -->

</td>
</tr>
<if condition="$show['ws_warningsign']">
<tr>
<if condition="$vboptions['legacypostbit']"><td class="thread">&nbsp;</td></if>
<td class="thead"<if condition="!$vboptions['legacypostbit']"> colspan="2"</if>>
<div class="smallfont" align="center" style="padding: 2px;">
<phrase 1="$post[ws_points]" 2="$post[ws_reputation]">$vbphrase[ws_this_post_has_been_awarded_x_warning_points]</phrase>
</div>
</td>
</tr>
</if>
</table>
$template_hook[postbit_end]

<!-- post $post[postid] popup menu -->
<div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none;">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$post[username]</td>
</tr>
<if condition="$show['profile']">
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr>
</if>
<if condition="$show['pmlink']">
<tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['emaillink']">
<tr><td class="vbmenu_option"><a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['homepage']">
<tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr>
</if>
<if condition="$show['search']">
<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_all_posts_by_x]</phrase></a></td></tr>
</if>
<if condition="$post['userid'] AND $show['member']">
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr>
</if>
<if condition="$show['ws_new_warning']">
<tr><td class="vbmenu_option"><a href="warn.php?$session[sessionurl]do=warn&amp;postid=$post[postid]" rel="nofollow"><strong><em><phrase 1="$post[username]">$vbphrase[ws_issue_warning_to_x]</phrase></em></strong></a></td></tr>
</if>
<if condition="$show['ws_warning_history']">
<tr><td class="vbmenu_option"><a href="#post$post[postid]" onclick="window.open('warn.php?$session[sessionurl]do=warninglist&amp;userid=$post[userid]', 'warn', 'width=1000,height=350,scrollbars=yes'); return false"><strong><em><phrase 1="$post[username]">$vbphrase[ws_xs_warnings]</phrase></em></strong></a></td></tr>
</if>
$template_hook[postbit_user_popup]
</table>
</div>
<!-- / post $post[postid] popup menu -->

Meghwar
11-17-2007, 12:58 AM
Good job :) it take me 2 minutes:) done permission mods, supers, admins only :)

thanx again

StakingAces
11-17-2007, 04:45 AM
Thanks alot ChU v2, I appreciate your help!

ChU v2
11-17-2007, 05:09 AM
Thanks alot ChU v2, I appreciate your help!

Anytime.

tarot
12-14-2007, 05:33 PM
Quick install, super easy and fun! Great job

Alfa1
12-15-2007, 10:33 PM
Try editing this:


<if condition="in_array($post['usergroupid'], array(5,6,7,12,14)) AND $post[fieldXX]">


Where it says ['usergroupid'], array(5,6,7,12,14))

Enter in the Usergroup IDs that you want to have access to it.
If I understand this correctly then that will allow full access to this function. I too want to use this for supporters. Meaning that I want everyone to see that supporters can have this cool avatar, while non-supporters can see it, but can not add Youtube video as their avatar.

Somehow I cant get this to work. Here is my POSTBIT template:
<if condition="in_array($post['usergroupid'], array(6,23)) OR in_array($post['membergroupids'], array(6,23)) AND $post[field21]" >
<div class="smallfont"><br>
<object width="150" height="123.5"><param name="movie" value="http://www.youtube.com/v/$post[field21]"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/$post[field21]" type="application/x-shockwave-flash" wmode="transparent" width="150" height="123.5"></embed></object>
</div>
<else />
<if condition="$show['avatar']">
<div class="smallfont">
&nbsp;<br /><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>
</div>
</if>
</if>
The top line give an error.

Can it be that the myspace profile rewrite is messing with this hack? (Since it parses youtube videos through custom profile fields as well)

Can someone help?

Meghwar
01-01-2008, 03:48 PM
Hi all

Hack will not work with MEMBERINFO template vb 3.7.0 Beta3 Different Codes

Please be advised

Regards

AzH
01-01-2008, 06:24 PM
That's why it's in the 3.6 section.

REVHEAD
01-03-2008, 10:32 AM
I marked as installed ,I will wait till its a littl more mature

MWSR
01-03-2008, 04:11 PM
This Is Great.................thanks

Aclikyano
01-15-2008, 02:58 AM
Installed and working on VBulletin 3.6.8 PL2 :)

knigh22
01-26-2008, 02:23 AM
I have 3.6.8 PL2. It won't work heres the code

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<style type="text/css">
#additionalinfo_list, #membergroups_list { margin-top: 0px; margin-bottom: 0px; }
#additionalinfo_list dd, #membergroups_list dd { margin: 0px 0px $stylevar[cellpadding]px 0px; }
</style>
<title>$vboptions[bbtitle] - $vbphrase[view_profile]: $userinfo[username]</title>
</head>
<body>
$header
$navbar

<!-- main info - avatar, profilepic etc. -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat">$vbphrase[view_profile]<span class="normal">: $userinfo[username]</span></td>
</tr>
<tr>
<td class="alt2">
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td style="border-bottom:1px solid $stylevar[tborder_bgcolor]" width="100%" colspan="2">
<if condition="$userinfo['rank'] OR $userinfo['reputationdisplay']">
<div style="float:$stylevar[right]; padding:4px">
<if condition="$userinfo['rank']"><div align="center">$userinfo[rank]</div></if>
<if condition="$userinfo['reputationdisplay']"><div align="center">$userinfo[reputationdisplay]</div></if>
</div>
</if>
<div class="bigusername">$userinfo[musername] $userinfo[onlinestatus]</div>
<if condition="$userinfo['usertitle']"><div class="smallfont">$userinfo[usertitle]</div></if>
</td>
<if condition="$show['profilepic']">
<td valign="top" align="$stylevar[right]" rowspan="2">
<img src="$userinfo[profilepicurl]" $userinfo[profilepicsize] alt="<phrase 1="$userinfo[username]">$vbphrase[xs_picture]</phrase>" border="0" style="border:1px solid $stylevar[tborder_bgcolor]; border-top:none" />
</td>
</if>
</tr>
<tr valign="top">
<if condition="in_array($post['usergroupid'], array(5,6,7,12,14)) AND $post[field5]">
<td>
<object width="150" height="123.5"><param name="movie" value="http://www.youtube.com/v/$post[field5]"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/$post[field5]" 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>&nbsp;</td>
</if>
</if>
</if>
<td class="smallfont" valign="bottom" align="$stylevar[right]">
<if condition="$show['lastactivity']">
<div>$vbphrase[last_activity]: $userinfo[lastactivitydate] <span class="time">$userinfo[lastactivitytime]</span>&nbsp;</div>
</if>
<if condition="$show['currentlocation']">
<div>$userinfo[action] $userinfo[where]<if condition="$show['detailedtime']"> - <else /> @ </if> $userinfo[time]&nbsp;</div>
</if>
</td>
</tr>
</table>
</td>
</tr>
</table>
<!-- / main info - avatar, profilepic etc. -->

$template_hook[memberinfo_pos1]

<!-- button row -->
<if condition="$show['profilelinks']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
<tr align="center">
<if condition="$userinfo['showvcard']">
<td class="vbmenu_control"><a href="member.php?$session[sessionurl]do=vcard&amp;u=$userinfo[userid]" rel="nofollow">$vbphrase[download_vcard]</a></td>
</if>
<if condition="$show['member']">
<td class="vbmenu_control">
<if condition="$show['addbuddylist']">
<a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[add_x_to_buddy_list]</phrase></a>
<else />
<a href="profile.php?$session[sessionurl]do=removelist&amp;userlist=buddy&amp;u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[remove_x_from_your_buddylist]</phrase></a>
</if>
</td>
<td class="vbmenu_control">
<if condition="$show['addignorelist']">
<a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=ignore&amp;u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[add_x_to_ignore_list]</phrase></a>
<else />
<a href="profile.php?$session[sessionurl]do=removelist&amp;userlist=ignore&amp;u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[remove_x_from_your_ignorelist]</phrase></a>
</if>
</td>
</if>
<if condition="can_moderate()">
<td class="vbmenu_control"><a href="moderator.php?$session[sessionurl]do=useroptions&amp;u=$userinfo[userid]">$vbphrase[user_options]</a></td>
</if>
<if condition="$show['giveinfraction']">
<td class="vbmenu_control"><a href="infraction.php?$session[sessionurl]do=report&amp;u=$userinfo[userid]">$vbphrase[give_infraction]</a></td>
</if>
</tr>
</table>
</if>
<!-- / button row -->

<br />

$template_hook[memberinfo_pos2]

<if condition="$show['infractions']">
<!-- infractions row -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat" colspan="$colspan"><span style="float:$stylevar[right]" class="smallfont"><phrase 1="$userinfo[ipoints]">$vbphrase[x_points_total]</phrase>&nbsp; &nbsp;</span>$vbphrase[infractions]</td>
</tr>
<tr>
<td class="thead">&nbsp;</td>
<td class="thead">$vbphrase[post]</td>
<td class="thead">$vbphrase[date]</td>
<td class="thead">$vbphrase[expires]</td>
<td class="thead">$vbphrase[points]</td>
<td class="thead">$vbphrase[reason]</td>
<td class="thead" nowrap="nowrap">$vbphrase[posted_by]</td>
<if condition="$show['reverse']"><td class="thead">$vbphrase[details]</td></if>
</tr>
$infractionbits
</table>
<if condition="$pagenav">
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-top:3px">
<tr valign="bottom">
<td align="$stylevar[right]">$pagenav</td>
</tr>
</table>
</if>
<!-- / infractions row -->
<br />
</if>

$template_hook[memberinfo_pos3]

<if condition="$show['signature']">
<!-- signature row -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="thead">$vbphrase[signature]</td>
</tr>
<tr>
<td class="alt1" title="$vbphrase[signature]">$userinfo[signature]</td>
</tr>
</table>
<!-- / signature row -->
<br />
</if>

$template_hook[memberinfo_pos4]

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat" width="50%">$vbphrase[forum_info]</td>
<td class="tcat" width="50%">$vbphrase[contact_info]</td>
</tr>
<tr valign="top">

<td class="panelsurround" align="center">
<div class="panel">
<div align="$stylevar[left]">

<div class="fieldset">
<div style="padding:$stylevar[formspacer]px">
$vbphrase[join_date]: <strong>$userinfo[datejoined]</strong>
</div>
</div>

<fieldset class="fieldset">
<legend>$vbphrase[posts]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<tr>
<td>
$vbphrase[total_posts]: <strong>$userinfo[posts]</strong> (<phrase 1="$postsperday">$vbphrase[x_posts_per_day]</phrase>)
</td>
</tr>
<if condition="$vboptions['profilelastpost']">
<tr>
<td>
$vbphrase[last_post]:<br />
<a href="$userinfo[lastposturl]">$userinfo[lastposttitle]</a><br />
$userinfo[lastpostdate] <span class="time">$userinfo[lastposttime]</span>
</td>
</tr>
</if>
<tr>
<td><a href="search.php?$session[sessionurl]do=finduser&amp;u=$userinfo[userid]" rel="nofollow"><phrase 1="$userinfo[username]">$vbphrase[find_all_posts_by_x]</phrase></a></td>
</tr>
<tr>
<td><a href="search.php?$session[sessionurl]do=finduser&amp;u=$userinfo[userid]&amp;starteronly=1" rel="nofollow"><phrase 1="$userinfo[username]">$vbphrase[find_all_threads_started_by_x]</phrase></a></td>
</tr>
</table>
</fieldset>

<if condition="$vboptions['usereferrer']">
<div class="fieldset">
<div style="padding:$stylevar[formspacer]px">
$vbphrase[referrals]: <strong>$referrals</strong>
</div>
</div>
</if>

<if condition="$show['usernotes']">
<div class="fieldset">
<div style="padding:$stylevar[formspacer]px">
$vbphrase[user_notes]:
<if condition="$show['usernoteview']">
<strong>$usernote[total]</strong> [<a href="usernote.php?$session[sessionurl]u=$userinfo[userid]">$vbphrase[view]</a>]
</if>
<if condition="$show['usernotepost']">
[<a href="usernote.php?$session[sessionurl]do=newnote&amp;u=$userinfo[userid]">$vbphrase[post_user_note]</a>]
</if>
<if condition="$show['usernoteview']">
<br />($vbphrase[last_note]: $usernote[lastpostdate] <span class="time">$usernote[lastposttime]</span>)
</if>
</div>
</div>
</if>

$template_hook[memberinfo_foruminfo]

</div>
</div>
</td>

<td class="panelsurround" align="center">
<div class="panel">
<div align="$stylevar[left]">

<div class="fieldset">
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<if condition="!$show['contactlinks']">
<tr>
<td><strong><phrase 1="$userinfo[username]">$vbphrase[x_has_no_contact_info]</phrase></strong></td>
</tr>
</if>
<if condition="$show['homepage']">
<tr>
<td>
$vbphrase[home_page]:<br />
<a href="$userinfo[homepage]" target="_blank" dir="ltr">$userinfo[homepage]</a>
</td>
</tr>
</if>
<if condition="$show['email']">
<tr>
<td>
$vbphrase[email]:<br />
<a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$userinfo[userid]" rel="nofollow"><phrase 1="$userinfo[username]">$vbphrase[send_message_via_email_to_x]</phrase></a>
</td>
</tr>
</if>
<if condition="$show['pm']">
<tr>
<td>
$vbphrase[private_message]:<br />
<a href="private.php?$session[sessionurl]do=newpm&amp;u=$userinfo[userid]" rel="nofollow"><phrase 1="$userinfo[username]">$vbphrase[send_private_message_to_x]</phrase></a>
</td>
</tr>
</if>
</table>
</div>

<if condition="$show['hasimicons']">
<fieldset class="fieldset">
<legend>$vbphrase[instant_messaging]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<if condition="$show['textimicons']">
<if condition="$userinfo['showicq']">
<tr>
<td>$vbphrase[icq]</td>
<td>$userinfo[icq]</td>
</tr>
</if>
<if condition="$userinfo['showaim']">
<tr>
<td>$vbphrase[aim]</td>
<td>$userinfo[aim]</td>
</tr>
</if>
<if condition="$userinfo['showmsn']">
<tr>
<td>$vbphrase[msn]</td>
<td>$userinfo[msn]</td>
</tr>
</if>
<if condition="$userinfo['showyahoo']">
<tr>
<td>$vbphrase[yahoo]</td>
<td>$userinfo[yahoo]</td>
</tr>
</if>
<if condition="$userinfo['skype']">
<tr>
<td>$vbphrase[skype]</td>
<td>$userinfo[skype]</td>
</tr>
</if>
<else />
<if condition="$userinfo['showicq']">
<tr>
<td>$userinfo[icqicon]</td>
<td><a href="#" dir="ltr" onclick="imwindow('icq', '$userinfo[userid]', 500, 450); return false;">$userinfo[icq]</a></td>
</tr>
</if>
<if condition="$userinfo['showaim']">
<tr>
<td>$userinfo[aimicon]</td>
<td><a href="#" dir="ltr" onclick="imwindow('aim', '$userinfo[userid]', 400, 200); return false;">$userinfo[aim]</a></td>
</tr>
</if>
<if condition="$userinfo['showmsn']">
<tr>
<td>$userinfo[msnicon]</td>
<td><a href="#" dir="ltr" onclick="imwindow('msn', '$userinfo[userid]', 400, 200); return false;">$userinfo[msn]</a></td>
</tr>
</if>
<if condition="$userinfo['showyahoo']">
<tr>
<td>$userinfo[yahooicon]</td>
<td><a href="#" dir="ltr" onclick="imwindow('yahoo', '$userinfo[userid]', 400, 200); return false;">$userinfo[yahoo]</a></td>
</tr>
</if>
<if condition="$userinfo['showskype']">
<tr>
<td>$userinfo[skypeicon]</td>
<td><a href="#" dir="ltr" onclick="imwindow('skype', '$userinfo[userid]', 400, 285); return false;">$userinfo[skype]</a></td>
</tr>
</if>
</if>
$template_hook[memberinfo_iminfo]
</table>
</fieldset>
</if>

$template_hook[memberinfo_contactinfo]
</div>
</div>
</td>

</tr>
<tr>
<td class="tcat" width="50%">$vbphrase[additional_information]</td>
<td class="tcat" width="50%">$vbphrase[group_memberships]</td>
</tr>
<tr valign="top">

<td class="panelsurround" align="center">
<div class="panel">
<div align="$stylevar[left]">
<if condition="$show['extrainfo']">
<dl id="additionalinfo_list">
<if condition="$show['birthday']">
<dt class="smallfont"><strong>$vbphrase[birth_date]</strong>:</dt>
<dd class="smallfont">$userinfo[birthday]</dd>
</if>
<if condition="$show['age']">
<dt class="smallfont"><strong>$vbphrase[age]</strong>:</dt>
<dd class="smallfont">$userinfo[age]</dd>
</if>
$customfields
</dl>
<else />
<em>$vbphrase[n_a]</em>
</if>

$template_hook[memberinfo_additionalinfo]
</div>
</div>
</td>

<td class="panelsurround" align="center">
<div class="panel">
<div align="$stylevar[left]">
<if condition="$show['membergroups']">
<dl id="membergroups_list" class="smallfont">
$membergroupbits
</dl>
<else />
<div class="smallfont"><strong><phrase 1="$userinfo[username]">$vbphrase[x_is_not_a_member_of_any_public_groups]</phrase></strong></div>
</if>

$template_hook[memberinfo_groups]
</div>
</div>
</td>

</tr>
</table>
<br />

$footer

</body>
</html>

Alfa1
01-26-2008, 06:48 AM
Please port this awesome hack to vb 3.7. I'll donate if you do.

hilfe-forum
02-16-2008, 06:55 AM
Thanks alot 4x4 Mecca fot this Hack!
I Love it :D

In my Board the User-Avatar display in navbar template to.
I add the Code in navbar t. too but dont work.
If i visit a user-profil page it works but i see the Video from the User in the Navbar not my Video.
Cracy :D
How can i change this?

Edit:
Ok found the problem now it works ;)

TopNotch
02-20-2008, 02:39 PM
Is there any way I can allow members who have over 2,000 posts on my forums to use this? how could i set that up?:D

Digital Jedi
02-22-2008, 08:23 PM
I have 3.6.8 PL2. It won't work heres the code


<if condition="in_array($post['usergroupid'], array(5,6,7,12,14)) AND $post[field5]">
<td>
<object width="150" height="123.5"><param name="movie" value="http://www.youtube.com/v/$post[field5]"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/$post[field5]" 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>&nbsp;</td>
</if>
</if>
</if>

You have the Usergroups ID Numbers set to the same ones that come in the example. Do you actually have user groups that use those numbers? Because your supposed to set those to the ID Numbers of the User Groups you want it to work for.

Also, just to make things easier, you might want to use [CODE], [PHP] or [HTML] tags next time. Makes it easier to read. ;)

Digital Jedi
02-22-2008, 08:24 PM
Well, inexplicably this stopped working on my forum one day. No rhyme or reason. I'm double checking now, but I can't imagine why that happened.

Division
02-26-2008, 04:49 AM
I followed the video carefully and edited the postbit, postbit legacy, and MEMBERSINFO.

I did something right though because this shows up on the EDITPROFILE option in the USERCP

http://img82.imageshack.us/img82/1069/picture11nt2.png (http://imageshack.us)

But the videos dont show up. Help?


$template_hook[postbit_start]
<table class="tborder" id="post$post[postid]" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="thead" $post[scrolltothis]>
<div class="normal" style="float:$stylevar[right]">
&nbsp;
<if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&amp;postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a> &nbsp;</if>
<if condition="$show['reputationlink']">
<span id="reputationmenu_$post[postid]"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow" id="reputation_$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a></span>
<if condition="$show['popups']"><script type="text/javascript"> vbrep_register("$post[postid]")</script></if>&nbsp;
</if>
<if condition="$show['infractionlink']"><a href="infraction.php?$session[sessionurl]do=report&amp;p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/infraction.gif" alt="<phrase 1="$post[username]">$vbphrase[add_infraction_for_x]</phrase>" border="0" /></a> &nbsp;</if>
<if condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]" border="0" /></a> &nbsp;</if>
$post[iplogged]
<if condition="$show['inlinemod']">
<input type="checkbox" name="plist[$postid]" id="plist_$postid" style="vertical-align:middle; padding:0px; margin:0px 0px 0px 5px" value="$post[checkbox_value]" />
</if>
</div>

<div class="normal">
<!-- status icon and date -->
<a name="post$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" /></a>
<if condition="!$show['announcement']">
$post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if>
<else />
<phrase 1="$post[startdate]" 2="$post[enddate]">$vbphrase[x_until_y]</phrase>
</if>
$post[firstnewinsert]
<!-- / status icon and date -->
</div>
</td>
</tr>
<tr>
<td class="alt2" style="padding:0px">
<!-- user info -->
<table cellpadding="0" cellspacing="$stylevar[cellpadding]" border="0" width="100%">
<tr>
<if condition="in_array($post['23'], array(5,6,7,12,14)) AND $post[field5]">
<div class="smallfont">
<object width="150" height="123.5"><param name="movie" value="http://www.youtube.com/v/$post[field5]"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/$post[field5]" type="application/x-shockwave-flash" wmode="transparent" width="150" height="123.5"></embed></object>
</div>
<else />
<if condition="$show['avatar']">
<div class="smallfont">
&nbsp;<br /><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>
</div>
</if>
</if>
<td nowrap="nowrap">

<div id="postmenu_$post[postid]">
<if condition="$show['profile']">
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
$post[onlinestatus]
<script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
<else />
$post[musername]
</if>
</div>

<if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if>
<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
$template_hook[postbit_userinfo_left]

</td>
<td width="100%">&nbsp;</td>
<td valign="top" nowrap="nowrap">

<div class="smallfont">
<if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>
<if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
<if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>
<div>
$vbphrase[posts]: $post[posts]
</div>

<if condition="$vboptions['enable_htnx_tag'] AND in_array(THIS_SCRIPT, array('showthread', 'showpost', 'editpost'))">
<div>
<if condition="$bbuserinfo['userid'] == $post['userid'] OR in_array($post['postid'], $hidetag['said_thanks'])">
<img src='$stylevar[imgdir_misc]/thanks.gif' alt="" border="0" />
<else />
<a href="showthread.php?t=$post[threadid]&amp;thanks=$post[postid]"><img src='$stylevar[imgdir_misc]/thanks.gif' alt="$vbphrase[say_thank_you]" border="0" /></a>
</if> = $post_thanks_count $vbphrase[for_this_post] / $user_thanks_count $vbphrase[total]
</div>
</if>
$template_hook[postbit_userinfo_right_after_posts]
<if condition="$show['infraction']"><div>$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if>
<if condition="$show['reputation']"><if condition="$show['reppower']">$vbphrase[reppower]: <span id="reppower_$post[postid]_$post[userid]">$post[reppower]</span> </if><div>
<span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div></if>


$template_hook[postbit_userinfo_right]
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
</div>

</td>
</tr>
</table>
<!-- / user info -->
</td>
</tr>
<tr>
<td class="alt1" id="td_post_$post[postid]">
<!-- message, attachments, sig -->

$template_hook[postbit_messagearea_start]

<if condition="$show['messageicon'] OR $post['title']">
<!-- icon and title -->
<div class="smallfont">
<if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
<if condition="$post['title']"><strong>$post[title]</strong></if>
</div>
<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<!-- / icon and title -->
</if>

<!-- message -->
<div id="post_message_$post[postid]">$post[message]</div>
<!-- / message -->

<if condition="$show['attachments']">
<!-- attachments -->
<div style="padding:$stylevar[cellpadding]px">

<if condition="$show['thumbnailattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_thumbnails]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[thumbnailattachments]
</div>
</fieldset>
</if>

<if condition="$show['imageattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[imageattachments]
</div>
</fieldset>
</if>

<if condition="$show['imageattachmentlink']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[imageattachmentlinks]
</table>
</fieldset>
</if>

<if condition="$show['otherattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_files]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[otherattachments]
</table>
</fieldset>
</if>

<if condition="$show['moderatedattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attachments_pending_approval]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[moderatedattachments]
</table>
</fieldset>
</if>

</div>
<!-- / attachments -->
</if>

$template_hook[postbit_signature_start]

<if condition="$post['signature']">
<!-- sig -->
<div>
__________________<br />
$post[signature]
</div>
<!-- / sig -->
</if>

$template_hook[postbit_signature_end]

<if condition="$show['postedited']">
<!-- edit note -->
<div class="smallfont"> <hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<em>
<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>.
<if condition="$post['edit_reason']">$vbphrase[reason]: $post[edit_reason]</if>
</em>
</div>
<!-- / edit note -->
</if>

<div style="margin-top: 10px" align="$stylevar[right]">
<!-- controls -->
<if condition="$post['editlink']">
<img style="display: none" id="progress_$postid" src="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[loading_editor_please_wait]" />
<a href="$post[editlink]" name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a>
</if>
<if condition="$post['forwardlink']">
<a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a>
</if>
<if condition="$post['replylink']">
<a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>
</if>
<if condition="$show['multiquote_post']">
<a href="$post[replylink]" rel="nofollow" onclick="return false"><img src="$stylevar[imgdir_button]/multiquote_<if condition="$show['multiquote_selected']">on<else />off</if>.gif" alt="$vbphrase[multi_quote_this_message]" border="0" id="mq_$post[postid]" /></a>
</if>
<if condition="$show['quickreply'] AND !$show['threadedmode']">
<a href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onclick="return false"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a>
</if>
<if condition="$show['moderated']">
<img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_post]" border="0" />
</if>
<if condition="$show['deletedpost']">
<img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[deleted_post]" border="0" />
</if>
<if condition="$show['redcard']">
<a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/redcard.gif" alt="$vbphrase[received_infraction]" border="0" /></a>
<else />
<if condition="$show['yellowcard']">
<a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/yellowcard.gif" alt="$vbphrase[received_warning]" border="0" /></a>
</if>
</if>
$template_hook[postbit_controls]
<!-- / controls -->
</div>

<!-- message, attachments, sig -->

</td>
</tr>
</table>
$template_hook[postbit_end]

<!-- post $post[postid] popup menu -->
<div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none;">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$post[username]</td>
</tr>
<if condition="$show['profile']">
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr>
</if>
<if condition="$show['pmlink']">
<tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['emaillink']">
<tr><td class="vbmenu_option"><a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['homepage']">
<tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr>
</if>
<if condition="$show['search']">
<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_all_posts_by_x]</phrase></a></td></tr>
</if>
<if condition="$post['userid'] AND $show['member']">
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr>
</if>
$template_hook[postbit_user_popup]
</table>
</div>
<!-- / post $post[postid] popup menu -->

Digital Jedi
02-28-2008, 10:53 PM
I followed the video carefully and edited the postbit, postbit legacy, and MEMBERSINFO.

I did something right though because this shows up on the EDITPROFILE option in the USERCP



But the videos dont show up. Help?

This line is your problem.
<if condition="in_array($post['23'], array(5,6,7,12,14)) AND $post[field5]">

You weren't supposed to change $post['usergroupid']. If you want User Group ID 23 to be the only one to use these avatars, then it should look like this.
<if condition="in_array($post['usergroupid], array(23)) AND $post[field5]">

You select the user groups you want to use this by putting their ID number in the $array(), separating multiple ID numbers with a comma.

bago200
03-05-2008, 10:53 PM
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:)

Hey how your doing, i am having the same issue but the only difference is, i have done everything and it still does not show, sorry, i am a newbie but i have the latest version of vb.3.6.8

Digital Jedi
03-06-2008, 06:48 AM
I think the majority of the problems people are having with this not showing up is there's no clear instruction telling them that they have to change the array(5,6,7,12,14) to the Usergroup ID numbers they want using this.

TopNotch
03-11-2008, 12:24 AM
Hi, I love this hack I have been using it for about 2 weeks now but took it off recently. I would like to put it back up but I have a question. I noticed that only Admins are able to view the video as my avatar. Other like regular members don't see the video avatar they only see my old regular avatar. I think this is because I did not set the viewing permissions to everyone. I tried to edit it but I can't seem to find where to go to fix my problem. Could anyone help me?

Thank You

nectons
03-11-2008, 12:54 AM
just perfect... works perfect.. you are great man.. thanks

instaled and motm

TopNotch
03-12-2008, 01:02 AM
Hi, I love this hack I have been using it for about 2 weeks now but took it off recently. I would like to put it back up but I have a question. I noticed that only Admins are able to view the video as my avatar. Other like regular members don't see the video avatar they only see my old regular avatar. I think this is because I did not set the viewing permissions to everyone. I tried to edit it but I can't seem to find where to go to fix my problem. Could anyone help me?

Thank You

anyone?

Digital Jedi
03-12-2008, 04:31 AM
anyone?
There really shouldn't be any reason it would do that. The permission array is only for those who can use the avatars, not see it. It could be possible that you had your if conditionals set up wrong, maybe wrapping it inside one farther up the code block.

TopNotch
03-12-2008, 06:08 PM
There really shouldn't be any reason it would do that. The permission array is only for those who can use the avatars, not see it. It could be possible that you had your if conditionals set up wrong, maybe wrapping it inside one farther up the code block.

If I had that wrong then it wouldnt work at all. But this way I see it when Iam logged into my admin account but when I log into my regular members account it doesn't show up.

Digital Jedi
03-13-2008, 08:04 AM
Not necessarily. If you have it wrapped in a conditional that's permission based, then that would cause the same effect. I'm speculating of course. Post your template code like the others did and we may be able to see what's causing it. Often times its something small like a character out of place.

Rideharder
03-16-2008, 07:32 PM
sweet works good!

Majava
03-26-2008, 02:28 AM
I think I have a fix for you. Use this code instead:

<if condition="in_array($post['usergroupid'], array(5,6,7,22,48)) AND $post[field8]">
<td class="alt2">
<object width="150" height="123.5"><param name="movie" value="http://www.youtube.com/v/$post[field8]"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/$post[field8]" type="application/x-shockwave-flash" wmode="transparent" width="150" height="123.5"></embed></object>
</td>
<else />
<if condition="$show['avatar']">
<td class="alt2">
&nbsp;<br /><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>

I was getting the same error as you so I switched from:

<div class="smallfont">

to:

<td class="alt2">

with the respective closing tag </td> and it works fine.

Thank you so much, I was about to give up on this hack!

Alfa1
03-26-2008, 06:45 PM
Please upgrade this to vb 3.7.

nectons
03-27-2008, 02:13 PM
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.

Man it is stil working perfect except the LEFT aligned problem. I have the same problem with you.. did you find any solution to center all avatars ?

Anyone plz ? :)

Rideharder
04-11-2008, 03:26 AM
Thanks for the video!!!!:)

tei727
05-02-2008, 02:30 PM
Please upgrade this to vb 3.7.bump :):D

Digital Jedi
05-03-2008, 05:11 AM
bump :):D
I haven't fooled with the 3.7 templates all that much yet, but shouldn't the code be exactly the same?

Alfa1
05-03-2008, 03:28 PM
It's different.

fukdawrld
05-09-2008, 11:40 PM
most excellent works fine on 3.7 gold .now if you can give me instructions on how to do continuous play that would be even better., first response in a thread has this option is "the only one that plays continuous"

eXoOutsider
05-10-2008, 12:37 AM
This did not work for me on Vbulletin 3.7. It was close, but the template edits were a bit off. It messes up the entire postbit. Anyone have any ideas?

MiahBeSmokin420
05-10-2008, 02:07 AM
This did not work for me on Vbulletin 3.7. It was close, but the template edits were a bit off. It messes up the entire postbit. Anyone have any ideas?

is your postbit and/or postbit legacy which ever you are doing this to
was it already modified before you tried to do this

if so let me get a copy of that and i will take a look

most likely it is something small and easy to work around 98% of this stuff is

AzH
05-11-2008, 07:09 AM
I have it working on 3.7.0. Same/similar code. In what way does it mess up the template? A common theme is the avatar appearing above the user info (ranks etc). The way around this is to look at your original template and find the bit in between:

<if condition="$show['avatar']"> and <a href="member.php?$session[sessionurl]u=$post[userid]">

It could be something like:

<td class="alt2">

And change the <div class="smallfont"> in the installation guide to your original code above.

Be sure to change the closing tag from div to td if this is the case.

It's very early, I'm not sure if that made any sense. :/

eXoOutsider
05-11-2008, 12:27 PM
I have it working on 3.7.0. Same/similar code. In what way does it mess up the template? A common theme is the avatar appearing above the user info (ranks etc). The way around this is to look at your original template and find the bit in between:

<if condition="$show['avatar']"> and <a href="member.php?$session[sessionurl]u=$post[userid]">

It could be something like:

<td class="alt2">

And change the <div class="smallfont"> in the installation guide to your original code above.

Be sure to change the closing tag from div to td if this is the case.

It's very early, I'm not sure if that made any sense. :/

It messes up the template in that it makes another column to the right of the postbit, and places all the user info fields above the first postbit, it's probably just a small table error

AzH
05-12-2008, 04:53 PM
Probably right. Post your postbit code so we can have a look?

eXoOutsider
05-13-2008, 10:20 AM
$template_hook[postbit_start]
<table id="post$post[postid]" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
<tr>
<if condition="$show['announcement']">
<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]" colspan="2">
<img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" />
<phrase 1="$post[startdate]" 2="$post[enddate]">$vbphrase[x_until_y]</phrase>
</td>
<else />
<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-$stylevar[right]: 0px" $post[scrolltothis]>
<!-- status icon and date -->
<a name="post$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" /></a>
$post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if>
$post[firstnewinsert]
<!-- / status icon and date -->
</td>
<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-$stylevar[left]: 0px" align="$stylevar[right]">
&nbsp;
<if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&amp;postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a></if>
<if condition="$show['inlinemod']">
<input type="checkbox" name="plist[$postid]" id="plist_$postid" style="vertical-align:middle; padding:0px; margin:0px 0px 0px 5px" value="$post[checkbox_value]" />
</if>
</td>
</if>
</tr>
<tr valign="top">
<td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px">

<div id="postmenu_$post[postid]">
<if condition="$show['profile']">
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
<script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
<else />
$post[musername]
</if>
</div>

<if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if>
<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
$template_hook[postbit_userinfo_left]


<if condition="$show['avatar']">
<div class="smallfont">
&nbsp;<br /><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>

</div>
</if>

<div class="smallfont">
&nbsp;<br />
$post[crowns]$post[champtext]<br />
<if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>
<if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
<if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>
<div>
$vbphrase[posts]: $post[posts]
<br />Referrals: $referrals
</div>
$template_hook[postbit_userinfo_right_after_posts]
<if condition="$show['infraction']"><div>$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if>
<if condition="$show['reputation']"><div><if condition="$show['reppower']">$vbphrase[reppower]: <span id="reppower_$post[postid]_$post[userid]">$post[reppower]</span> </if><span id="repdisplay_$post[postid]_$post[userid]"><if condition="$post['showreputation']">$vbphrase[reputation]: $post[reputation] </if>$post[reputationdisplay] </span></div></if>
$template_hook[postbit_userinfo_right]
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
</div>

</td>
<if condition="$show['moderated']">
<td class="alt2" id="td_post_$post[postid]" style="border-$stylevar[right]: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]">
<else />
<td class="alt1" id="td_post_$post[postid]" style="border-$stylevar[right]: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]">
</if>
$template_hook[postbit_messagearea_start]
<if condition="$show['messageicon'] OR $post['title']">
<!-- icon and title -->
<div class="smallfont">
<if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
<if condition="$post['title']"><strong>$post[title]</strong></if>
</div>
<hr size="1" style="color:$stylevar[tborder_bgcolor]; background-color:$stylevar[tborder_bgcolor]" />
<!-- / icon and title -->
</if>

<!-- message -->
<div id="post_message_$post[postid]">$post[message]</div>
<!-- / message -->

<if condition="$show['attachments']">
<!-- attachments -->
<div style="padding:$stylevar[cellpadding]px">

<if condition="$show['thumbnailattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_thumbnails]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[thumbnailattachments]
</div>
</fieldset>
</if>

<if condition="$show['imageattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[imageattachments]
</div>
</fieldset>
</if>

<if condition="$show['imageattachmentlink']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[imageattachmentlinks]
</table>
</fieldset>
</if>

<if condition="$show['otherattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_files]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[otherattachments]
</table>
</fieldset>
</if>

<if condition="$show['moderatedattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attachments_pending_approval]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[moderatedattachments]
</table>
</fieldset>
</if>

</div>
<!-- / attachments -->
</if>

$template_hook[postbit_signature_start]

<if condition="$post['signature']">
<!-- sig -->
<div>
__________________<br />
$post[signature]
</div>
<!-- / sig -->
</if>

$template_hook[postbit_signature_end]

<if condition="$show['postedited']">
<!-- edit note -->
<div class="smallfont">
<hr size="1" style="color:$stylevar[tborder_bgcolor]; background-color:$stylevar[tborder_bgcolor]" />
<em>
<if condition="$show['postedithistory']">
<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]" 4="posthistory.php?$session[sessionurl]p=$post[postid]">$vbphrase[last_edited_link_by_x_on_y_at_z_postid]</phrase>.
<else />
<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>.
</if>
<if condition="$post['edit_reason']">
$vbphrase[reason]: $post[edit_reason]
</if>
</em>
</div>
<!-- / edit note -->
</if>

</td>
</tr>
<tr>
<td class="alt2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px">
$post[onlinestatus]
<if condition="$show['reputationlink']">
<span id="reputationmenu_$post[postid]"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow" id="reputation_$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a></span>
<if condition="$show['popups']"><script type="text/javascript"> vbrep_register("$post[postid]")</script></if>
</if>
<if condition="$show['infractionlink']"><a href="infraction.php?$session[sessionurl]do=report&amp;p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/infraction.gif" alt="<phrase 1="$post[username]">$vbphrase[add_infraction_for_x]</phrase>" border="0" /></a></if>
<if condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]" border="0" /></a></if>
$post[iplogged]
&nbsp;
</td>
<if condition="$show['moderated']">
<td class="alt2" align="$stylevar[right]" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-$stylevar[left]: 0px; border-top: 0px">
<else />
<td class="alt1" align="$stylevar[right]" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-$stylevar[left]: 0px; border-top: 0px">
</if>
<!-- controls -->
<if condition="$post['editlink']">
<img style="display: none" id="progress_$postid" src="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[loading_editor_please_wait]" />
<a href="$post[editlink]" name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a>
</if>
<if condition="$post['forwardlink']">
<a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a>
</if>
<if condition="$post['replylink']">
<a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>
</if>
<if condition="$show['multiquote_post']">
<a href="$post[replylink]" rel="nofollow" onclick="return false"><img src="$stylevar[imgdir_button]/multiquote_<if condition="$show['multiquote_selected']">on<else />off</if>.gif" alt="$vbphrase[multi_quote_this_message]" border="0" id="mq_$post[postid]" /></a>
</if>
<if condition="$show['quickreply'] AND !$show['threadedmode']">
<a href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onclick="return false"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a>
</if>
<if condition="$show['moderated']">
<img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_post]" border="0" />
</if>
<if condition="$show['spam']">
<img src="$stylevar[imgdir_misc]/spam_detected.png" alt="$vbphrase[spam_post]" border="0" />
</if>
<if condition="$show['deletedpost']">
<if condition="$show['managepost']">
<a href="postings.php?$session[sessionurl]do=managepost&amp;p=$post[postid]"><img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[manage]" border="0" /></a>
<else />
<img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[deleted_post]" border="0" />
</if>
</if>
<if condition="$show['redcard']">
<a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/redcard.gif" alt="$vbphrase[received_infraction]" border="0" /></a>
<else />
<if condition="$show['yellowcard']">
<a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/yellowcard.gif" alt="$vbphrase[received_warning]" border="0" /></a>
</if>
</if>
$template_hook[postbit_controls]
<!-- / controls -->
</td>
</tr>
</table>
$template_hook[postbit_end]

<!-- post $post[postid] popup menu -->
<div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$post[username]</td>
</tr>
<if condition="$show['profile']">
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr>
</if>
<if condition="$show['pmlink']">
<tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['emaillink']">
<tr><td class="vbmenu_option"><a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['homepage']">
<tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr>
</if>
<if condition="$show['search']">
<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_more_posts_by_x]</phrase></a></td></tr>
</if>
<if condition="$post['userid'] AND $show['member']">
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_contacts]</phrase></a></td></tr>
</if>
$template_hook[postbit_user_popup]
</table>
</div>
<!-- / post $post[postid] popup menu -->

There's my postbit_legacy, vb 3.7

se_p800
05-13-2008, 12:13 PM
Works like a charm, thanks :D

eXoOutsider
05-14-2008, 09:52 AM
Anyone have any ideas?

eXoOutsider
05-30-2008, 02:33 PM
Anyone ?? :(

ExTincTi0N
05-31-2008, 01:22 AM
Will this be coming out for 3.7 by any chance?

Digital Jedi
06-02-2008, 09:45 AM
$template_hook[postbit_start]
<table id="post$post[postid]" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
<tr>
<if condition="$show['announcement']">
<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]" colspan="2">
<img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" />
<phrase 1="$post[startdate]" 2="$post[enddate]">$vbphrase[x_until_y]</phrase>
</td>
<else />
<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-$stylevar[right]: 0px" $post[scrolltothis]>
<!-- status icon and date -->
<a name="post$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" /></a>
$post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if>
$post[firstnewinsert]
<!-- / status icon and date -->
</td>
<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-$stylevar[left]: 0px" align="$stylevar[right]">
&nbsp;
<if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&amp;postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a></if>
<if condition="$show['inlinemod']">
<input type="checkbox" name="plist[$postid]" id="plist_$postid" style="vertical-align:middle; padding:0px; margin:0px 0px 0px 5px" value="$post[checkbox_value]" />
</if>
</td>
</if>
</tr>
<tr valign="top">
<td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px">

<div id="postmenu_$post[postid]">
<if condition="$show['profile']">
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
<script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
<else />
$post[musername]
</if>
</div>

<if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if>
<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
$template_hook[postbit_userinfo_left]


<if condition="$show['avatar']">
<div class="smallfont">
&nbsp;<br /><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>

</div>
</if>

<div class="smallfont">
&nbsp;<br />
$post[crowns]$post[champtext]<br />
<if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>
<if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
<if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>
<div>
$vbphrase[posts]: $post[posts]
<br />Referrals: $referrals
</div>
$template_hook[postbit_userinfo_right_after_posts]
<if condition="$show['infraction']"><div>$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if>
<if condition="$show['reputation']"><div><if condition="$show['reppower']">$vbphrase[reppower]: <span id="reppower_$post[postid]_$post[userid]">$post[reppower]</span> </if><span id="repdisplay_$post[postid]_$post[userid]"><if condition="$post['showreputation']">$vbphrase[reputation]: $post[reputation] </if>$post[reputationdisplay] </span></div></if>
$template_hook[postbit_userinfo_right]
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
</div>

</td>
<if condition="$show['moderated']">
<td class="alt2" id="td_post_$post[postid]" style="border-$stylevar[right]: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]">
<else />
<td class="alt1" id="td_post_$post[postid]" style="border-$stylevar[right]: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]">
</if>
$template_hook[postbit_messagearea_start]
<if condition="$show['messageicon'] OR $post['title']">
<!-- icon and title -->
<div class="smallfont">
<if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
<if condition="$post['title']"><strong>$post[title]</strong></if>
</div>
<hr size="1" style="color:$stylevar[tborder_bgcolor]; background-color:$stylevar[tborder_bgcolor]" />
<!-- / icon and title -->
</if>

<!-- message -->
<div id="post_message_$post[postid]">$post[message]</div>
<!-- / message -->

<if condition="$show['attachments']">
<!-- attachments -->
<div style="padding:$stylevar[cellpadding]px">

<if condition="$show['thumbnailattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_thumbnails]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[thumbnailattachments]
</div>
</fieldset>
</if>

<if condition="$show['imageattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[imageattachments]
</div>
</fieldset>
</if>

<if condition="$show['imageattachmentlink']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[imageattachmentlinks]
</table>
</fieldset>
</if>

<if condition="$show['otherattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_files]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[otherattachments]
</table>
</fieldset>
</if>

<if condition="$show['moderatedattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attachments_pending_approval]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[moderatedattachments]
</table>
</fieldset>
</if>

</div>
<!-- / attachments -->
</if>

$template_hook[postbit_signature_start]

<if condition="$post['signature']">
<!-- sig -->
<div>
__________________<br />
$post[signature]
</div>
<!-- / sig -->
</if>

$template_hook[postbit_signature_end]

<if condition="$show['postedited']">
<!-- edit note -->
<div class="smallfont">
<hr size="1" style="color:$stylevar[tborder_bgcolor]; background-color:$stylevar[tborder_bgcolor]" />
<em>
<if condition="$show['postedithistory']">
<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]" 4="posthistory.php?$session[sessionurl]p=$post[postid]">$vbphrase[last_edited_link_by_x_on_y_at_z_postid]</phrase>.
<else />
<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>.
</if>
<if condition="$post['edit_reason']">
$vbphrase[reason]: $post[edit_reason]
</if>
</em>
</div>
<!-- / edit note -->
</if>

</td>
</tr>
<tr>
<td class="alt2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px">
$post[onlinestatus]
<if condition="$show['reputationlink']">
<span id="reputationmenu_$post[postid]"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow" id="reputation_$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a></span>
<if condition="$show['popups']"><script type="text/javascript"> vbrep_register("$post[postid]")</script></if>
</if>
<if condition="$show['infractionlink']"><a href="infraction.php?$session[sessionurl]do=report&amp;p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/infraction.gif" alt="<phrase 1="$post[username]">$vbphrase[add_infraction_for_x]</phrase>" border="0" /></a></if>
<if condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]" border="0" /></a></if>
$post[iplogged]
&nbsp;
</td>
<if condition="$show['moderated']">
<td class="alt2" align="$stylevar[right]" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-$stylevar[left]: 0px; border-top: 0px">
<else />
<td class="alt1" align="$stylevar[right]" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-$stylevar[left]: 0px; border-top: 0px">
</if>
<!-- controls -->
<if condition="$post['editlink']">
<img style="display: none" id="progress_$postid" src="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[loading_editor_please_wait]" />
<a href="$post[editlink]" name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a>
</if>
<if condition="$post['forwardlink']">
<a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a>
</if>
<if condition="$post['replylink']">
<a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>
</if>
<if condition="$show['multiquote_post']">
<a href="$post[replylink]" rel="nofollow" onclick="return false"><img src="$stylevar[imgdir_button]/multiquote_<if condition="$show['multiquote_selected']">on<else />off</if>.gif" alt="$vbphrase[multi_quote_this_message]" border="0" id="mq_$post[postid]" /></a>
</if>
<if condition="$show['quickreply'] AND !$show['threadedmode']">
<a href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onclick="return false"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a>
</if>
<if condition="$show['moderated']">
<img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_post]" border="0" />
</if>
<if condition="$show['spam']">
<img src="$stylevar[imgdir_misc]/spam_detected.png" alt="$vbphrase[spam_post]" border="0" />
</if>
<if condition="$show['deletedpost']">
<if condition="$show['managepost']">
<a href="postings.php?$session[sessionurl]do=managepost&amp;p=$post[postid]"><img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[manage]" border="0" /></a>
<else />
<img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[deleted_post]" border="0" />
</if>
</if>
<if condition="$show['redcard']">
<a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/redcard.gif" alt="$vbphrase[received_infraction]" border="0" /></a>
<else />
<if condition="$show['yellowcard']">
<a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/yellowcard.gif" alt="$vbphrase[received_warning]" border="0" /></a>
</if>
</if>
$template_hook[postbit_controls]
<!-- / controls -->
</td>
</tr>
</table>
$template_hook[postbit_end]

<!-- post $post[postid] popup menu -->
<div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$post[username]</td>
</tr>
<if condition="$show['profile']">
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr>
</if>
<if condition="$show['pmlink']">
<tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['emaillink']">
<tr><td class="vbmenu_option"><a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['homepage']">
<tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr>
</if>
<if condition="$show['search']">
<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_more_posts_by_x]</phrase></a></td></tr>
</if>
<if condition="$post['userid'] AND $show['member']">
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_contacts]</phrase></a></td></tr>
</if>
$template_hook[postbit_user_popup]
</table>
</div>
<!-- / post $post[postid] popup menu -->

There's my postbit_legacy, vb 3.7

I don't see any reason why it wouldn't be working. The code is exactly the same to replace. What we really need to see is the edited postbit code what wasn't working for you, so we could trroubleshoot what was wrong with it.


It's different.

Will this be coming out for 3.7 by any chance?

The code is exactly the same.

Alfa1
06-02-2008, 11:58 AM
The MEMBERINFO and POSTBIT template are different. POSTBIT_LEGACY is the same.

SpeedJunkyz
09-06-2008, 09:18 PM
It not worky for me....what do you need from me to figure out why......

Digital Jedi
09-07-2008, 05:44 PM
It not worky for me....what do you need from me to figure out why......
Did you put it in the right template: postbit/postbit_legacy

RobbieZ
09-14-2008, 07:29 PM
Checking it out.. Fanx.. :D

*Edit*

This works fine for 3.7.3 in postbit with AzH code.

I have a quibble tho, Besides the fact it doesnt autoplay.

I set it for VIP and Mods only, but there is NO option to either have an Avatar or the Video Avatar.

You can only have it as Video Avatar only.

Sal Collaziano
09-16-2008, 07:26 PM
How can I get the user name, user title and badges (etcetera) NEXT to the YouTube avatar on the right? Any html gurus who could figure this out for me?

Thanks in advance...

http://www.cadillacforums.com/forums/1635055-post6.html

Here my code with a patched 3.7.2 installation:

<if condition="in_array($post['usergroupid'], array(6,65,66,41,64)) AND $post[field66]">
<div class="smallfont">
<object width="150" height="123.5"><param name="movie" value="http://www.youtube.com/v/$post[field66]"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/$post[field66]" type="application/x-shockwave-flash" wmode="transparent" width="150" height="123.5"></embed></object>
</div>
<else />

<if condition="$show['avatar']"><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>

indie2industry
05-08-2010, 04:27 PM
we need this for vb4

OldSchoolDSL
10-26-2010, 04:30 AM
we need this for vb4

Agreed.

There is a mod to add it into vBulletin 4, but it's not limited to profile groups

https://vborg.vbsupport.ru/showthread.php?t=250422

If someone could develop this further.

xenxo blanco
11-08-2010, 06:26 AM
Installed and working on VBulletin 3.8.5 :)