Back to vBulletin 3.0 Template Modifications

Avatar Opacity for online / offline
Mod Version: 1.00, by Zachery

This modification is in the archives.
vB Version: Rating: (0 vote - 0 average) Installs: 3
Released: 04 May 2004 Last Update: Never Downloads: 0
Not Supported  

Avatar's opacity according to user's status (online/offline)

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>
and replace it with

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>
Feel free to change the code in red, this is the level of opacitiy

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 ^^

Download

No files for download.

Similar Mods

Add-On Releases The new Online/Offline avatar´s opacity vBulletin 3.7 Add-ons
Add-On Releases The new Online/Offline avatar´s opacity vBulletin 3.6 Add-ons
Mini Mods The new Online/Offline avatar´s opacity vBulletin 3.6 Template Modifications
Online/Offline Status with Avatar Opacity vBulletin 2.x Full Releases

vblts.ru supports vBulletin®, 2022-2024