Vergleich member.php - 1.2.10 - 1.2.14

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/eula.html
*

 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/eula.html
*

 * $Id: member.php 3478 2007-11-15 04:11:36Z Tikitiki $

 * $Id: member.php 3739 2008-03-22 02:38:56Z dennis $

 */

define("IN_MYBB", 1);

 */

define("IN_MYBB", 1);

Zeile 947Zeile 947
		error($lang->error_notloggedout);
}
// Otherwise, check logoutkey

		error($lang->error_notloggedout);
}
// Otherwise, check logoutkey

	else if($mybb->input['logoutkey'] != $mybb->user['logoutkey'])

	else if(!$mybb->input['sid'] && $mybb->input['logoutkey'] != $mybb->user['logoutkey'])

	{
error($lang->error_notloggedout);
}

	{
error($lang->error_notloggedout);
}

Zeile 1215Zeile 1215
	$displaygroup = usergroup_displaygroup($memprofile['displaygroup']);

// Get the user title for this user

	$displaygroup = usergroup_displaygroup($memprofile['displaygroup']);

// Get the user title for this user

	if($displaygroup['usertitle'])






	if(trim($memprofile['usertitle']) != '')
{
// User has custom user title
$usertitle = $memprofile['usertitle'];
}
elseif(trim($displaygroup['usertitle']) != '')

	{

	{

 
		// User has group title

		$usertitle = $displaygroup['usertitle'];

		$usertitle = $displaygroup['usertitle'];

		$stars = $displaygroup['stars'];

 
	}
else
{

	}
else
{

 
		// No usergroup title so get a default one

		$query = $db->simple_select(TABLE_PREFIX."usertitles", "*", "", array('order_by' => 'posts', 'order_dir' => 'DESC'));
while($title = $db->fetch_array($query))
{

		$query = $db->simple_select(TABLE_PREFIX."usertitles", "*", "", array('order_by' => 'posts', 'order_dir' => 'DESC'));
while($title = $db->fetch_array($query))
{

Zeile 1233Zeile 1239
				break;
}
}

				break;
}
}

 
	}

if($displaygroup['stars'])
{
$stars = $displaygroup['stars'];

	}

if(!empty($displaygroup['image']))

	}

if(!empty($displaygroup['image']))

Zeile 1249Zeile 1260
		eval("\$groupimage = \"".$templates->get("member_profile_groupimage")."\";");
}


		eval("\$groupimage = \"".$templates->get("member_profile_groupimage")."\";");
}


	if(trim($memprofile['usertitle']) != '')
{
$usertitle = $memprofile['usertitle'];
}

	




	if(!$starimage)

	if(!$starimage)

	{

	{

		$starimage = $displaygroup['starimage'];
}
$userstars = '';
for($i = 0; $i < $stars; $i++)

		$starimage = $displaygroup['starimage'];
}
$userstars = '';
for($i = 0; $i < $stars; $i++)

	{

	{

		$userstars .= "<img src=\"$starimage\" border=\"0\" alt=\"*\" />";
}


		$userstars .= "<img src=\"$starimage\" border=\"0\" alt=\"*\" />";
}


Zeile 1303Zeile 1311
		if(is_array($useropts) && ($type == "multiselect" || $type == "checkbox"))
{
foreach($useropts as $val)

		if(is_array($useropts) && ($type == "multiselect" || $type == "checkbox"))
{
foreach($useropts as $val)

			{

			{

				if($val != '')
{
$customfieldval .= "<li style=\"margin-left: 0;\">{$val}</li>";

				if($val != '')
{
$customfieldval .= "<li style=\"margin-left: 0;\">{$val}</li>";

Zeile 1347Zeile 1355
	if($mybb->usergroup['cancp'] == "yes" && $mybb->config['hide_admin_links'] != 1)
{
eval("\$adminoptions = \"".$templates->get("member_profile_adminoptions")."\";");

	if($mybb->usergroup['cancp'] == "yes" && $mybb->config['hide_admin_links'] != 1)
{
eval("\$adminoptions = \"".$templates->get("member_profile_adminoptions")."\";");

	}

	}

	else
{
$adminoptions = '';

	else
{
$adminoptions = '';

Zeile 1391Zeile 1399
}
elseif($mybb->input['action'] == "do_emailuser" && $mybb->request_method == "post")
{

}
elseif($mybb->input['action'] == "do_emailuser" && $mybb->request_method == "post")
{

 
	// Verify incoming POST request
verify_post_check($mybb->input['my_post_key']);


	$plugins->run_hooks("member_do_emailuser_start");

if($mybb->usergroup['cansendemail'] == "no")

	$plugins->run_hooks("member_do_emailuser_start");

if($mybb->usergroup['cansendemail'] == "no")