Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - how i do that , ?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

how i do that , ?

 Post Reply Post Reply Page  12>
Author
zadax View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 19 January 2003
Location: Israel
Status: Offline
Points: 433
Post Options Post Options   Thanks (0) Thanks(0)   Quote zadax Quote  Post ReplyReply Direct Link To This Post Topic: how i do that , ?
    Posted: 27 May 2003 at 4:04am

i hed it in my old ver but now i cant compare the files

 Posted: May/01/2003 at 1:42pm - IP Logged Quote Joshua
Avatar

Forum Administrator
United States
Posts: 333 Posts
Member No.: 1
Joined: Dec/20/2002
.
Offline
Send Private Message Add to Buddy List Visit Joshua's Homepage Search for other posts by Joshua

this from http://www.jbdevstudios.com/

look is status ... OFFLINE ... how i add this to my forum ? i want to show the member status in his posts plz help

Back to Top
Trevni View Drop Down
Groupie
Groupie


Joined: 24 February 2003
Location: United States
Status: Offline
Points: 149
Post Options Post Options   Thanks (0) Thanks(0)   Quote Trevni Quote  Post ReplyReply Direct Link To This Post Posted: 27 May 2003 at 4:15am
You're a "Mod Builder" make yourself a mod. You can check the active user table to see who is online and who is offline. Or you can add a true/false row to the users table and when they login update their status to true when they log out update their status to false and you get online and offline users.

Go, go, go, "Mod Builder Group"!

It's sad really.
Resident immature brat...
Back to Top
zadax View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 19 January 2003
Location: Israel
Status: Offline
Points: 433
Post Options Post Options   Thanks (0) Thanks(0)   Quote zadax Quote  Post ReplyReply Direct Link To This Post Posted: 27 May 2003 at 4:57am

grrrrrrrr

i did it in my old forum ... but now  i get a lot of erors

Back to Top
PrimeraRacer View Drop Down
Groupie
Groupie


Joined: 29 January 2003
Location: United Kingdom
Status: Offline
Points: 83
Post Options Post Options   Thanks (0) Thanks(0)   Quote PrimeraRacer Quote  Post ReplyReply Direct Link To This Post Posted: 27 May 2003 at 7:58am

I'd like this too.

if I'm thinking correctly it should be a case of having a bit of code that selects all the active users then references those against the name its displaying. if one = the other then online. if not = the other then offline.

I like this very much so I'll have a go at doing it later :)

should it be done under a stored procedure do you think or will speed not be too much of an issue?

Back to Top
Trevni View Drop Down
Groupie
Groupie


Joined: 24 February 2003
Location: United States
Status: Offline
Points: 149
Post Options Post Options   Thanks (0) Thanks(0)   Quote Trevni Quote  Post ReplyReply Direct Link To This Post Posted: 27 May 2003 at 3:57pm
Originally posted by PrimeraRacer PrimeraRacer wrote:

if I'm thinking correctly

I don't think so.

Originally posted by PrimeraRacer PrimeraRacer wrote:

it should be a case of having a bit of code that selects all the active users then references those against the name its displaying.

Reference against what names displaying? Where and from where are the names being displayed? All the users online are stored in one table.

Should we excuse your gibberish?
Resident immature brat...
Back to Top
Gullanian View Drop Down
Senior Member
Senior Member
Avatar

Joined: 04 January 2002
Location: England
Status: Offline
Points: 4373
Post Options Post Options   Thanks (0) Thanks(0)   Quote Gullanian Quote  Post ReplyReply Direct Link To This Post Posted: 27 May 2003 at 6:16pm

Not that hard to do!

strSQL = "SELECT * from tblActiveUsers where Author_ID = " & intPostersID
rsCommon.open strSQL, adoCon

if rsCommon.eof or rsCommon.bof then
  Response.write("Offline")
else
  Response.write("Online")
end if

rsCommon.close

Youll need to change a couple of things in that, cant get the the page right now



Edited by Gullanian
Back to Top
zadax View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 19 January 2003
Location: Israel
Status: Offline
Points: 433
Post Options Post Options   Thanks (0) Thanks(0)   Quote zadax Quote  Post ReplyReply Direct Link To This Post Posted: 28 May 2003 at 11:15am

well i get this eror

Microsoft VBScript runtime error '800a01f4'

Variable is undefined: 'intPostersID'

 

Back to Top
Gullanian View Drop Down
Senior Member
Senior Member
Avatar

Joined: 04 January 2002
Location: England
Status: Offline
Points: 4373
Post Options Post Options   Thanks (0) Thanks(0)   Quote Gullanian Quote  Post ReplyReply Direct Link To This Post Posted: 28 May 2003 at 11:23am
The variable isnt intPostersID i dont have borgs code handy to look it up, hence me saying youll need to change a few bits on it
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.