View Full Version : Using Online Status Images
ga2000gt
10-14-2006, 08:29 PM
I installed a new skin, and uploaded the online status gifs but they don't show up. Instead, it just says Username is online or offline or invisible. How can I change it to just show the image?
ChavMagnet
10-14-2006, 10:57 PM
i think the problem is your new images arnt named correctly try right clicking on the text and click view image you will find its a invaild path. Simply copy the image name -- rename your images -- reupload them
ga2000gt
10-14-2006, 11:23 PM
I looked in the default vb images and they are user_offline.gif , user_online.gif, and user_invisible.gif , those are the same names as the ones I uploaded, but I just have text saying the users status.
Here was my postbit_onlinestatus template:
<span class="smallfont">
<if condition="$onlinestatus==0">
<phrase 1="$user[username]">$vbphrase[x_is_offline]</phrase>
</if>
<if condition="$onlinestatus==1">
<font color="#FF7800"><strong><phrase 1="$user[username]">$vbphrase[x_is_online_now]</phrase></strong></font>
</if>
<if condition="$onlinestatus==2">
<phrase 1="$user[username]">$vbphrase[x_is_invisible]</phrase>
</if>
</span>
I changed it to this and it works great:
<span class="smallfont">
<if condition="$onlinestatus==0">
<font color="#2073b4"><strong><img src="$stylevar[imgdir_statusicon]/user_online.gif"</img>Currently Offline.</strong></font>
</if>
<if condition="$onlinestatus==1">
<font color="#00ff00"><strong><img src="$stylevar[imgdir_statusicon]/user_online.gif"</img>Now Online.</strong></font>
</if>
<if condition="$onlinestatus==2"><font color="#727177"><strong><img src="$stylevar[imgdir_statusicon]/user_invisible.gif"</img>Invisible.</strong></font>
</if>
</span>
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.