Quote:
Originally Posted by buro9
Boofo, could you post back your changes so that others can benefit?
I'm not running either version, but it'd be nice to roll up the best bits into a single post that we can point people at 
|
Sure, since you did all of the hard work.
For the memberlist:
In the memberlist_resultsbit template
Find:
HTML Code:
<if condition="$show['avatar']">
<img src="$avatarurl" border="0" alt="<phrase 1="$userinfo[username]">$vbphrase[xs_avatar]</phrase>" hspace="4" vspace="4" /><else /> </if>
REPLACE it with:
HTML Code:
<if condition="$userinfo[IsOnline] == true">
<if condition="$show['avatar']"><img src="$avatarurl" border="0" alt="<phrase 1="$userinfo[username]">$vbphrase[xs_avatar]</phrase>" " border="0" hspace="4" vspace="4" /><else /> </if>
<else />
<if condition="$show['avatar']"><img src="$avatarurl" border="0" alt="<phrase 1="$userinfo[username]">$vbphrase[xs_avatar]</phrase>" " border="0" hspace="4" vspace="4" style="filter:alpha(opacity=30);-moz-opacity:0.3;opacity: 0.3;" /><else /> </if>
</if>
For the profile:
In the MEMBERINFO template
Find:
HTML Code:
<img src="$userinfo[avatarurl]" alt="<phrase 1="$userinfo[username]">$vbphrase[xs_avatar]</phrase>" border="0" style="border:1px solid $stylevar[tborder_bgcolor]; border-top:none" />
REPLACE it with:
HTML Code:
<if condition="$userinfo[IsOnline] == true">
<img src="$userinfo[avatarurl]" alt="<phrase 1="$userinfo[username]">$vbphrase[xs_avatar]</phrase>" border="0" style="border:1px solid $stylevar[tborder_bgcolor]; border-top:none;" />
<else />
<img src="$userinfo[avatarurl]" alt="<phrase 1="$userinfo[username]">$vbphrase[xs_avatar]</phrase>" border="0" style="border:1px solid $stylevar[tborder_bgcolor]; border-top:none; filter:alpha(opacity=30);-moz-opacity:0.3;opacity: 0.3;" />
</if>
Since the pm's are already covered by the postbit, this catches them all, I think.
And it works excellent, I might add. Thanks, David.