SMF 1.1.14 para 1.1.15

Iniciado por candidosa2, 22 de Setembro de 2011, 05:01

Tópico anterior - Tópico seguinte

0 Membros e 1 Visitante estão a ver este tópico.

candidosa2

Este ficheiro patch irá actualizar o seu fórum SMF para 1.1.15.

./index.php

Pesquisar

* =============================================================================== * * Software Version:           SMF 1.1.14                                          *

substituir por
* =============================================================================== * * Software Version:           SMF 1.1.15                                          *

$forum_version = 'SMF 1.1.14';

$forum_version = 'SMF 1.1.15';



./Sources/Subs-Members.php* =============================================================================== * * Software Version:           SMF 1.1.14                                          *
 


* =============================================================================== * * Software Version:           SMF 1.1.15                                          *


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 . \';\');' : '


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* =============================================================================== * * Software Version:           SMF 1.1.11                                          *

* =============================================================================== * * Software Version:           SMF 1.1.15                                          *


'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 . \';\';'),


'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* Software Version:           SMF 1.1.13                                          *   
                             

* Software Version:           SMF 1.1.15                                          *

   $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);


   $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);

   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[/url]') !== false || strpos($forum_copyright, 'Simple Machines LLC[/url]') !== false)) || strpos($forum_copyright, 'Lewis Media') !== false || strpos($forum_copyright, '<a href="http://www.lewismedia.com/" target="_blank">Lewis Media[/url]') !== 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;}

   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[/url]') !== false || strpos($forum_copyright, 'Simple Machines[/url]') !== false)) || strpos($forum_copyright, 'Lewis Media') !== false || strpos($forum_copyright, '<a href="http://www.lewismedia.com/" target="_blank">Lewis Media[/url]') !== 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
$forum_copyright = '<a href="http://www.simplemachines.org/" title="Simple Machines Forum" target="_blank">Powered by ' . $forum_version . '[/url] | <a href="http://www.simplemachines.org/about/copyright.php" title="Free Forum Software" target="_blank">SMF &copy; 2006-2011, Simple Machines LLC[/url]';                           

$forum_copyright = '<a href="http://www.simplemachines.org/" title="Simple Machines Forum" target="_blank">Powered by ' . $forum_version . '[/url] | <a href="http://www.simplemachines.org/about/copyright.php" title="Free Forum Software" target="_blank">SMF &copy; 2011, Simple Machines[/url]';

Esta operação não é vital para a instalação deste mod.


// Version: 1.1.13; index

// Version: 1.1.15; index

Esta operação não é vital para a instalação deste mod.


Download

Joomlamz

Isso so pode ser feito manualmente
notworthy notworthy
Apllic   Alojamentos Profissionais de Moçambique!

Webmaster

Apllic! WebSuporte