Vergleich inc/functions_online.php - 1.8.10 - 1.8.17

  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 177Zeile 194
				$user_activity['activity'] = "member_emailuser";
}
elseif($parameters['action'] == "rate" || $parameters['action'] == "do_rate")

				$user_activity['activity'] = "member_emailuser";
}
elseif($parameters['action'] == "rate" || $parameters['action'] == "do_rate")

			{

			{

				$user_activity['activity'] = "member_rate";
}
elseif($parameters['action'] == "resendactivation" || $parameters['action'] == "do_resendactivation")
{
$user_activity['activity'] = "member_resendactivation";

				$user_activity['activity'] = "member_rate";
}
elseif($parameters['action'] == "resendactivation" || $parameters['action'] == "do_resendactivation")
{
$user_activity['activity'] = "member_resendactivation";

			}

			}

			elseif($parameters['action'] == "lostpw" || $parameters['action'] == "do_lostpw" || $parameters['action'] == "resetpassword")
{
$user_activity['activity'] = "member_lostpw";
}
else

			elseif($parameters['action'] == "lostpw" || $parameters['action'] == "do_lostpw" || $parameters['action'] == "resetpassword")
{
$user_activity['activity'] = "member_lostpw";
}
else

			{

			{

				$user_activity['activity'] = "member";
}
break;

				$user_activity['activity'] = "member";
}
break;

Zeile 203Zeile 220
			}
$accepted_parameters = array("markread", "help", "buddypopup", "smilies", "syndication", "imcenter", "dstswitch");
if($parameters['action'] == "whoposted")

			}
$accepted_parameters = array("markread", "help", "buddypopup", "smilies", "syndication", "imcenter", "dstswitch");
if($parameters['action'] == "whoposted")

			{
if(!isset($parameters['tid']))
{

			{
if(!isset($parameters['tid']))
{

					$parameters['tid'] = 0;
}
$parameters['tid'] = (int)$parameters['tid'];

					$parameters['tid'] = 0;
}
$parameters['tid'] = (int)$parameters['tid'];

Zeile 227Zeile 244
			break;
case "modcp":
if(!isset($parameters['action']))

			break;
case "modcp":
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 250Zeile 267
			$accepted_parameters['mod_queue'] = array("do_modqueue", "modqueue");
$accepted_parameters['editprofile'] = array("do_editprofile", "editprofile");
$accepted_parameters['banning'] = array("do_banuser", "banning", "liftban", "banuser");

			$accepted_parameters['mod_queue'] = array("do_modqueue", "modqueue");
$accepted_parameters['editprofile'] = array("do_editprofile", "editprofile");
$accepted_parameters['banning'] = array("do_banuser", "banning", "liftban", "banuser");





			foreach($accepted_parameters as $name => $actions)
{
if(in_array($parameters['action'], $actions))

			foreach($accepted_parameters as $name => $actions)
{
if(in_array($parameters['action'], $actions))

Zeile 338Zeile 355
				if(!$user_activity['activity'])
{
$user_activity['activity'] = "showresults";

				if(!$user_activity['activity'])
{
$user_activity['activity'] = "showresults";

				}

				}

			}
break;
case "printthread":

			}
break;
case "printthread":

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 499Zeile 516
			{
$user_activity['activity'] = "usercp_subscriptions";
}

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

			elseif($parameters['action'] == "notepad" || $parameters['action'] == "do_notepad")









			elseif($parameters['action'] == "addfavorite" || $parameters['action'] == "removefavorite" || $parameters['action'] == "removefavorites")
{
$user_activity['activity'] = "usercp_managefavorites";
}
else if($parameters['action'] == "addsubscription" || $parameters['action'] == "do_addsubscription" || $parameters['action'] == "removesubscription" || $parameters['action'] == "removesubscriptions")
{
$user_activity['activity'] = "usercp_managesubscriptions";
}
elseif($parameters['action'] == "notepad" || $parameters['action'] == "do_notepad")

			{
$user_activity['activity'] = "usercp_notepad";

			{
$user_activity['activity'] = "usercp_notepad";

			}

			}

			else

			else

			{

			{

				$user_activity['activity'] = "usercp";

				$user_activity['activity'] = "usercp";

			}
break;
case "usercp2":
if(!isset($parameters['action']))
{
$parameters['action'] = '';
}
if($parameters['action'] == "addfavorite" || $parameters['action'] == "removefavorite" || $parameters['action'] == "removefavorites")
{
$user_activity['activity'] = "usercp2_favorites";
}
else if($parameters['action'] == "addsubscription" || $parameters['action'] == "do_addsubscription" || $parameters['action'] == "removesubscription" || $parameters['action'] == "removesubscriptions")
{
$user_activity['activity'] = "usercp2_subscriptions";

 
			}
break;
case "portal":

			}
break;
case "portal":

Zeile 1071Zeile 1082
		case "usercp":
$location_name = $lang->user_cp;
break;

		case "usercp":
$location_name = $lang->user_cp;
break;

		case "usercp2_favorites":

		case "usercp_managefavorites":

			$location_name = $lang->managing_favorites;
break;

			$location_name = $lang->managing_favorites;
break;

		case "usercp2_subscriptions":

		case "usercp_managesubscriptions":

			$location_name = $lang->managing_subscriptions;
break;
case "portal":

			$location_name = $lang->managing_subscriptions;
break;
case "portal":