Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

user msn online

Asked Modified Viewed 2,630 times
M
Martijn78
M
euhh...
  • Member, joined since
  • Contributed 107 posts on the community forums.
  • Started 25 threads in the forums
  • Started this discussions
asked
Member

I tried to make msn status status visible!
Could you tell me how i did?
it's only a littlie change in "user_msn_include.php"


<?php
/*-------------------------------------------------------+
| PHPFusion Content Management System
| Copyright © 2002 - 2008 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Filename: user_msn_include.php
| Author: Digitanium
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
if (!defined("IN_FUSION")) { die("Access Denied"); }

if ($profile_method == "input") {
echo "<tr>\n";
echo "<td class='tbl'>".$locale['uf_msn'].":</td>\n";
echo "<td class='tbl'><input type='text' name='user_msn' value='".(isset($user_data['user_msn']) ? $user_data['user_msn'] : "")."' maxlength='50' class='textbox' style='width:200px;' /></td>\n";
echo "</tr>\n";
} elseif ($profile_method == "display") {
if ($user_data['user_msn']) {
echo "<tr>\n";
echo "<td width='1%' class='tbl1' style='white-space:nowrap'>".$locale['uf_msn']."</td>\n";
echo "<td align='right' class='tbl1'>".hide_email($user_data['user_msn'])."&nbsp;<img style='vertical-align:middle;border:none' src='http://www.IMStatusCheck.com/status/msn/".$user_data['user_msn']."' alt='".$user_data['user_msn']."' /></td>\n";
echo "</tr>\n";
}
} elseif ($profile_method == "validate_insert") {
$db_fields .= ", user_msn";
$db_values .= ", '".(isset($_POST['user_msn']) ? stripinput(trim($_POST['user_msn'])) : "")."'";
} elseif ($profile_method == "validate_update") {
$db_values .= ", user_msn='".(isset($_POST['user_msn']) ? stripinput(trim($_POST['user_msn'])) : "")."'";
}
?>


thanks to Super
(stole the code from his skype-userfield)B)
0 replies

2 posts

W
Wooya
W
Wooya 10
PHP-Fusion DEV Team
It's not a bug, it's undocumented feature...
  • Senior Member, joined since
  • Contributed 205 posts on the community forums.
  • Started 11 threads in the forums
answered
Senior Member

It's impossible because MSN requires that person which you're checking status is on your friend's list.
0 replies
M
Martijn78
M
euhh...
  • Member, joined since
  • Contributed 107 posts on the community forums.
  • Started 25 threads in the forums
  • Started this discussions
answered
Member

mmh,
that I did not think of.

It is not possible to only show when a online status is returned?
0 replies

Category Forum

User Administration - 8

Labels

None yet

Statistics

  • Views 0 views
  • Posts 2 posts
  • Votes 0 votes
  • Topic users 2 members

2 participants

W
W
Wooya 10
PHP-Fusion DEV Team
It's not a bug, it's undocumented feature...
  • Senior Member, joined since
  • Contributed 205 posts on the community forums.
  • Started 11 threads in the forums
M
M
euhh...
  • Member, joined since
  • Contributed 107 posts on the community forums.
  • Started 25 threads in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet