Taragon
03-01-2008, 10:00 PM
Show online/offline status in friends block
Shows the online/offline status in the user profile friends block like ie. MySpace.
Demo: http://www.letsgather.net/member.php?u=1
----------------------------
memberinfo_tiny
FIND:
----------------------------
<li class="memberinfo_tiny">
<if condition="$user['avatarurl']">
<a href="member.php?$session[sessionurl]u=$user[userid]"><img src="$user[avatarurl]" alt="$user[username]"<if condition="$user['avatarwidth']"> width="$user[avatarwidth]"</if><if condition="$user['avatarheight']"> height="$user[avatarheight]"</if> border="0" class="alt2" /></a>
</if>
<div class="smallfont" title="$user[username]"><a href="member.php?$session[sessionurl]u=$user[userid]">$user[musername]</a></div>
</li>
----------------------------
REPLACE with:
----------------------------
<li class="memberinfo_tiny">
<if condition="$user['avatarurl']">
<a href="member.php?$session[sessionurl]u=$user[userid]"><img src="$user[avatarurl]" alt="$user[username]"<if condition="$user['avatarwidth']"> width="$user[avatarwidth]"</if><if condition="$user['avatarheight']"> height="$user[avatarheight]"</if> border="0" class="alt2" /></a>
</if>
<div class="smallfont" title="$user[username]"><a href="member.php?$session[sessionurl]u=$user[userid]">$user[musername]</a></div>
<div class="smallfont">
<if condition="$user['onlinestatus']">$user[onlinestatus]</if>
</div>
</li>
----------------------------
memberinfo_css
FIND:
----------------------------
/**
* Memberinfo Tiny
*/
li.memberinfo_tiny {
height:105px;
width:75px;
overflow:hidden;
float:$stylevar[left];
text-align:center;
margin:1px;
}
----------------------------
REPLACE with:
----------------------------
/**
* Memberinfo Tiny
*/
li.memberinfo_tiny {
height:115px;
width:75px;
overflow:hidden;
float:$stylevar[left];
text-align:center;
margin:1px;
}
----------------------------
Done!
Shows the online/offline status in the user profile friends block like ie. MySpace.
Demo: http://www.letsgather.net/member.php?u=1
----------------------------
memberinfo_tiny
FIND:
----------------------------
<li class="memberinfo_tiny">
<if condition="$user['avatarurl']">
<a href="member.php?$session[sessionurl]u=$user[userid]"><img src="$user[avatarurl]" alt="$user[username]"<if condition="$user['avatarwidth']"> width="$user[avatarwidth]"</if><if condition="$user['avatarheight']"> height="$user[avatarheight]"</if> border="0" class="alt2" /></a>
</if>
<div class="smallfont" title="$user[username]"><a href="member.php?$session[sessionurl]u=$user[userid]">$user[musername]</a></div>
</li>
----------------------------
REPLACE with:
----------------------------
<li class="memberinfo_tiny">
<if condition="$user['avatarurl']">
<a href="member.php?$session[sessionurl]u=$user[userid]"><img src="$user[avatarurl]" alt="$user[username]"<if condition="$user['avatarwidth']"> width="$user[avatarwidth]"</if><if condition="$user['avatarheight']"> height="$user[avatarheight]"</if> border="0" class="alt2" /></a>
</if>
<div class="smallfont" title="$user[username]"><a href="member.php?$session[sessionurl]u=$user[userid]">$user[musername]</a></div>
<div class="smallfont">
<if condition="$user['onlinestatus']">$user[onlinestatus]</if>
</div>
</li>
----------------------------
memberinfo_css
FIND:
----------------------------
/**
* Memberinfo Tiny
*/
li.memberinfo_tiny {
height:105px;
width:75px;
overflow:hidden;
float:$stylevar[left];
text-align:center;
margin:1px;
}
----------------------------
REPLACE with:
----------------------------
/**
* Memberinfo Tiny
*/
li.memberinfo_tiny {
height:115px;
width:75px;
overflow:hidden;
float:$stylevar[left];
text-align:center;
margin:1px;
}
----------------------------
Done!