Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 8 of 8
  1. #1
    New Coder
    Join Date
    Mar 2003
    Location
    USA
    Posts
    99
    Thanks
    24
    Thanked 0 Times in 0 Posts

    Arrow Users Online Counter?

    Okay, I was curious as to how I can get a users online count.
    Look at this site:
    http://www.ffspirit.net/?nav=tactics...nu=tactics-adv
    Just scroll down to the bottom and look at the left; you will see a link saying "• 2 Users online" or how ever many people are on...
    Now if you click it, it opens a window; "http://www.ffspirit.net/online/usersonline.php" and then it shows:
    2 Users online at: http://www.ffspirit.net
    Most ever users online is 9 on the 10th of September, 2003 @ 04:56

    Then under it, it shows:
    Total______________ Page
    1_________________http://forums.ffspirit.net/index.php?
    2_________________http://forums.ffspirit.net/?nav=tactics-adv/screen&menu=tactics-adv


    Can anyone tell me how I can get something like that? I have used FASTONLINE USERS, but it doesn't show that in-depth detail.
    Please help.
    Thanks!
    Last edited by Blatch; 10-14-2003 at 05:08 AM.

  • #2
    Supreme Master coder! glenngv's Avatar
    Join Date
    Jun 2002
    Location
    Philippines
    Posts
    11,075
    Thanks
    0
    Thanked 256 Times in 252 Posts
    you need a server-side language and a database to do that.
    Glenn
    ____________________________________

    My Blog
    Tower of Hanoi Android app (FREE!)
    Tower of Hanoi Leaderboard
    Samegame Facebook App
    vBulletin Plugins
    ____________________________________

  • #3
    New Coder
    Join Date
    Mar 2003
    Location
    USA
    Posts
    99
    Thanks
    24
    Thanked 0 Times in 0 Posts
    What exactly is that?
    So I can't get it easily?

  • #4
    Rockstar Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    9,074
    Thanks
    1
    Thanked 328 Times in 324 Posts
    You'd need to use a language like ASP or PHP and a database like Access, MsSQL, MySQL, etc.

    And you'd need to track user sessions and then in an include have it update the database with whatever page they are viewing.
    OracleGuy

  • #5
    New Coder
    Join Date
    Mar 2003
    Location
    USA
    Posts
    99
    Thanks
    24
    Thanked 0 Times in 0 Posts
    Thanks for the info.

  • #6
    Senior Coder
    Join Date
    Oct 2003
    Location
    Australia
    Posts
    1,963
    Thanks
    0
    Thanked 0 Times in 0 Posts
    OracleGuy:
    I wish to do the same thing using ColdFusionMX, can you give me any tips regarding how to count how many Session.users (or whatever I name the var.) are currently active?

    I take no responsibility for the above nonsense.


    Left Justified

  • #7
    Senior Coder
    Join Date
    Apr 2003
    Location
    England
    Posts
    1,192
    Thanks
    5
    Thanked 13 Times in 13 Posts
    do you have any server side language knowledge or are you at least able to do it?
    Personally i prefer ASP to php, but thats just my opinion (and, it seems, the oppinion of most online businesses)

    i am going to make a visitor counter for members and guests in the next few days (provided i can get around my router problem) so if you are planning on using ASP, perhaps we can work together somehow, and if not, perhaps we can share the theory behind it (which would be the same in any server side language, i usually mentally or otherwise draw flow diagrams

  • #8
    Senior Coder
    Join Date
    Oct 2003
    Location
    Australia
    Posts
    1,963
    Thanks
    0
    Thanked 0 Times in 0 Posts
    ghell:
    Sure thing man, always keen to brainstrom w/others.
    However, Im in the middle of a massive project atm and seeing as this counter is only a side note I've had to put it on the backburner.

    I'm currently studying multimedia and IT so I have access a massive rescource of server side scripting info (primarily my createCode teacher ) and would be glad to share.
    If I get started 1st I'll PM you; if you start 1st I'd appreciate if you could do the same.
    Cheers,
    Andrew

    edit: Im mainly referring to flow diagrams/psuedo code as ASP and Cold Fusion don't play friendly
    Last edited by mindlessLemming; 11-18-2003 at 09:11 AM.

    I take no responsibility for the above nonsense.


    Left Justified


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •