PDA

View Full Version : Change Opacity of Avatar


SuperFly
11 Jun 2006, 17:49
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
11 Jun 2006, 18:31
Will this work in all browsers?

Boofo
11 Jun 2006, 18:48
No, it will not, sorry to say. ;)

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

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

SuperFly
12 Jun 2006, 02:41
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
12 Jun 2006, 02:43
ty for this hack *clicks install*

Boofo
12 Jun 2006, 03:03
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
12 Jun 2006, 23:25
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
20 Jun 2006, 00:45
If you want the hack that will do this for online and offline, let me know. ;)

That'd be super suh-weeeet!!!

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

PennylessZ28
08 Jul 2006, 20:57
don't work in IE 7 beta 3

Snake
30 Aug 2006, 17:57
Thanks for the hack! I'll install it right away...

miner
30 Aug 2006, 18:01
ah thank you...

Warlord
17 Sep 2006, 04:38
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
07 Oct 2006, 23:27
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
07 Oct 2006, 23:28
If you want the hack that will do this for online and offline, let me know. ;)
Yes, I do! (vB 3.6.x)

Tralala
16 Feb 2007, 13:10
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!