السلام عليكم ورحمة الله وبركاته
صدر الترقيع الاول pl1 الخاص بالنسخة 3.7.3
http://www.vbulletin.com/forum/showthread.php?p=1619550
الملفات التي سيشملها الاستبدال وهي جاهزة في المرفقات
كود:
/global.php
includes/class_core.php
includes/functions.php
includes/version_vbulletin.php
لمن يريد التعديل بنفسه :
ملف global.php
ابحث عن هذا الكود
كود:
$cronimage = '<img src="' . create_full_url('cron.php?' . $vbulletin->session->vars['sessionurl'] . 'rand=' . vbrand(1, 1000000)) . '" alt="" width="1" height="1" border="0" />';
استبدله بـــــ
كود:
$cronimage = '<img src="' . create_full_url('cron.php?' . $vbulletin->session->vars['sessionurl'] . 'rand=' . TIMENOW) . '" alt="" width="1" height="1" border="0" />';
ملف includes/class_core.php
ابحث عن هذا الكود
كود:
return md5(TIMENOW . SCRIPTPATH . SESSION_IDHASH . SESSION_HOST . vbrand(1, 1000000));
استبدله بـــــ
كود:
return md5(uniqid(microtime(), true));
ملف includes/functions.php
ابحث عن هذا الكود
كود:
function vbrand($min, $max, $seed = -1)
{
if (!defined('RAND_SEEDED'))
{
if ($seed == -1)
{
$seed = (double) microtime() * 1000000;
}
mt_srand($seed);
define('RAND_SEEDED', true);
}
return mt_rand($min, $max);
}
استبدله بـــــ
كود:
function vbrand($min = 0, $max = 0, $seed = null)
{
mt_srand(crc32(microtime()));
if ($max AND $max <= mt_getrandmax())
{
$number = mt_rand($min, $max);
}
else
{
$number = mt_rand();
}
// reseed so any calls outside this function don't get the second number
mt_srand();
return $number;
}
ملف includes/version_vbulletin.php
استبدل محتواه
كود:
<?php
define('FILE_VERSION_VBULLETIN', '3.7.3 Patch Level 1');
?>
مواقع النشر (المفضلة)