Advertisement:

Navigation

Readme

This patch file will update your forum to SMF 1.1.18.

File Edits

./index.php

Operation #1
Find: [Select]
* =============================================================================== *
* Software Version: SMF 1.1.17 *
Replace With: [Select]
* =============================================================================== *
* Software Version: SMF 1.1.18 *

Operation #2
Find: [Select]
$forum_version = 'SMF 1.1.17';
Replace With: [Select]
$forum_version = 'SMF 1.1.18';

./Sources/Register.php

Operation #1
Find: [Select]
* =============================================================================== *
* Software Version: SMF 1.1.10 *
Replace With: [Select]
* =============================================================================== *
* Software Version: SMF 1.1.18 *

Operation #2
Find: [Select]
	if (isset($_POST['new_email'], $_REQUEST['passwd']) && sha1(strtolower($row['memberName']) . $_REQUEST['passwd']) == $row['passwd'])
Replace With: [Select]
	if (isset($_POST['new_email'], $_REQUEST['passwd']) && sha1(strtolower($row['memberName']) . $_REQUEST['passwd']) == $row['passwd'] && ($row['is_activated'] == 0 || $row['is_activated'] == 2))

./Sources/Themes.php

Operation #1
Find: [Select]
* =============================================================================== *
* Software Version: SMF 1.1.11 *
Replace With: [Select]
* =============================================================================== *
* Software Version: SMF 1.1.18 *

Operation #2
Find: [Select]
	list ($theme_dir, $context['theme_id']) = mysql_fetch_row($request);
mysql_free_result($request);
Replace With: [Select]
	list ($theme_dir, $context['theme_id']) = mysql_fetch_row($request);
mysql_free_result($request);

if (!file_exists($theme_dir . '/index.template.php'))
fatal_lang_error('theme_edit_missing', false);

./Sources/Reminder.php

Operation #1
Find: [Select]
* =============================================================================== *
* Software Version: SMF 1.1.6 *
Replace With: [Select]
* =============================================================================== *
* Software Version: SMF 1.1.18 *

Operation #2
Find: [Select]
	if (empty($_POST['code']) || substr($realCode, 0, 10) != substr(md5($_POST['code']), 0, 10))
Replace With: [Select]
	if (empty($_POST['code']) || substr($realCode, 0, 10) !== substr(md5($_POST['code']), 0, 10))

./Themes/default/languages/index.english.php

Operation #1
Find: [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>';
Replace With: [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; 2013, Simple Machines</a>';
This operation isn't vital to the installation of this mod.

Operation #2
Find: [Select]
// Version: 1.1.15; index
Replace With: [Select]
// Version: 1.1.18; index
This operation isn't vital to the installation of this mod.