Author |
Topic |
|
hejsan
Starting Member
37 Posts |
Posted - 26 April 2001 : 12:53:49
|
Is there a way (with active user installed) to show if a member is online when viewing pop_profile.asp?
like: This user is online |
|
big9erfan
Average Member
540 Posts |
Posted - 26 April 2001 : 14:08:20
|
Humm...That's an interesting idea
I suppose you could add a column either on the left or right that will have "browsing forums" or "not on forums" ( ok, so my labels suck, so sue me..hee hee ) then check the ONLINE table ( I think that's the name, and you'll have to have the active users mod installed ) to see if their memberid is there. If it is you place that on-line label, if not do the off-line label.
I know, no code here and if you knew how to do it you probably would have, but I'm not at my computer and able to rough code this mod for you. I'll look into it later this week and let you know.
If you want to attempt this and have any questions, try e-mailing me at big9erfan@ugfl.net
http://www.ugfl.net/forums |
|
|
hejsan
Starting Member
37 Posts |
Posted - 26 April 2001 : 15:54:27
|
I´m not so good in asp (or english) :-)
But a little start code so...
|
|
|
hejsan
Starting Member
37 Posts |
Posted - 27 April 2001 : 13:21:09
|
Also, if a members not online, then show last date for login.
Like: Member is online (logged in) Member was last online date (logged out)
Edited by - hejsan on 20 May 2001 11:38:34 |
|
|
stuF
Average Member
United Kingdom
561 Posts |
Posted - 20 May 2001 : 12:27:31
|
i like this idea, i was thinking of having this underneath the users name in thier posts, so it would say stuf custom title Browsing/offline
and then you could click on thier profile which would tell you which page they were viewing...
|
|
|
Aznknight
Senior Member
USA
1373 Posts |
Posted - 20 May 2001 : 18:29:11
|
this is plausible, you would just need to call a select statement to the FORUM_Online table on the USERID. if it doesn't return an eof then that means that they're online and you can also display where they are by displaying the M_Browse field.
For the member las online date, just add the M_LASTHEREDATE in select statement for retrieving the member and display that.
- Alan www.iamviet.com www.calvsa.net Snitz Resource |
|
|
hejsan
Starting Member
37 Posts |
Posted - 24 May 2001 : 19:03:34
|
M_LASTHEREDATE just give me this:
20010525010217
How can I show it correctly? Like 25 may 2001 01:02:17 |
|
|
big9erfan
Average Member
540 Posts |
Posted - 24 May 2001 : 21:28:37
|
Look in the members.asp file. You'll see there how it is used and parsed properly to give you the info you wish
http://www.ugfl.net/forums |
|
|
hejsan
Starting Member
37 Posts |
Posted - 25 May 2001 : 08:11:58
|
sorry... Silly me! :-) Thanks! |
|
|
|
Topic |
|