Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 User online?
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

hejsan
Starting Member

37 Posts

Posted - 26 April 2001 :  12:53:49  Show Profile
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  Show Profile
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
Go to Top of Page

hejsan
Starting Member

37 Posts

Posted - 26 April 2001 :  15:54:27  Show Profile
I´m not so good in asp (or english)
:-)

But a little start code so...

Go to Top of Page

hejsan
Starting Member

37 Posts

Posted - 27 April 2001 :  13:21:09  Show Profile
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
Go to Top of Page

stuF
Average Member

United Kingdom
561 Posts

Posted - 20 May 2001 :  12:27:31  Show Profile  Visit stuF's Homepage
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...


Go to Top of Page

Aznknight
Senior Member

USA
1373 Posts

Posted - 20 May 2001 :  18:29:11  Show Profile  Send Aznknight an AOL message  Send Aznknight an ICQ Message
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
Go to Top of Page

hejsan
Starting Member

37 Posts

Posted - 24 May 2001 :  19:03:34  Show Profile
M_LASTHEREDATE just give me this:

20010525010217

How can I show it correctly?
Like 25 may 2001 01:02:17
Go to Top of Page

big9erfan
Average Member

540 Posts

Posted - 24 May 2001 :  21:28:37  Show Profile
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
Go to Top of Page

hejsan
Starting Member

37 Posts

Posted - 25 May 2001 :  08:11:58  Show Profile
sorry... Silly me! :-)
Thanks!
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.26 seconds. Powered By: Snitz Forums 2000 Version 3.4.07