PDA

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


Taragon
02 Mar 2008, 17:27
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
02 Mar 2008, 18:08
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
02 Mar 2008, 18:40
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
02 Mar 2008, 19:05
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 http://www.vbulletin.org/forum/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
02 Mar 2008, 19:50
This is cool. Thanks. :D

zmmmzz
04 Mar 2008, 03:58
awesome

nerofix
11 Mar 2008, 23:22
Cool how did you made the online status appears as text as you can see in the first screenshot?

LisaJH
07 May 2008, 14:59
it dont work for me :S

Captain Tycoon
14 Jun 2008, 16:08
Marked and Installed! Works Perfectly :)

Ultimate Killer
21 Jun 2008, 15:39
Great thanks.

elmati
21 Jun 2008, 22:19
great! nice profile customization :)

im tryin to make something like that

Installed!

okhissabigfish
26 Jun 2008, 23:11
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
04 Jul 2008, 19:08
Great thankx just worked great.

Artes_Marciales
27 Jul 2008, 12:46
Thanks!

g0dfather1984
29 Jul 2008, 05:32
Thank you.

CLUB AMPLE
17 Aug 2008, 20:41
worked like a charm!... nice one...

and i would love a profile mod tutorial also :D