Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
MSN online status?! how!!
Old 09-01-2008, 04:12 PM MSN online status?! how!!
dansgalaxy's Avatar
Defies a Status

Posts: 6,521
Name: Dan
Location: Swindon
Trades: 0
Okay this is really doing my head in now, been looking this up all day and im about to explode.

I want to do something VERY simple! but its being very hard.

Okay on my support page i have a MSN chat window (got code for it off MSN site) http://xdnet.co.uk/support.php

now basically, i want to use this instead of my current live chat system, because i never use live chat and its permenantly offline but MSN is on when i am online all the time so it is ideal.

So i know how to get the chat, but i now want to have it so i can have

if($mystatus = 'online')
{
show chat
}
else {
take a message
}

but i cant find a way that works to be able to get the status!

i have set up a second account if it needs to be logged in... so i can use that to authenticate it if necessary, i have the bit turned off so anyone can see status but im just lost

i need something simple which i can just stick in my msn id and return my current status!

Anyone please..

Lots of TP for working answers
__________________
Discounted Web Hosting With XDnet!
>> Get 25% of hosting~ Promo: Webmaster-talk <<

Please login or register to view this content. Registration is FREE
dansgalaxy is offline
Reply With Quote
View Public Profile Visit dansgalaxy's homepage!
 
 
Register now for full access!
Old 09-01-2008, 05:25 PM Re: MSN online status?! how!!
tripy's Avatar
Do not try this at home!

Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
Trades: 0
I have no ready made answers, but i think that this page:
http://www.hypothetic.org/docs/msn/g...onnections.php
and that one:
http://www.hypothetic.org/docs/msn/n...n/presence.php
could be of help to you.

If I understand it well, it will leave you the field open by using Curl to send and parse back msn protocol messages.
__________________
Only a biker knows why a dog sticks his head out the window.
tripy is offline
Reply With Quote
View Public Profile Visit tripy's homepage!
 
Old 09-01-2008, 05:27 PM Re: MSN online status?! how!!
dansgalaxy's Avatar
Defies a Status

Posts: 6,521
Name: Dan
Location: Swindon
Trades: 0
Just having a look at those now, just to be clear i dont want to make it so i can chat i want it just to retrieve status (i will use MS prebuilt webchat )

Just dont want links to something which dont have the answer thanks

will read and no doubt return asking more
__________________
Discounted Web Hosting With XDnet!
>> Get 25% of hosting~ Promo: Webmaster-talk <<

Please login or register to view this content. Registration is FREE
dansgalaxy is offline
Reply With Quote
View Public Profile Visit dansgalaxy's homepage!
 
Old 09-01-2008, 05:38 PM Re: MSN online status?! how!!
tripy's Avatar
Do not try this at home!

Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
Trades: 0
It explain how to send message, but it document how to communicate with the msn server with an http post, and how to ask them informations.

So, you could use this to open a session, and ask the msn server if your username is registered as connected and not busy.
__________________
Only a biker knows why a dog sticks his head out the window.
tripy is offline
Reply With Quote
View Public Profile Visit tripy's homepage!
 
Old 09-01-2008, 05:43 PM Re: MSN online status?! how!!
dansgalaxy's Avatar
Defies a Status

Posts: 6,521
Name: Dan
Location: Swindon
Trades: 0
:O

Is there a way you could somehow have like a command prompt window open to send these commands?

Anyway...

I know this must be annouying, but i have no clue with this, how would i go about doing something like this within PHP?

Dan
__________________
Discounted Web Hosting With XDnet!
>> Get 25% of hosting~ Promo: Webmaster-talk <<

Please login or register to view this content. Registration is FREE
dansgalaxy is offline
Reply With Quote
View Public Profile Visit dansgalaxy's homepage!
 
Old 09-01-2008, 06:27 PM Re: MSN online status?! how!!
tripy's Avatar
Do not try this at home!

Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
Trades: 0
Quote:
I know this must be annouying, but i have no clue with this, how would i go about doing something like this within PHP?
With curl.
Setup a post, send it, and parse the return.
Then continue for each step the send/parse gig until you get the online status.
I did not read enough to see in which order this should be done, and how many step it would be.
__________________
Only a biker knows why a dog sticks his head out the window.
tripy is offline
Reply With Quote
View Public Profile Visit tripy's homepage!
 
Old 09-02-2008, 07:08 AM Re: MSN online status?! how!!
dansgalaxy's Avatar
Defies a Status

Posts: 6,521
Name: Dan
Location: Swindon
Trades: 0
i have been reading god knows how much about this and its doing my nut in

Dan
__________________
Discounted Web Hosting With XDnet!
>> Get 25% of hosting~ Promo: Webmaster-talk <<

Please login or register to view this content. Registration is FREE
dansgalaxy is offline
Reply With Quote
View Public Profile Visit dansgalaxy's homepage!
 
Reply     « Reply to MSN online status?! how!!
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.25819 seconds with 12 queries