Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - online/offline status
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

online/offline status

 Post Reply Post Reply Page  <12
Author
kleintje View Drop Down
Newbie
Newbie
Avatar

Joined: 26 March 2003
Location: Netherlands
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote kleintje Quote  Post ReplyReply Direct Link To This Post Posted: 07 December 2003 at 9:56am
If you use the version 7.6 then tblActiveuser isn't in use anymore,so this little mod don't work.It uses Applicationvariables now to keep track of logged in users

Edited by kleintje
Back to Top
wfusco View Drop Down
Groupie
Groupie


Joined: 12 September 2003
Location: United States
Status: Offline
Points: 44
Post Options Post Options   Thanks (0) Thanks(0)   Quote wfusco Quote  Post ReplyReply Direct Link To This Post Posted: 07 December 2003 at 10:04am
How are they doing it here then?
Back to Top
kleintje View Drop Down
Newbie
Newbie
Avatar

Joined: 26 March 2003
Location: Netherlands
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote kleintje Quote  Post ReplyReply Direct Link To This Post Posted: 07 December 2003 at 11:49am

Replace the code with these:

   Dim intActiveUser
   intActiveUser = 0
          Response.Write ("<br />" & "User is: ")
   
   For intArrayPass = 1 To UBound(saryActiveUsers, 2)
   
   If saryActiveUsers(2, intArrayPass) = strUsername Then
   
   intActiveUser = intArrayPass
  
   End If

   Next
   
   If intActiveUser > 0 then
    Response.Write " Online" 
   Else
    Response.Write " Offline" 
   End If


And it should work
Back to Top
MadDog View Drop Down
Mod Builder Group
Mod Builder Group
Avatar

Joined: 01 January 2002
Status: Offline
Points: 3008
Post Options Post Options   Thanks (0) Thanks(0)   Quote MadDog Quote  Post ReplyReply Direct Link To This Post Posted: 07 December 2003 at 12:44pm

There is a mod already done in the mods section.

Do a search!

Back to Top
kleintje View Drop Down
Newbie
Newbie
Avatar

Joined: 26 March 2003
Location: Netherlands
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote kleintje Quote  Post ReplyReply Direct Link To This Post Posted: 07 December 2003 at 12:56pm

i've looked into the mod section and indeed there's one, but not working for version 7.6 to my knowledge, perhaps i overlooked it.

So i posted my code to get it worked on version 7.6



Edited by kleintje
Back to Top
MadDog View Drop Down
Mod Builder Group
Mod Builder Group
Avatar

Joined: 01 January 2002
Status: Offline
Points: 3008
Post Options Post Options   Thanks (0) Thanks(0)   Quote MadDog Quote  Post ReplyReply Direct Link To This Post Posted: 07 December 2003 at 1:06pm
There is one for v7.6 because im the one that created it.
Back to Top
FreeMen View Drop Down
Groupie
Groupie


Joined: 19 November 2003
Location: Denmark
Status: Offline
Points: 132
Post Options Post Options   Thanks (0) Thanks(0)   Quote FreeMen Quote  Post ReplyReply Direct Link To This Post Posted: 02 May 2004 at 2:55pm

Mad dog is right, BUT...

The mod by Mad Dog show the Guest account as online, when guest are visiting your site and the other by kleintje doesn't...

Back to Top
 Post Reply Post Reply Page  <12

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.