السلام عليكم ورحمة الله وبركاته
صدر الترقيع الاول 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));
ملف includes/functions.phpكود:return md5(uniqid(microtime(), true));
ابحث عن هذا الكود
استبدله بـــــكود: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); }
ملف includes/version_vbulletin.phpكود: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; }
استبدل محتواه
كود:<?php define('FILE_VERSION_VBULLETIN', '3.7.3 Patch Level 1'); ?>



رد مع اقتباس




مواقع النشر (المفضلة)