View Full Version : Avatar Opacity For Online/Offline Members
Loyalty4Life
04-16-2004, 02:55 AM
I think there is a vB2 hack that shows a person's avatar slightly shaded if the person is offline. But if the person's online, his/her avatar is at 100% opacity.
Can this be done for vB3? Thoughts on the idea?
Loyalty4Life
04-16-2004, 09:40 PM
Anyone?
Loyalty4Life
04-18-2004, 03:25 AM
bump
Zachery
04-18-2004, 03:26 AM
its a template mod with some code that cna be found at vBT :)
lasto
04-18-2004, 05:56 AM
u got a direct link Zach ?
Im disabled :)
Loyalty4Life
04-18-2004, 06:58 AM
I didn't find the link on vBT. Do you know where it is?
lasto
04-18-2004, 07:21 AM
I looked but i never seen it either - spent 27m and 33 secs looking then gave up
Loyalty4Life
04-18-2004, 11:11 PM
Zach?
TouchingVirus
04-19-2004, 12:11 AM
From vbulletintemplates.com ...using search "Opacity" in all forums..and did a little quick writeup..
<if condition="$onlinestatus==0">
<if condition="$show['avatar']"><td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$avatarurl" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" style="filter:alpha(opacity=10) /></a></td></if>
<else />
<if condition="$show['avatar']"><td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$avatarurl" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td></if>
</if>
For some reason, it wont work..but the opacity bit works..figure out the if statements and your away :D
djnoz
04-19-2004, 09:09 AM
Oooh, I think I'm gonna implement this one. What a brilliant idea :D
Hmm, I expect that the variable $onlinestatus might be only specific for the template postbit_onlinestatus, i'll try and figure this out when I get home.
Slappy Nutz
04-19-2004, 10:45 AM
I had everything to do with the avatar in postbit_onlinestatus, then in postbit I yook out the avatar stuff and user $post[onlinestatus], the image opasity worked with no avatar's getting loaded. prolly have to be coded in
Curll
04-19-2004, 12:11 PM
I had everything to do with the avatar in postbit_onlinestatus, then in postbit I yook out the avatar stuff and user $post[onlinestatus], the image opasity worked with no avatar's getting loaded. prolly have to be coded in
Same at our site. Our lead programmer was up all night trying to figure it out, which I was reloading an old VB2 database. That poor bastard.
lasto
04-19-2004, 12:53 PM
u noticed how the simpliest of hacks dont work so good on vb3 and if they do u have to go about it the hard way - and yeah i hate phrases who ever invented them wants locking up :)
rant over :)
Slappy Nutz
04-19-2004, 06:27 PM
Same at our site. Our lead programmer was up all night trying to figure it out, which I was reloading an old VB2 database. That poor bastard.
Gimmpy waves a to Curll :squareeyed:
Curll
04-19-2004, 08:44 PM
Gimmpy waves a to Curll :squareeyed:
Hey buuuuhhdy
lasto
04-19-2004, 09:47 PM
* lasto puts both hands up so Curll and Slappy Nutz cant wave to one another.
There is channels for that sort of banter and it aint here :)
Loyalty4Life
04-19-2004, 10:28 PM
Does anyone have an answer to how to make this work?
Slappy Nutz
04-20-2004, 07:12 AM
I will tonight, dammit!
Slappy Nutz
04-23-2004, 10:40 AM
Heres the new problem I have, if I put this code
<if condition="$onlinestatus==0">
<div class="smallfont">
<br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$avatarurl" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" style="filter:alpha(opacity=10)" /></a>
</div></if>
<if condition="$onlinestatus==1">
<div class="smallfont">
<br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$avatarurl" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" style="filter:alpha(opacity=100)" /></a>
</div></if>
in postbit_online status,remove the $post[onlinestatus] from below and put that in place of the avatar code the shading part works but none of the avatars get loaded and mouse over just brings up 's Avatar insted of Username's Avatar. Someones gotta know what to do here.
Enjoy my kick ass photoshop
Slappy Nutz
04-26-2004, 10:43 AM
bumppy
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.