MyBB Community Forums

Full Version: MyBB 1.2.2 Released
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
MyBB 1.2.2 has been released and is now available on the MyBB site for download. 1.2.2 is a general maintenance release as well as a security update release which patches two new low-medium threat vulnerabilities discovered in MyBB 1.2.x and 1.1.x.

This release also corrects/adds the following:
  • Inline error messages for users changing their username, password or email address through the User CP
  • Updated MySQL 5.1 strict compatibility
  • PHP 5.2.0 shutdown bug
  • Fixes for a whole range of other 1.2.1 and earlier identified bugs

We recommend that all users upgrade to 1.2.2 so their board is patched against these discovered vulnerabilities and are running a more stable version of the MyBB 1.2 series.

Information on upgrading, template changes and language changes can be found in the posts below. MyBB 1.1.x patches can also be found below.

If for some reason you cannot immediately update to this release:
We recommend applying the attached manual patch instructions for the moderately-high risk vulnerability identified in MyBB 1.2.1. You should only consider this a temporary solution and make the effort to upgrade to 1.2.2.

To patch your 1.2.1 to fix these vulnerabilities please follow the following instructions:
[attachment=4821]
Upgrading from 1.2.1
When upgrading from 1.2, you will not lose any custom themes, plugins or language packs which you may have installed.

Before you attempt to upgrade, ensure you have a database backup and a copy of the files currently in use on your board. This is so you can revert back to your earlier version if you need to or something goes horribly wrong with the upgrade process.

Follow the general [Wiki: Upgrading] (Broken link, head over to docs.mybb.com instead) guide outlined on the MyBB Wiki to complete the upgrade process. You may download a ZIP archive of changed files here:
[attachment=4824]

You must then check for modified templates using the instructions in the next post.

Upgrading from other versions
If you are upgrading from a version earlier than 1.2.1 then you will lose your custom themes, templates and language packs due to the number of changes between your version and the 1.2 series.

Before you attempt to upgrade, ensure you have a database backup and a copy of the files currently in use on your board. This is so you can revert back to your earlier version if you need to or something goes horribly wrong with the upgrade process.

Follow the general [Wiki: Upgrading] (Broken link, head over to docs.mybb.com instead) guide outlined on the MyBB Wiki to complete the upgrade process.

Changed files since MyBB 1.2.1
  • admin/adminfunctions.php
  • admin/adminoptions.php
  • admin/dbtools.php
  • admin/forums.php
  • admin/icons.php
  • admin/index.php
  • admin/languages.php
  • admin/maintenance.php
  • admin/modlogs.php
  • admin/settings.php
  • admin/templates.php
  • admin/themes.php
  • admin/usergroups.php
  • admin/users.php
  • inc/datahandlers/post.php
  • inc/datahandlers/user.php
  • inc/languages/english/admin/profilefields.lang.php
  • inc/languages/english/usercp.lang.php
  • inc/languages/english.php
  • inc/class_core.php
  • inc/class_language.php
  • inc/class_moderation.php
  • inc/class_parser.php
  • inc/class_session.php
  • inc/db_mysqli.php
  • inc/functions.php
  • inc/functions_archive.php
  • inc/functions_post.php
  • inc/functions_search.php
  • inc/functions_upload.php
  • inc/functions_user.php
  • install/resources/mybb_theme.xml
  • install/resources/mysql_db_tables.php
  • install/resources/settings.xml
  • install/resources/upgrade3.php
  • install/resources/upgrade5.php
  • install/resources/upgrade6.php
  • install/resources/upgrade7.php
  • install/index.php
  • install/upgrade.php
  • jscripts/autocomplete.js
  • jscripts/editor.js
  • jscripts/post.js
  • jscripts/thread.js
  • calendar.php
  • editpost.php
  • global.php
  • misc.php
  • moderation.php
  • online.php
  • polls.php
  • portal.php
  • report.php
  • reputation.php
  • search.php
  • showthread.php
  • usercp.php
  • xmlhttp.php
Theme and template changes
Using the "Find Updated" link under the "Templates" section in the Admin CP you can find a list of the templates that have changed in this release that you've got one or more custom copies of.

After identifying changed templates using the tool you can either revert your custom template to the default (delete it) or use the "diff" tool to perform a difference analysis on your custom template and the default.

Since MyBB 1.2.1 the following templates have been changed. "Revert required" indicates that for this template to work correctly with MyBB 1.2.2 you'll either need to revert it to the default or modify your custom template to include the changes in the default. If a revert is not required your custom version of the template should work perfectly fine.
  • forumdisplay_threadlist - Revert required
  • report_thanks - Revert required
  • usercp_profile_customfield - Revert required
  • usercp_password - Revert required
  • usercp_email - Revert required
  • usercp_changename - Revert required
  • misc_smilies_popup - Revert required
  • member_register - Revert required

Language packs changes
Since MyBB 1.2.1 the following language files have had changes to them:
  • admin/profilefields.lang.php
  • usercp.lang.php

Either update your language packs to include the changes in these files or revert to the standard English language pack.

Plugins
Your MyBB 1.2 and 1.2.1 plugins will work correctly with 1.2.2 without any updates.
MyBB 1.1.8 Patch
This patch is only for users running MyBB 1.1.8 or any release of the MyBB 1.1 series.

Please download "mybb_181_sql_file_disc_patch.txt" attached to this post and follow the manual patching instructions.

Please note all users of the 1.1.x series are urged to upgrade to the latest release of MyBB (1.2.2) as support for 1.1.8 is soon to end.