Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. Article Writing
  4. msn messenger idea/problem????

msn messenger idea/problem????

Scheduled Pinned Locked Moved Article Writing
helptutorialquestion
4 Posts 3 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    hardboy111
    wrote on last edited by
    #1

    Im going to create an add-on to msn messneger client that among other things saves the history of a contacts state changes, i.e offline to online etc. I want to keep a log so that a profile can be built up over time (24hours) when a contact is online at times through out the day. So the user with that contact can see when the best time is to try and catch the contact online. The problem is, how to record state changes when the user is not online themselves. Thus keeping the information useful. I need some way of retreving state changes of contacts without the user being online. Then when the user signs into messenger the profile can be updated. Im not sure if its feasible, so i thought id put the problem on here.:confused: cheers for any comments mike

    D 1 Reply Last reply
    0
    • H hardboy111

      Im going to create an add-on to msn messneger client that among other things saves the history of a contacts state changes, i.e offline to online etc. I want to keep a log so that a profile can be built up over time (24hours) when a contact is online at times through out the day. So the user with that contact can see when the best time is to try and catch the contact online. The problem is, how to record state changes when the user is not online themselves. Thus keeping the information useful. I need some way of retreving state changes of contacts without the user being online. Then when the user signs into messenger the profile can be updated. Im not sure if its feasible, so i thought id put the problem on here.:confused: cheers for any comments mike

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      If you're not online... how are you going to know if anyone else is? Your app would have to keep the MSN client up and running 24 hours a day to know when other people are on... RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

      P 1 Reply Last reply
      0
      • D Dave Kreskowiak

        If you're not online... how are you going to know if anyone else is? Your app would have to keep the MSN client up and running 24 hours a day to know when other people are on... RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

        P Offline
        P Offline
        pnjoyce
        wrote on last edited by
        #3

        Dave Kreskowiak wrote: Your app would have to keep the MSN client up and running 24 hours a day to know when other people are on... hmm, that gives me just a germ of an idea, but how about something like this: Create a web service on a dedicated server (maybe at a hosting facility, whatever). It would have a few methods: StartTrackingUser(UserName) GetUserStats(UserName) StopTrackingUser(UserName) When somebody wants to start tracking another user, they call your StartTrackingUser() function which creates an entry in the database and sets up a user for tracking. Then you have a service (or just a thread) running that reads your database and checks all of the users int there every X minutes to see if they are online. It then writes an approraite entry to the DB. (If the user was online but is not off, it can write "userX logged of at..." or visa-versa.) When you want to get the stats back form the server, just call your GetUserStats which compiles the stats (or gets them raw, whatever) from the database. Finally, when you want to stop tracking a person, your app calls StopTrackingUser(). This all depends on finding a hosting service that wil lallow you to run a scheduled task or a service or having a dedicated server at a static IP address.

        D 1 Reply Last reply
        0
        • P pnjoyce

          Dave Kreskowiak wrote: Your app would have to keep the MSN client up and running 24 hours a day to know when other people are on... hmm, that gives me just a germ of an idea, but how about something like this: Create a web service on a dedicated server (maybe at a hosting facility, whatever). It would have a few methods: StartTrackingUser(UserName) GetUserStats(UserName) StopTrackingUser(UserName) When somebody wants to start tracking another user, they call your StartTrackingUser() function which creates an entry in the database and sets up a user for tracking. Then you have a service (or just a thread) running that reads your database and checks all of the users int there every X minutes to see if they are online. It then writes an approraite entry to the DB. (If the user was online but is not off, it can write "userX logged of at..." or visa-versa.) When you want to get the stats back form the server, just call your GetUserStats which compiles the stats (or gets them raw, whatever) from the database. Finally, when you want to stop tracking a person, your app calls StopTrackingUser(). This all depends on finding a hosting service that wil lallow you to run a scheduled task or a service or having a dedicated server at a static IP address.

          D Offline
          D Offline
          Dave Kreskowiak
          wrote on last edited by
          #4

          pnjoyce wrote: This all depends on finding a hosting service that wil lallow you to run a scheduled task or a service or having a dedicated server at a static IP address. That'll cost you some serious coinage. Is the function of this thing really worth that kind of money? RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups