اخي عفوا، أنا مركب النسخة 4.0.2
يعني هل من الضروري اتخاذ هذه الخطوات.
السلام عليكم ورحمة الله وبركاته
خطوات الترقيع للنسخه : 4.0.2 PL1
الترقيع فقط بأربع ملفات ,,
##################################################
نبدأ بسم الله :
الملف vb/thread.php
ابحث داخله عن :
استبدله بـ :كود PHP:
$select[] = "post.pagetext AS preview";
$joins['threadpreview'] = "LEFT JOIN " . TABLE_PREFIX . "post AS post ON(post.postid = thread.firstpostid)";
كود PHP:
if($vbulletin->options['threadpreview'] > 0)
{
$select[] = "post.pagetext AS preview";
$joins['threadpreview'] = "LEFT JOIN " . TABLE_PREFIX . "post AS post ON(post.postid = thread.firstpostid)";
}
else
{
//being a chicken here and making sure we don't remove the preview item
//from the array in case it matters
$select[] = "'' as preview";
}
##################################################
الملف includes/class_core.php
ابحث داخله عن :
استبدله بـ :كود PHP:
$relpath = $vbulletin->input->fetch_relpath();
كود PHP:
$relpath = htmlspecialchars($vbulletin->input->fetch_relpath());
##################################################
الملف includes/functions_forumdisplay.php
ابحث داخله عن :
كود PHP:
if ($ignore["$thread[postuserid]"])
{
$thread['preview'] = '';
}
else if (isset($thread['preview']) AND $vbulletin->options['threadpreview'] > 0)
{
$thread['preview'] = strip_quotes($thread['preview']);
$thread['preview'] = htmlspecialchars_uni(fetch_censored_text(fetch_trimmed_title(
strip_bbcode($thread['preview'], false, true),
$vbulletin->options['threadpreview']
)));
}
استبدله بـ :
##################################################كود PHP:
if ($ignore["$thread[postuserid]"])
{
$thread['preview'] = '';
}
else if (isset($thread['preview']))
{
if($vbulletin->options['threadpreview'] > 0)
{
$thread['preview'] = strip_quotes($thread['preview']);
$thread['preview'] = htmlspecialchars_uni(fetch_censored_text(
fetch_trimmed_title(strip_bbcode($thread['preview'], false, true),
$vbulletin->options['threadpreview'])
));
}
//if the preview text is disabled, then make sure that we don't leave this function
//with it set.
else
{
unset($thread['preview']);
}
}
الملف includes/functions.php
ابحث داخله عن :
استبدله بـ :كود PHP:
<a href=\"" . ($vbulletin->scriptpath) . (strpos($vbulletin->scriptpath, '?') === false ? '?' : '&') . "explain=1\" target=\"_blank\" title=\"Explain Queries\">(?)</a>
كود PHP:
<a href=\"" . (htmlspecialchars($vbulletin->scriptpath)) . (strpos($vbulletin->scriptpath, '?') === false ? '?' : '&') . "explain=1\" target=\"_blank\" title=\"Explain Queries\">(?)</a>
##################################################
الملف includes/version_vbulletin.php
لغير المرخصين يبقى كما هو
اما المرخصين يحذف كل مابداخله ويضع
##################################################كود PHP:
<?php
define('FILE_VERSION_VBULLETIN', '4.0.2 Patch Level 1');
?>
هذا والله اعلم.
تحياتي ..
خطوات ترقيع النسخة 4.0.2 pl1
اخي عفوا، أنا مركب النسخة 4.0.2
يعني هل من الضروري اتخاذ هذه الخطوات.
أخي الكريم أول ملف مو موجود ؟؟؟؟؟ بحثت عليه كتير مالقيتو ؟؟؟؟
الذين يشاهدون الموضوع الآن: 1 (0 من الأعضاء و 1 زائر)
مواقع النشر (المفضلة)