Vergleich member.php - 1.8.9 - 1.8.11

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 893Zeile 893
					continue;
}


					continue;
}


				$code = $select = $val = $options = $expoptions = $useropts = $seloptions = '';


				$code = $select = $val = $options = $expoptions = $useropts = '';
$seloptions = array();

				$profilefield['type'] = htmlspecialchars_uni($profilefield['type']);
$thing = explode("\n", $profilefield['type'], "2");
$type = trim($thing[0]);

				$profilefield['type'] = htmlspecialchars_uni($profilefield['type']);
$thing = explode("\n", $profilefield['type'], "2");
$type = trim($thing[0]);

Zeile 1096Zeile 1097
		{
$allownoticescheck = "checked=\"checked\"";
$hideemailcheck = '';

		{
$allownoticescheck = "checked=\"checked\"";
$hideemailcheck = '';

			$emailnotifycheck = '';

 
			$receivepmscheck = "checked=\"checked\"";
$pmnoticecheck = " checked=\"checked\"";
$pmnotifycheck = '';

			$receivepmscheck = "checked=\"checked\"";
$pmnoticecheck = " checked=\"checked\"";
$pmnotifycheck = '';

Zeile 1981Zeile 1981

$lang->users_forum_info = $lang->sprintf($lang->users_forum_info, $memprofile['username']);
$lang->users_contact_details = $lang->sprintf($lang->users_contact_details, $memprofile['username']);


$lang->users_forum_info = $lang->sprintf($lang->users_forum_info, $memprofile['username']);
$lang->users_contact_details = $lang->sprintf($lang->users_contact_details, $memprofile['username']);


if($mybb->settings['enablepms'] != 0 && (($memprofile['receivepms'] != 0 && $memperms['canusepms'] != 0 && my_strpos(",".$memprofile['ignorelist'].",", ",".$mybb->user['uid'].",") === false) || $mybb->usergroup['canoverridepm'] == 1))
{
$lang->send_pm = $lang->sprintf($lang->send_pm, $memprofile['username']);
}
else
{
$lang->send_pm = '';
}

	$lang->send_pm = $lang->sprintf($lang->send_pm, $memprofile['username']);









	$lang->away_note = $lang->sprintf($lang->away_note, $memprofile['username']);
$lang->users_additional_info = $lang->sprintf($lang->users_additional_info, $memprofile['username']);
$lang->users_signature = $lang->sprintf($lang->users_signature, $memprofile['username']);

	$lang->away_note = $lang->sprintf($lang->away_note, $memprofile['username']);
$lang->users_additional_info = $lang->sprintf($lang->users_additional_info, $memprofile['username']);
$lang->users_signature = $lang->sprintf($lang->users_signature, $memprofile['username']);

Zeile 2001Zeile 1993
	$website = $sendemail = $sendpm = $contact_details = '';

if(my_validate_url($memprofile['website']) && !is_member($mybb->settings['hidewebsite']) && $memperms['canchangewebsite'] == 1)

	$website = $sendemail = $sendpm = $contact_details = '';

if(my_validate_url($memprofile['website']) && !is_member($mybb->settings['hidewebsite']) && $memperms['canchangewebsite'] == 1)

	{

	{

		$memprofile['website'] = htmlspecialchars_uni($memprofile['website']);
$bgcolor = alt_trow();
eval("\$website = \"".$templates->get("member_profile_website")."\";");

		$memprofile['website'] = htmlspecialchars_uni($memprofile['website']);
$bgcolor = alt_trow();
eval("\$website = \"".$templates->get("member_profile_website")."\";");

Zeile 2013Zeile 2005
		eval("\$sendemail = \"".$templates->get("member_profile_email")."\";");
}


		eval("\$sendemail = \"".$templates->get("member_profile_email")."\";");
}


	if($mybb->settings['enablepms'] == 1 && $memprofile['receivepms'] != 0 && $mybb->usergroup['cansendpms'] == 1 && my_strpos(",".$memprofile['ignorelist'].",", ",".$mybb->user['uid'].",") === false)

	if($mybb->settings['enablepms'] != 0 && (($memprofile['receivepms'] != 0 && $memperms['canusepms'] != 0 && my_strpos(",".$memprofile['ignorelist'].",", ",".$mybb->user['uid'].",") === false) || $mybb->usergroup['canoverridepm'] == 1))

	{
$bgcolor = alt_trow();
eval('$sendpm = "'.$templates->get("member_profile_pm").'";');

	{
$bgcolor = alt_trow();
eval('$sendpm = "'.$templates->get("member_profile_pm").'";');

Zeile 2065Zeile 2057
		if($memperms['signofollow'])
{
$sig_parser['nofollow_on'] = 1;

		if($memperms['signofollow'])
{
$sig_parser['nofollow_on'] = 1;

		}


		}


		if($mybb->user['showimages'] != 1 && $mybb->user['uid'] != 0 || $mybb->settings['guestimages'] != 1 && $mybb->user['uid'] == 0)
{
$sig_parser['allow_imgcode'] = 0;

		if($mybb->user['showimages'] != 1 && $mybb->user['uid'] != 0 || $mybb->settings['guestimages'] != 1 && $mybb->user['uid'] == 0)
{
$sig_parser['allow_imgcode'] = 0;

Zeile 2074Zeile 2066

$memprofile['signature'] = $parser->parse_message($memprofile['signature'], $sig_parser);
eval("\$signature = \"".$templates->get("member_profile_signature")."\";");


$memprofile['signature'] = $parser->parse_message($memprofile['signature'], $sig_parser);
eval("\$signature = \"".$templates->get("member_profile_signature")."\";");

	}

$daysreg = (TIME_NOW - $memprofile['regdate']) / (24*3600);

	}

$daysreg = (TIME_NOW - $memprofile['regdate']) / (24*3600);


if($daysreg < 1)


if($daysreg < 1)

	{

	{

		$daysreg = 1;
}

		$daysreg = 1;
}





	$stats = $cache->read("stats");

// Format post count, per day count and percent of total

	$stats = $cache->read("stats");

// Format post count, per day count and percent of total

Zeile 2091Zeile 2083
	if($ppd > $memprofile['postnum'])
{
$ppd = $memprofile['postnum'];

	if($ppd > $memprofile['postnum'])
{
$ppd = $memprofile['postnum'];

	}

	}


$numposts = $stats['numposts'];
if($numposts == 0)


$numposts = $stats['numposts'];
if($numposts == 0)

Zeile 2192Zeile 2184
			eval("\$awaybit = \"".$templates->get("member_profile_away")."\";");
}
}

			eval("\$awaybit = \"".$templates->get("member_profile_away")."\";");
}
}

	




$memprofile['timezone'] = (float)$memprofile['timezone'];


	if($memprofile['dst'] == 1)
{
$memprofile['timezone']++;

	if($memprofile['dst'] == 1)
{
$memprofile['timezone']++;

Zeile 2506Zeile 2500
	{
foreach($pfcache as $customfield)
{

	{
foreach($pfcache as $customfield)
{

			if($mybb->usergroup['cancp'] != 1 && $mybb->usergroup['issupermod'] != 1 && $mybb->usergroup['canmodcp'] != 1 && !is_member($customfield['viewableby']))

			if($mybb->usergroup['cancp'] != 1 && $mybb->usergroup['issupermod'] != 1 && $mybb->usergroup['canmodcp'] != 1 && !is_member($customfield['viewableby']) || !$customfield['profile'])

			{
continue;
}

			{
continue;
}