Vergleich member.php - 1.4.6 - 1.4.11

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 1Zeile 1
<?php
/**
* MyBB 1.4

<?php
/**
* MyBB 1.4

 * Copyright � 2008 MyBB Group, All Rights Reserved

 * Copyright © 2008 MyBB Group, All Rights Reserved

 *
* Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 *
* Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 * $Id: member.php 4304 2009-01-02 01:11:56Z chris $

 * $Id: member.php 4519 2009-11-19 13:15:46Z Tomm $

 */

define("IN_MYBB", 1);

 */

define("IN_MYBB", 1);

Zeile 989Zeile 989
		$mybb->input['action'] = "login";
$mybb->input['request_method'] = "get";


		$mybb->input['action'] = "login";
$mybb->input['request_method'] = "get";


		if($mybb->settings['failedlogintext'] == 1)

		if($mybb->settings['failedlogincount'] != 0 && $mybb->settings['failedlogintext'] == 1)

		{
$login_text = $lang->sprintf($lang->failed_login_again, $mybb->settings['failedlogincount'] - $logins);
}

		{
$login_text = $lang->sprintf($lang->failed_login_again, $mybb->settings['failedlogincount'] - $logins);
}

Zeile 1477Zeile 1477
	{
$memprofile['displaygroup'] = $memprofile['usergroup'];
}

	{
$memprofile['displaygroup'] = $memprofile['usergroup'];
}

 

// Grab the following fields from the user's displaygroup
$displaygroupfields = array(
"title",
"usertitle",
"stars",
"starimage",
"image",
"usereputationsystem"
);

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

// Get the user title for this user

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

// Get the user title for this user

Zeile 1577Zeile 1587
	}

// Fetch the reputation for this user

	}

// Fetch the reputation for this user

	if($memperms['usereputationsystem'] == 1 && $mybb->settings['enablereputation'] == 1)

	if($memperms['usereputationsystem'] == 1 && $displaygroup['usereputationsystem'] == 1 && $mybb->settings['enablereputation'] == 1)

	{
$reputation = get_reputation($memprofile['reputation']);


	{
$reputation = get_reputation($memprofile['reputation']);


Zeile 1614Zeile 1624
	$userfields = $db->fetch_array($query);
$customfields = '';
$bgcolor = "trow1";

	$userfields = $db->fetch_array($query);
$customfields = '';
$bgcolor = "trow1";

 
	$alttrow = "trow1";

	// If this user is an Administrator or a Moderator then we wish to show all profile fields

	// If this user is an Administrator or a Moderator then we wish to show all profile fields

	if($mybb->usergroup['cancp'] == 1 || $mybb->usergroup['issupermod'] == 1 || $mybb->usergroup['gid'] == 6)

	if($mybb->usergroup['cancp'] == 1 || $mybb->usergroup['issupermod'] == 1 || $mybb->usergroup['canmodcp'] == 1)

	{
$field_hidden = '1=1';
}

	{
$field_hidden = '1=1';
}

Zeile 1709Zeile 1720
	{
$query = $db->simple_select("maillogs", "COUNT(*) AS sent_count", "fromuid='{$mybb->user['uid']}' AND dateline >= '".(TIME_NOW - (60*60*24))."'");
$sent_count = $db->fetch_field($query, "sent_count");

	{
$query = $db->simple_select("maillogs", "COUNT(*) AS sent_count", "fromuid='{$mybb->user['uid']}' AND dateline >= '".(TIME_NOW - (60*60*24))."'");
$sent_count = $db->fetch_field($query, "sent_count");

		if($sent_count > $mybb->usergroup['maxemails'])

		if($sent_count >= $mybb->usergroup['maxemails'])

		{
$lang->error_max_emails_day = $lang->sprintf($lang->error_max_emails_day, $mybb->usergroup['maxemails']);
error($lang->error_max_emails_day);

		{
$lang->error_max_emails_day = $lang->sprintf($lang->error_max_emails_day, $mybb->usergroup['maxemails']);
error($lang->error_max_emails_day);