PDA

View Full Version : Profile Enhancements - Show online/offline status in friends block


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!

Taragon
03-02-2008, 04:08 PM
Small oops...
----------------------------
memberinfo_css

FIND:
----------------------------

height:115px;

----------------------------
REPLACE with:
----------------------------

height:105px;

----------------------------


ofcourse should be
----------------------------
memberinfo_css

FIND:
----------------------------

height:105px;

----------------------------
REPLACE with:
----------------------------

height:115px;

----------------------------


I've updated the txt file.

SwollenCranium
03-02-2008, 04:40 PM
Hmmmm ....

How about writing an article on how you did all those user profile modifications ?

The HOW TO section on profiles is lacking of any clear guidance.

YOURS looks awesome.

Taragon
03-02-2008, 05:05 PM
Even though it took me a couple of months to figure some stuff out, being not a coder or web designer myself, it basically is very simple and looks very much like the example given here by Hex_legend https://vborg.vbsupport.ru/showthread.php?t=166890

It’s an html page, using the MEMBERINFO template, having 2 columns, filled with the MEMBERINFO hooks and custom profile fields.

Also, this is just nice ;)
This is awesome http://mygtblog.org/about-princeton/

Forgive me if I'm breaking any site rules for making credits to a 3rd party site btw.

To your question, maybe, in the future.

I do like to keep this topic "this mod only" after this reply :)

choccyclaire
03-02-2008, 05:50 PM
This is cool. Thanks. :D

zmmmzz
03-04-2008, 01:58 AM
awesome

nerofix
03-11-2008, 09:22 PM
Cool how did you made the online status appears as text as you can see in the first screenshot?

LisaJH
05-07-2008, 12:59 PM
it dont work for me :S

Captain Tycoon
06-14-2008, 02:08 PM
Marked and Installed! Works Perfectly :)

Ultimate Killer
06-21-2008, 01:39 PM
Great thanks.

elmati
06-21-2008, 08:19 PM
great! nice profile customization :)

im tryin to make something like that

Installed!

okhissabigfish
06-26-2008, 09:11 PM
would be nice to have a notify tied to a small popup with a little sound notification that announced that your friend was online...

maybe the image of the popup would be the text of your friends name...

poped up either in a given point of the screen...

maybe it would either fad out or appear for a certain count (secs.)

would be a nice feature :cool:

010081
07-04-2008, 05:08 PM
Great thankx just worked great.

Artes_Marciales
07-27-2008, 10:46 AM
Thanks!

g0dfather1984
07-29-2008, 03:32 AM
Thank you.

CLUB AMPLE
08-17-2008, 06:41 PM
worked like a charm!... nice one...

and i would love a profile mod tutorial also :D