PDA

View Full Version : Change Opacity of Avatar


SuperFly
06-10-2006, 10:00 PM
Change the opacity level of your users avatars

In postbit or Postibt legacy find
<if condition="$show['avatar']">
<div class="smallfont">
&nbsp;<br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a>
</div>
</if>



Replace with
<if condition="$show['avatar']">
<div class="smallfont">
<br />
<a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" style="filter:alpha(opacity=200)" /></a>
</div> </if>

Change whats in green to change opacity, lower number less seen, higher the number the more it is visible.

Please click install if you use this.

Ntfu2
06-11-2006, 05:31 PM
Will this work in all browsers?

Boofo
06-11-2006, 05:48 PM
No, it will not, sorry to say. ;)

SuperFly
06-12-2006, 12:57 AM
I currently only works for IE, but 80% of web users use IE.

Boofo
06-12-2006, 01:17 AM
If you want the hack that will do this for online and offline, let me know. ;)

SuperFly
06-12-2006, 01:41 AM
If you want the hack that will do this for online and offline, let me know. ;)

I was trying to figure it out, but for some reason when there offline i cant get it to work.

aethro
06-12-2006, 01:43 AM
ty for this hack *clicks install*

Boofo
06-12-2006, 02:03 AM
I was trying to figure it out, but for some reason when there offline i cant get it to work.

Well, I have the code buro9 used for 3.0 but it is a file hack and works with all browsers. If you are interested in it, PM me and I will get it you and you can see what I did to convert it for 3.5. ;)

gulldarek
06-12-2006, 10:25 PM
To enable that in Firefox (and in Opera 9) replace original code with following:

<if condition="$show['avatar']">
<div class="smallfont">
<br />
<a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" style="filter:alpha(opacity=200); opacity: 0.2;" /></a>
</div> </if>

Tralala
06-19-2006, 11:45 PM
If you want the hack that will do this for online and offline, let me know. ;)

That'd be super suh-weeeet!!!

Revpolar
06-25-2006, 06:06 AM
Is there a way to remove the opacity when hovered?

PennylessZ28
07-08-2006, 07:57 PM
don't work in IE 7 beta 3

Snake
08-30-2006, 04:57 PM
Thanks for the hack! I'll install it right away...

miner
08-30-2006, 05:01 PM
ah thank you...

Warlord
09-17-2006, 03:38 AM
If you want the hack that will do this for online and offline, let me know. ;)



I'd like to see this made for 3.6.:)

VPREATR
10-07-2006, 10:27 PM
I too would like to see this interact with user(s) being online/offine; as I understand an addon exists for vB 3.0.x with that type of nature, but nothing for 3.6.x

Thanks!

VPREATR
10-07-2006, 10:28 PM
If you want the hack that will do this for online and offline, let me know. ;)
Yes, I do! (vB 3.6.x)

Tralala
02-16-2007, 12:10 PM
I too would like to see this interact with user(s) being online/offine; as I understand an addon exists for vB 3.0.x with that type of nature, but nothing for 3.6.x

Thanks!


+1
bump
and all that jazz

Would love to see avatars of offline users more opaque

That'd be slick!