Vergleich inc/functions_online.php - 1.8.6 - 1.8.14

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 161Zeile 161
			elseif($parameters['action'] == "profile")
{
$user_activity['activity'] = "member_profile";

			elseif($parameters['action'] == "profile")
{
$user_activity['activity'] = "member_profile";

 


				if(!isset($parameters['uid']))

				if(!isset($parameters['uid']))

				{

				{

					$parameters['uid'] = 0;

					$parameters['uid'] = 0;

				}

				}

				$parameters['uid'] = (int)$parameters['uid'];

				$parameters['uid'] = (int)$parameters['uid'];

 

if($parameters['uid'] == 0)
{
global $memprofile;

// $user is available in Who's Online but not in Member Profile, use $memprofile instead
if(!empty($user['uid']))
{
$parameters['uid'] = $user['uid'];
}
elseif(!empty($memprofile['uid']))
{
$parameters['uid'] = $memprofile['uid'];
}
}


				if($parameters['uid'] > 0)
{
$uid_list[$parameters['uid']] = $parameters['uid'];

				if($parameters['uid'] > 0)
{
$uid_list[$parameters['uid']] = $parameters['uid'];

Zeile 226Zeile 243
			}
break;
case "modcp":

			}
break;
case "modcp":

			if(!isset($parameters['action']))

			if(!isset($parameters['action']))

			{

			{

				$parameters['action'] = 0;

				$parameters['action'] = '';

			}

$accepted_parameters = array("modlogs", "announcements", "finduser", "warninglogs", "ipsearch");

			}

$accepted_parameters = array("modlogs", "announcements", "finduser", "warninglogs", "ipsearch");

Zeile 292Zeile 309
				$fid_list[$parameters['fid']] = $parameters['fid'];
}
$user_activity['activity'] = "newthread";

				$fid_list[$parameters['fid']] = $parameters['fid'];
}
$user_activity['activity'] = "newthread";

			$user_activity['fid'] = $parameters['fid'];
break;

			$user_activity['fid'] = $parameters['fid'];
break;

		case "online":
if(!isset($parameters['action']))
{

		case "online":
if(!isset($parameters['action']))
{

Zeile 355Zeile 372
			$user_activity['tid'] = $parameters['tid'];
break;
case "private":

			$user_activity['tid'] = $parameters['tid'];
break;
case "private":

			if(!isset($parameters['action']))
{
$parameters['action'] = '';
}
if($parameters['action'] == "send" || $parameters['action'] == "do_send")

			if(!isset($parameters['action']))
{
$parameters['action'] = '';
}
if($parameters['action'] == "send" || $parameters['action'] == "do_send")

			{
$user_activity['activity'] = "private_send";
}

			{
$user_activity['activity'] = "private_send";
}

Zeile 425Zeile 442
		case "showthread":
if(!isset($parameters['action']))
{

		case "showthread":
if(!isset($parameters['action']))
{

				$parameters['action'] = 0;

				$parameters['action'] = '';

			}
if(!isset($parameters['pid']))
{

			}
if(!isset($parameters['pid']))
{

Zeile 600Zeile 617
			$query = $db->simple_select("users", "uid,username", "uid IN ($uid_sql)");
while($user = $db->fetch_array($query))
{

			$query = $db->simple_select("users", "uid,username", "uid IN ($uid_sql)");
while($user = $db->fetch_array($query))
{

				$usernames[$user['uid']] = $user['username'];

				$usernames[$user['uid']] = htmlspecialchars_uni($user['username']);

			}
}
else
{

			}
}
else
{

			$usernames[$mybb->user['uid']] = $mybb->user['username'];

			$usernames[$mybb->user['uid']] = htmlspecialchars_uni($mybb->user['username']);

		}
}


		}
}


Zeile 1141Zeile 1158
				$invisible_mark = '';
}


				$invisible_mark = '';
}


			$user['username'] = format_name($user['username'], $user['usergroup'], $user['displaygroup']);

			$user['username'] = format_name(htmlspecialchars_uni($user['username']), $user['usergroup'], $user['displaygroup']);

			$online_name = build_profile_link($user['username'], $user['uid']).$invisible_mark;
}
}

			$online_name = build_profile_link($user['username'], $user['uid']).$invisible_mark;
}
}