Manuel Kurulum Bana Aittir. Paket yüklerken
hata alan arkadaşlarımız için hazırladım. Umarım faydam olmuştur. Saygılarımla..
CiOooo
Aç
$boarddir/index.php
ara
Code:
* Software Version: SMF 1.1.3 *
değiştir
Code:
* Software Version: SMF 1.1.4 *
ara
Code:
$forum_version = "SMF 1.1.3";
değiştir
Code:
$forum_version = "SMF 1.1.4";
ara
Code:
if (isset($_REQUEST["action"]) && $_REQUEST["action"] == "login2")
{
require_once($sourcedir . "/LogInOut.php");
return "Login2";
değiştir
Code:
if (isset($_REQUEST["action"]) && ($_REQUEST["action"] == "login2" || $_REQUEST["action"] == "logout"))
{
require_once($sourcedir . "/LogInOut.php");
return $_REQUEST["action"] == "login2" ? "Login2" : "Logout";
Aç
$sourcedir/Display.php
ara
değiştir
Code:
* Software Version: SMF 1.1.2 *
Code:
* Software Version: SMF 1.1.4 *
ara
Code:
* Software Version: SMF 1.1.3 *
değiştir
Code:
* Software Version: SMF 1.1.4 *
ara
Code:
"name" => $attachment["filename"],
"downloads" => $attachment["downloads"],
"size" => round($attachment["filesize"] / 1024, 2) . " " . $txt["smf211"],
"byte_size" => $attachment["filesize"],
"href" => $scripturl . "?action=dlattach;topic=" . $topic . ".0;attach=" . $attachment["ID_ATTACH"],
"link" => "<a href="" . $scripturl . "?action=dlattach;topic=" . $topic . ".0;attach=" . $attachment["ID_ATTACH"] . "">" . $attachment["filename"] . "</a>",
değiştir
Code:
"name" => htmlspecialchars($attachment["filename"]),
"downloads" => $attachment["downloads"],
"size" => round($attachment["filesize"] / 1024, 2) . " " . $txt["smf211"],
"byte_size" => $attachment["filesize"],
"href" => $scripturl . "?action=dlattach;topic=" . $topic . ".0;attach=" . $attachment["ID_ATTACH"],
"link" => "<a href="" . $scripturl . "?action=dlattach;topic=" . $topic . ".0;attach=" . $attachment["ID_ATTACH"] . "">" . htmlspecialchars($attachment["filename"]) . "</a>",
Aç
$sourcedir/ManageAttachments.php
ara
Code:
* Software Version: SMF 1.1 *
değiştir
Code:
* Software Version: SMF 1.1.4 *
ara
Code:
"name" => $row["filename"],
"downloads" => $row["downloads"],
"href" => $row["attachmentType"] == 1 ? $modSettings["custom_avatar_url"] . "/" . $row["filename"] : ($scripturl . "?action=dlattach;" . ($context["browse_type"] == "avatars" ? "type=avatar;" : "topic=" . $row["ID_TOPIC"] . ".0;") . "id=" . $row["ID_ATTACH"]),
"link" => "<a href="" . ($row["attachmentType"] == 1 ? $modSettings["custom_avatar_url"] . "/" . $row["filename"] : ($scripturl . "?action=dlattach;" . ($context["browse_type"] == "avatars" ? "type=avatar;" : "topic=" . $row["ID_TOPIC"] . ".0;") . "id=" . $row["ID_ATTACH"])) . """ . (empty($row["width"]) || empty($row["height"]) ? "" : " onclick="return reqWin(this.href + ";image", " . ($row["width"] + 20) . ", " . ($row["height"] + 20) . ", true);"") . ">" . $row["filename"] . "</a>"
değiştir
Code:
"name" => htmlspecialchars($row["filename"]),
"downloads" => $row["downloads"],
"href" => $row["attachmentType"] == 1 ? $modSettings["custom_avatar_url"] . "/" . $row["filename"] : ($scripturl . "?action=dlattach;" . ($context["browse_type"] == "avatars" ? "type=avatar;" : "topic=" . $row["ID_TOPIC"] . ".0;") . "id=" . $row["ID_ATTACH"]),
"link" => "<a href="" . ($row["attachmentType"] == 1 ? $modSettings["custom_avatar_url"] . "/" . $row["filename"] : ($scripturl . "?action=dlattach;" . ($context["browse_type"] == "avatars" ? "type=avatar;" : "topic=" . $row["ID_TOPIC"] . ".0;") . "id=" . $row["ID_ATTACH"])) . """ . (empty($row["width"]) || empty($row["height"]) ? "" : " onclick="return reqWin(this.href + ";image", " . ($row["width"] + 20) . ", " . ($row["height"] + 20) . ", true);"") . ">" . htmlspecialchars($row["filename"]) . "</a>"
Aç
$sourcedir/ManageMembergroups.php
ara
Code:
* Software Version: SMF 1.1.2 *
değiştir
Code:
* Software Version: SMF 1.1.4 *
ara
Code:
$_REQUEST["toAdd"] = strtr($func["htmlspecialchars"](stripslashes($_REQUEST["toAdd"]), ENT_QUOTES), array(""" => """));
değiştir
Code:
$_REQUEST["toAdd"] = strtr(addslashes($func["htmlspecialchars"](stripslashes($_REQUEST["toAdd"]), ENT_QUOTES)), array(""" => """));
Aç
$sourcedir/ManageNews.php
ara
Code:
* Software Version: SMF 1.1.3 *
değiştir
Code:
* Software Version: SMF 1.1.4 *
ara
değiştir
Aç
$sourcedir/PersonalMessage.php
ara
Code:
* Software Version: SMF 1.1.3 *
değiştir
Code:
* Software Version: SMF 1.1.4 *
ara
Code:
$userString = strtr($func["htmlspecialchars"](stripslashes($search_params["userspec"]), ENT_QUOTES), array(""" => """));
değiştir
Code:
$userString = strtr(addslashes($func["htmlspecialchars"](stripslashes($search_params["userspec"]), ENT_QUOTES)), array(""" => """));
Aç
$sourcedir/Post.php
ara
Code:
* Software Version: SMF 1.1.3 *
değiştir
Code:
* Software Version: SMF 1.1.4 *
ara
$context["preview_subject"] = “<i>” . $txt[24] . “</i>”;
değiştir
Code:
$context["preview_subject"] = "<i>" . $txt[24] . "</i>";
// Protect any CDATA blocks.
if (isset($_REQUEST["xml"]))
$context["preview_message"] = strtr($context["preview_message"], array("]]>" => "]]]]><![CDATA[>"));
ara
Code:
$context["event"]["title"] = isset($_REQUEST["evtitle"]) ? $_REQUEST["evtitle"] : "";
değiştir
Code:
$context["event"]["title"] = isset($_REQUEST["evtitle"]) ? htmlspecialchars(stripslashes($_REQUEST["evtitle"])) : "";
ara
Code:
if (allowedTo("moderate_forum"))
değiştir
Code:
if (allowedTo("moderate_forum") && !empty($topic))
Aç
$sourcedir/Profile.php
ara
Code:
* Software Version: SMF 1.1.3 *
değiştir
Code:
* Software Version: SMF 1.1.4 *
ara
Code:
$_POST["new_buddy"] = strtr($func["htmlspecialchars"](stripslashes($_POST["new_buddy"]), ENT_QUOTES), array(""" => """));
değiştir
Code:
$_POST["new_buddy"] = strtr(addslashes($func["htmlspecialchars"](stripslashes($_POST["new_buddy"]), ENT_QUOTES)), array(""" => """));
Aç
$sourcedir/QueryString.php
ara
Code:
* Software Version: SMF 1.1.3 *
değiştir
Code:
* Software Version: SMF 1.1.4 *
ara
Code:
foreach (array_merge(array_keys($_REQUEST), array_keys($_FILES)) as $key)
değiştir
Code:
foreach (array_merge(array_keys($_POST), array_keys($_GET), array_keys($_FILES)) as $key)
ara
Code:
$_GET = htmlspecialchars__recursive($_GET);
değiştir
Code:
$_GET = addslashes__recursive(htmlspecialchars__recursive($_GET));
Aç
$sourcedir/Search.php
ara
Code:
* Software Version: SMF 1.1.2 *
değiştir
Code:
* Software Version: SMF 1.1.4 *
ara
Code:
$userString = strtr($func["htmlspecialchars"](stripslashes($search_params["userspec"]), ENT_QUOTES), array(""" => """));
değiştir
Code:
$userString = strtr(addslashes($func["htmlspecialchars"](stripslashes($search_params["userspec"]), ENT_QUOTES)), array(""" => """));
Aç
$sourcedir/Subs-Boards.php
ara
Code:
* Software Version: SMF 1.1
*
değiştir
Code:
* Software Version: SMF 1.1.4
*
ara
Code:
$moderator_string = strtr($func["htmlspecialchars"](stripslashes($boardOptions["moderator_string"]), ENT_QUOTES), array(""" => """));
değiştir
Code:
$moderator_string = strtr(addslashes($func["htmlspecialchars"](stripslashes($boardOptions["moderator_string"]), ENT_QUOTES)), array(""" => """));
Aç
$sourcedir/Subs-Post.php
ara
Code:
* Software Version: SMF 1.1.2 *
değiştir
Code:
* Software Version: SMF 1.1.4 *
ara
Code:
$parts[$i] = preg_replace("~[([/]?)(list|li|table|tr|td)([^]]*)]~e", ""[$1" . strtolower("$2") . "$3]"", $parts[$i]);
değiştir
Code:
$parts[$i] = preg_replace("~[([/]?)(list|li|table|tr|td)([^]]*)]~ie", ""[$1" . strtolower("$2") . "$3]"", $parts[$i]);
ara
Code:
$headers .= "Date: " . gmdate("D, d M Y H:i:s") . " +0000" . $line_break;
değiştir
Code:
$headers .= "Date: " . gmdate("D, d M Y H:i:s") . " -0000" . $line_break;
ara
Code:
return array($charset, preg_replace("~([x80-" . ($context["server"]["complex_preg_chars"] ? "x{10FFFF}" : pack("C*", 0xF7, 0xBF, 0xBF, 0xBF)) . "])~eu", "$entityConvert("1")", $string), "7bit");
değiştir
Code:
return array($charset, preg_replace("~([x80-" . ($context["server"]["complex_preg_chars"] ? "x{10FFFF}" : pack("C*", 0xF7, 0xBF, 0xBF, 0xBF)) . "])~eu", "$entityConvert("1")", $string), "7bit");
ara
Code:
if (!is_array($setboards))
değiştir
Code:
// Please - let"s be sane.
if (empty($setboards))
return false;
if (!is_array($setboards))
Aç
$sourcedir/Subs.php
ara
Code:
* Software Version: SMF 1.1.3 *
değiştir
Code:
* Software Version: SMF 1.1.4 *
ara
değiştir
ara
Code:
elseif (strpos($clean, "set password") !== false && preg_match("~(^|[^a-z])set password($|[^[a-z])~s", $clean) != 0)
değiştir
Code:
elseif (strpos($clean, "sleep") !== false && preg_match("~(^|[^a-z])sleep($|[^[a-z])~s", $clean) != 0)
ara
Code:
if ($...................................)
değiştir
Code:
if ($................................... && !WIRELESS)
ara
Code:
elseif (strpos($test, "invalid option") && !isset($modSettings["host_to_dis"]))
değiştir
Code:
elseif ((strpos($test, "invalid option") || strpos($test, "Invalid query name 1")) && !isset($modSettings["host_to_dis"]))
;D ;D ;D ;D ;D;D