MSN Messenger Online Block ??

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   MSN Messenger Online Block ??
Amras_Ancalimon
CZ Super Newbie
Amras_Ancalimon has been a member for over 20 year's 20 Year Member
uk.gif
Occupation: Call Centre Customer Advisor
Age: 53
Gender: Male
Status: Offline
Joined: Oct 17, 2004
0.01 posts per day
Posts: 63
Points: 3,249
   
I want to create a MSN Messenger Online Block, but am
having some difficulty and am now getting confused !!

I want a block that shows an Admin's status on msn
messanger if he is online or not

I copied the html that was given and converted it to php via
the conversion tool. I then saved it as a php file and uploaded it.

When I activated it, it pulled the site out of sync so I had to
remove it.

Here is the converted html (I have changed the id though):



<?php
#### Generated by Block Creator by Disipal Site (www.disipal.net) ###
if (eregi("block-Block_Creator.php",$PHP_SELF)) {
Header("Location: index.php");
die();
}
$content = "<!-- Begin Online Status Indicator code -->";
$content .= "!-- [ Register or login to view links on this board. ] -->";
$content .= "A HREF=\"http://osi.kanadian.net:8080/message/msn/YOUR MSN ID\">";
$content .= "IMG SRC=\"http://osi.kanadian.net:8080/msn/YOUR MSN ID\"";
$content .= "lign=\"absmiddle\" border=\"0\" ALT=\"MSN Online Status Indicator\"";
$content .= "nerror=\"this.onerror=null;this.src='http://osi.kanadian.net/osi/images/first/msnunknown.gif';\"></A>";
$content .= "!-- End Online Status Indicator code -->";
?>


Btw, this is my first real attempt at php coding !



Back to top Reply with quote
#2   re: MSN Messenger Online Block ??
KanadiaN
CZ Newbie
KanadiaN has been a member for over 19 year's 19 Year Member
Status: Offline
Joined: Nov 21, 2004
0.00 posts per day
Posts: 1
Points: 151
   
i am not sure what it is you are trying to do but i do know that brown earth code will work icon_wink.gif
<?php
#### Generated by Block Creator by Disipal Site (www.disipal.net) ###
if (eregi("block-Block_Creator.php",$_SERVER['PHP_SELF'])) {
Header("Location: index.php");
die();
}
$content = '<!-- Begin Online Status Indicator code -->';
$content .= '<!-- http://www.onlinestatus.org/ -->';
$content .= '<a href="http://osi.kanadian.net:8080/message/msn/kanadian@kanadian.net">';
$content .= '<img src="http://osi.kanadian.net:8080/msn/kanadian@kanadian.net"';
$content .= 'align="absmiddle" border="0" ALT="MSN Online Status Indicator"';
$content .= 'onerror="this.onerror=null;this.src=\'http://osi.kanadian.net/osi/images/first/msnunknown.gif\';"></a>';
$content .= '<!-- End Online Status Indicator code -->';
echo $content;
?>

and thanks for the intrest in my site...


Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum