24 พฤษภาคม 2555, 13:28:08
ยินดีต้อนรับผู้เยี่ยมชม
  • noavata
  • ยินดีต้อนรับคุณ, ผู้เยี่ยมชม กรุณา เข้าสู่ระบบ หรือ ลงทะเบียน
    เข้าสู่ระบบด้วยชื่อผู้ใช้ รหัสผ่าน และระยะเวลาในเซสชั่น
Page Rank

ทำเว็บไซต์ | แต่งบอร์ด | ออกแบบ | SMF | Joomla | Drupal | WordPress | JQuery | CMS | ECommerce | Tel. +668-08577477

ส่งหัวข้อนี้พิมพ์ หน้า: 1 
icon message ผู้เขียน หัวข้อ: Upgrades SMF 1.1.14 to 1.1.15 แบบลงมือ Manual  (อ่าน 490 ครั้ง)
0 สมาชิก และ 2 ผู้เยี่ยมชม กำลังดูหัวข้อนี้
*
***



Thailand   ชาย ผู้เริ่มต้นกระทู้นี้ ออฟไลน์
icon message
general เมื่อ: 19 กันยายน 2554, 08:23:45
Upgrades SMF 1.1.14 to 1.1.15 แบบลงมือ Manual

File Edits


./index.php

ค้นหา :

โค๊ด: [Select]
* =============================================================================== *
* Software Version:           SMF 1.1.14                                          *


แทนที่ด้วย :
โค๊ด: [Select]
* =============================================================================== *
* Software Version:           SMF 1.1.15                                          *

ค้นหา :
โค๊ด: [Select]
$forum_version = 'SMF 1.1.14';

แทนที่ด้วย :
โค๊ด: [Select]
$forum_version = 'SMF 1.1.15';




./Sources/Subs-Members.php

ค้นหา :
โค๊ด: [Select]
* =============================================================================== *
* Software Version:           SMF 1.1.14                                          *

แทนที่ด้วย :
โค๊ด: [Select]
* =============================================================================== *
* Software Version:           SMF 1.1.15                                          *




 ค้นหา :
