The Arcive of vBulletin Modifications Site. |
|
Avatar Opacity for online / offline Details »»
|
|||||||||||||||||||||||||
https://vborg.vbsupport.ru/showthread.php?t=64606
Another template edit turned hack. So here is the idea, when a user is online the avatar would be just like a regular avatar when they are offline the avatar would be faded Well for the postbit its very simple as the online varible is already there youll need to find Code:
<a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$avatarurl" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a> Code:
<a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$avatarurl" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" <if condition="$onlinestatus !=1">style="filter:alpha(opacity=90); -moz-opacity: 0.7;"</if> /></a> Next will be the online / offline avatar for the memberslist ![]() well sadly i forgot somthing because from time to time i need to remember im not a php coder, at this time i have not figured out how to get this to work in the memberlist yet, however i will keep working at it ^^ Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
hmmm I was doing this myself on vB 2 but it required a hack iirc, its a cool trick.
|
|
#3
|
||||
|
||||
|
Yea well the postbit status is not the hardone, but now that i think & look at it, i dont think there is a way to get it to work on the memberlist sadly
|
|
#4
|
||||
|
||||
|
Is indeed a cool trick.
Doesn't matter about the memberlist, doesn't have to show online/offline status for a person. They can look in the postbit.
|
|
#5
|
||||
|
||||
|
ME and boofo were talking about it at vB.org
however (moves) its in the right place now
|
|
#6
|
|||
|
|||
|
This works great except ... all avatars opacity is reduced, not just those that are offline. How can I screw up one line of text pasting?
?? |
|
#7
|
||||
|
||||
|
I'm finding the same ... and doing some debugging, it looks like the variable $onlinestatus does not exist in postbit - it's there in the postbit_onlinestatus, but not in postbit (I tested this by adding
Code:
Online: $onlinestatus Code:
Online: |
|
#8
|
||||
|
||||
|
Well, that is odd O.o it should work by all means, ill go and see why its not
<wonders off> |
|
#9
|
|||
|
|||
|
It´s not working for me either. Should it also work on vB 3.01 ?
|
|
#10
|
||||
|
||||
|
I'll test it out, I've been looking for this anyway.
![]() Indeed, it's not working... |
![]() |
|
|