Vergleich inc/functions_post.php - 1.8.32 - 1.8.33

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 195Zeile 195
	// Fetch display group data.
$displaygroupfields = array("title", "description", "namestyle", "usertitle", "stars", "starimage", "image");


	// Fetch display group data.
$displaygroupfields = array("title", "description", "namestyle", "usertitle", "stars", "starimage", "image");


	if(!$post['displaygroup'])

	if(empty($post['displaygroup']))

	{
$post['displaygroup'] = $post['usergroup'];

	{
$post['displaygroup'] = $post['usergroup'];

 
	}

// Set to hardcoded Guest usergroup ID (1) for guest author or deleted user.
if(empty($post['usergroup']))
{
$post['usergroup'] = 1;
}
if(empty($post['displaygroup']))
{
$post['displaygroup'] = 1;

	}

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

	}

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

Zeile 275Zeile 285
					$post['stars'] = $titleinfo['stars'];
$post['starimage'] = $titleinfo['starimage'];
break;

					$post['stars'] = $titleinfo['stars'];
$post['starimage'] = $titleinfo['starimage'];
break;

				}
}
}

$post['usertitle'] = htmlspecialchars_uni($post['usertitle']);


				}
}
}

$post['usertitle'] = htmlspecialchars_uni($post['usertitle']);


		if($usergroup['stars'])
{
$post['stars'] = $usergroup['stars'];

		if($usergroup['stars'])
{
$post['stars'] = $usergroup['stars'];

		}


		}


		if(empty($post['starimage']))
{
$post['starimage'] = $usergroup['starimage'];

		if(empty($post['starimage']))
{
$post['starimage'] = $usergroup['starimage'];

		}


		}


		$post['userstars'] = '';
if($post['starimage'] && isset($post['stars']))
{

		$post['userstars'] = '';
if($post['starimage'] && isset($post['stars']))
{

Zeile 320Zeile 330
			if($post['away'] == 1 && $mybb->settings['allowaway'] != 0)
{
eval("\$post['onlinestatus'] = \"".$templates->get("postbit_away")."\";");

			if($post['away'] == 1 && $mybb->settings['allowaway'] != 0)
{
eval("\$post['onlinestatus'] = \"".$templates->get("postbit_away")."\";");

			}

			}

			else
{
eval("\$post['onlinestatus'] = \"".$templates->get("postbit_offline")."\";");

			else
{
eval("\$post['onlinestatus'] = \"".$templates->get("postbit_offline")."\";");

			}
}

			}
}


$post['useravatar'] = '';
if(isset($mybb->user['showavatars']) && $mybb->user['showavatars'] != 0 || $mybb->user['uid'] == 0)


$post['useravatar'] = '';
if(isset($mybb->user['showavatars']) && $mybb->user['showavatars'] != 0 || $mybb->user['uid'] == 0)

Zeile 360Zeile 370
		{
$post['website'] = htmlspecialchars_uni($post['website']);
eval("\$post['button_www'] = \"".$templates->get("postbit_www")."\";");

		{
$post['website'] = htmlspecialchars_uni($post['website']);
eval("\$post['button_www'] = \"".$templates->get("postbit_www")."\";");

		}

		}

		else
{
$post['button_www'] = "";

		else
{
$post['button_www'] = "";

Zeile 521Zeile 531
		}

$post['usertitle'] = htmlspecialchars_uni($post['usertitle']);

		}

$post['usertitle'] = htmlspecialchars_uni($post['usertitle']);

 
		$post['userstars'] = '';
$post['useravatar'] = '';


$usergroup['title'] = $lang->na;



$usergroup['title'] = $lang->na;