โค๊ด: [Select]
create_function('$string', '
$num = substr($string, 0, 1) === \'x\' ? hexdec(substr($string, 1)) : (int) $string;' . (empty($context['utf8']) ? '
return $num < 0x20 ? \'\' : ($num < 0x80 ? chr($num) : \'&#\' . $string . \';\');' : '


แทนที่ด้วย :
โค๊ด: [Select]
create_function('$string', '
$num = substr($string, 0, 1) === \'x\' ? hexdec(substr($string, 1)) : (int) $string;
if ($num === 0x202E || $num === 0x202D) return \'\'; if (in_array($num, array(0x22, 0x26, 0x27, 0x3C, 0x3E))) return \'&#\' . $num . \';\';' .
(empty($context['utf8']) ? 'return $num < 0x20 ? \'\' : ($num < 0x80 ? chr($num) : \'&#\' . $string . \';\');' : '




./Sources/Load.php

ค้นหา
โค๊ด: [Select]
* =============================================================================== *
* Software Version:           SMF 1.1.11                                          *

แทนที่ด้วย :
โค๊ด: [Select]
* =============================================================================== *
* Software Version:           SMF 1.1.15                                          *




ค้นหา :
โค๊ด: [Select]
'entity_fix' => create_function('$string', '
$num = substr($string, 0, 1) === \'x\' ? hexdec(substr($string, 1)) : (int) $string;
return $num < 0x20 || $num > 0x10FFFF || ($num >= 0xD800 && $num <= 0xDFFF) ? \'\' : \'&#\' . $num . \';\';'),


แทนที่ด้วย :
โค๊ด: [Select]
'entity_fix' => create_function('$string', '
$num = substr($string, 0, 1) === \'x\' ? hexdec(substr($string, 1)) : (int) $string;
return $num < 0x20 || $num === 0x202E || $num === 0x202D || $num > 0x10FFFF || ($num >= 0xD800 && $num <= 0xDFFF) ? \'\' : \'&#\' . $num . \';\';'),




./Sources/Subs.php


ค้นหา :
โค๊ด: [Select]
* Software Version:           SMF 1.1.13                                          *

แทนที่ด้วย :
โค๊ด: [Select]
* Software Version:           SMF 1.1.15                                          *


ค้นหา :
โค๊ด: [Select]
$forum_copyright = str_replace(array('Lewis Media', 'href="http://www.lewismedia.com/"', '2001-'), array('Simple Machines LLC', 'href="http://www.simplemachines.org/about/copyright.php" title="Free Forum Software"', ''), $forum_copyright);


แทนที่ด้วย :
โค๊ด: [Select]
$forum_copyright = str_replace(array('Lewis Media', 'Simple Machines LLC', 'href="http://www.lewismedia.com/"', '2001-'), array('Simple Machines', 'Simple Machines', 'href="http://www.simplemachines.org/about/copyright.php" title="Free Forum Software"', ''), $forum_copyright);


ค้นหา :
โค๊ด: [Select]
elseif (isset($modSettings['copyright_key']) && sha1($modSettings['copyright_key'] . 'banjo') == '1d01885ece7a9355bdeb22ed107f0ffa8c323026'){$found = true; return;}elseif ((strpos($forum_copyright, '<a href="http://www.simplemachines.org/" title="Simple Machines Forum" target="_blank">Powered by SMF') !== false || strpos($forum_copyright, '<a href="http://www.simplemachines.org/" onclick="this.href += \'referer.php?forum=' . urlencode($context['forum_name'] . '|' . $boardurl . '|' . $forum_version) . '\';" target="_blank">SMF') !== false || strpos($forum_copyright, '<a href="http://www.simplemachines.org/" target="_blank">SMF') !== false || strpos($forum_copyright, '<a href="http://www.simplemachines.org/" title="Simple Machines Forum" target="_blank">SMF') !== false)&&((strpos($forum_copyright, '<a href="http://www.simplemachines.org/about/copyright.php" title="Free Forum Software" target="_blank">SMF &copy;') !== false && (strpos($forum_copyright, 'Lewis Media</a>') !== false || strpos($forum_copyright, 'Simple Machines LLC</a>') !== false)) || strpos($forum_copyright, '<a href="http://www.lewismedia.com/">Lewis Media</a>') !== false || strpos($forum_copyright, '<a href="http://www.lewismedia.com/" target="_blank">Lewis Media</a>') !== false || (strpos($forum_copyright, '<a href="http://www.simplemachines.org/about/copyright.php"') !== false && strpos($forum_copyright, 'Simple Machines LLC') !== false))){$found = true; echo $forum_copyright;}


แทนที่ด้วย :
โค๊ด: [Select]
elseif (isset($modSettings['copyright_key']) && sha1($modSettings['copyright_key'] . 'banjo') == '1d01885ece7a9355bdeb22ed107f0ffa8c323026'){$found = true; return;}elseif ((strpos($forum_copyright, '<a href="http://www.simplemachines.org/" title="Simple Machines Forum" target="_blank">Powered by SMF') !== false || strpos($forum_copyright, '<a href="http://www.simplemachines.org/" onclick="this.href += \'referer.php?forum=' . urlencode($context['forum_name'] . '|' . $boardurl . '|' . $forum_version) . '\';" target="_blank">SMF') !== false || strpos($forum_copyright, '<a href="http://www.simplemachines.org/" target="_blank">SMF') !== false || strpos($forum_copyright, '<a href="http://www.simplemachines.org/" title="Simple Machines Forum" target="_blank">SMF') !== false)&&((strpos($forum_copyright, '<a href="http://www.simplemachines.org/about/copyright.php" title="Free Forum Software" target="_blank">SMF &copy;') !== false && (strpos($forum_copyright, 'Lewis Media</a>') !== false || strpos($forum_copyright, 'Simple Machines</a>') !== false)) || strpos($forum_copyright, '<a href="http://www.lewismedia.com/">Lewis Media</a>') !== false || strpos($forum_copyright, '<a href="http://www.lewismedia.com/" target="_blank">Lewis Media</a>') !== false || (strpos($forum_copyright, '<a href="http://www.simplemachines.org/about/copyright.php"') !== false && strpos($forum_copyright, 'Simple Machines') !== false))){$found = true; echo $forum_copyright;}


./Themes/default/languages/index.english.php หรือ index.thai-utf8.php  

ค้นหา :
โค๊ด: [Select]
$forum_copyright = '<a href="http://www.simplemachines.org/" title="Simple Machines Forum" target="_blank">Powered by ' . $forum_version . '</a> |
<a href="http://www.simplemachines.org/about/copyright.php" title="Free Forum Software" target="_blank">SMF &copy; 2006-2011, Simple Machines LLC</a>';


แทนที่ด้วย :
โค๊ด: [Select]
$forum_copyright = '<a href="http://www.simplemachines.org/" title="Simple Machines Forum" target="_blank">Powered by ' . $forum_version . '</a> |
<a href="http://www.simplemachines.org/about/copyright.php" title="Free Forum Software" target="_blank">SMF &copy; 2011, Simple Machines</a>';
การดำเนินการนี้ไม่ได้เป็นสิ่งสำคัญในการติดตั้งของ mod นี้


ค้นหา :
โค๊ด: [Select]
// Version: 1.1.13; index

แทนที่ด้วย :
โค๊ด: [Select]
// Version: 1.1.15; index
การดำเนินการนี้ไม่ได้เป็นสิ่งสำคัญในการติดตั้งของ mod นี้

เครดิต simplemachines.org
          

ลิงค์หัวข้อ: http://dexmore.com/topic/8707
Windows XP    Firefox 3.6.22   see ip บันทึกการเข้า
โฮสต์ดีๆ บริการด้วยใจ
*
***



Thailand   ชาย ผู้เริ่มต้นกระทู้นี้ ออฟไลน์
icon message
general ความคิดเห็นที่ 1 เมื่อ: 23 ตุลาคม 2554, 09:24:17
ลองไล่codeใน  Subs.php ส่วนของฟังก์ชั่น copyright ดูครับ

หรือไม่ก็ไฟล์ languages ครับ

ลิงค์หัวข้อ: http://dexmore.com/topic/8707
Windows XP    Firefox 3.6.15   see ip บันทึกการเข้า
โฮสต์ดีๆ บริการด้วยใจ
*



Thailand   ชาย ออฟไลน์
icon message
general ความคิดเห็นที่ 2 เมื่อ: 1 พฤศจิกายน 2554, 20:34:49
ขอบคุณครับ

ลิงค์หัวข้อ: http://dexmore.com/topic/8707
Windows XP    Chrome 15.0.874.106   see ip บันทึกการเข้า
โฮสต์ดีๆ บริการด้วยใจ
ส่งหัวข้อนี้พิมพ์ หน้า: 1 
กระโดดไป:  

Creative Commons License

SMF Thai Translation Powered by SMF © 2006–2012, Simple Machines LLC

WordPress Google เข้าเยี่ยมชมหน้านี้ล่าสุดเมื่อ : 17 พฤษภาคม 2555, 09:37:51

jQuery Plugin Copyright © 2551-2555 Themes Design & Hosting by DexMoreGroup

Sitemap | Thai Simple Machines Forum support SMF Thai

Web Begining | SMF Modifications | SMF Thai Translation Web Begining

Drupal | WordPress | CMS Joomla | jQuery Plugin | Web Graphics CMS Joomla