XenForo 2

XenForo 2 v2.2.16 Patch 2

Không có quyền tải xuống!
Một số thay đổi trong XF 2.2.16 bao gồm:
  • Khắc phục một số vấn đề với xf-dev:class-use-function để hỗ trợ tốt hơn các lớp có thuộc tính và nhận xét của lớp hoặc khai báo hàm sử dụng hiện có.
  • Sửa chỉ báo hành động liên tục khi sử dụng điều hướng tiến/lùi
  • Thêm phương thức _deleteFromSource để hỗ trợ thực hiện tác vụ ngay trước khi xóa thực thể
  • Bỏ qua việc ghi IP khi cập nhật avatar trong quá trình đăng ký
  • Sửa gợi ý trả về docblock cho \XF\Util\Ip::checkIpsAgainstBinaryRangeList
  • Thêm cụm từ khóa bảo mật bị thiếu
  • Hiển thị các tham số bổ sung cho cụm từ report_thread_title
  • Đảm bảo các luồng cố định được truyền tới phương thức FetchExtraContentForThreadsFullView
  • Điều chỉnh cụm từ của các tùy chọn mã hóa thư
  • Cập nhật yêu cầu mua hàng khi hợp nhất người dùng
  • Đặt nhãn aria cho chú giải công cụ không có con
  • Bỏ qua việc xử lý email bị trả lại và hủy đăng ký khi email đã bị tắt trong config.php
  • Xử lý khéo léo các lỗi khi chỉnh sửa bookmark
  • Dọn dẹp các tập tin tạm thời sau khi hoàn thành công việc
  • Thêm thứ tự thích hợp vào tab IP được chia sẻ
  • Thêm gợi ý chỉ mục vào tiện ích thành viên mới nhất
  • Tránh tạo SQL không hợp lệ bằng XF\Db\Schema\Column::values()
  • Ngăn chặn các tài khoản bị vô hiệu hóa sử dụng bảng điều khiển quản trị viên
  • Bao gồm URL xác nhận đơn giản trong email được gửi tới người dùng đang chờ xác nhận email
XenForo 2.2.16 Patch 2: Trước tiên, để làm rõ một số lo ngại đã phát sinh:

1. Nếu bạn thực hiện nâng cấp thông thường (tải tệp lên hoặc thông qua bảng điều khiển quản trị viên), bạn không cần phải chỉnh sửa thủ công bất kỳ tệp nào để nhận được các bản sửa lỗi bảo mật.

2. Nếu bạn nâng cấp lên bản phát hành 2.2.16 đầu tiên, bạn được bảo vệ hoàn toàn trước các vấn đề bảo mật đang được giải quyết.

Thứ hai, bản vá thứ hai đang được phát hành để giải quyết một số sửa lỗi nhỏ có thể chưa được áp dụng chính xác khi nâng cấp lên XenForo 2.2.16. Điều này chỉ áp dụng được nếu bạn thực hiện nâng cấp bình thường lên 2.2.16 và bản vá này không liên quan đến bảo mật hoặc không bị ảnh hưởng bởi các bản sửa lỗi bảo mật.

Bạn có thể tải xuống ngay bây giờ từ khu vực khách hàng của mình hoặc thực hiện nâng cấp bằng một cú nhấp chuột thông qua bảng điều khiển quản trị viên của bạn. Bạn có thể vào Công cụ > Kiểm tra nâng cấp để xem bản phát hành bản vá thứ hai.

Nếu bạn đang chạy XenForo Cloud, các bản sửa lỗi sẽ được áp dụng tự động.
  • Like
Reactions: Crawler
Hot on the heels of yesterday's XF 2.2.14 release and subsequent patches, we are today making XenForo 2.2.15 available for all licensed customers to download. We strongly recommend that all customers running previous versions of XenForo 2.2 upgrade to this release to benefit from increased stability, particularly if you already upgraded to XenForo 2.2.14.

As of this point, XenForo 2.2.14 and its patches are no longer available for download. We are still planning a final XF 2.2 release at some point around the release of XenForo 2.3!

Some of the changes in XF 2.2.15 include:
  • Avoid setting duplicate List-Unsubscribe headers.
  • Include first post QA schema items unconditionally.
  • Make outdated PHP version notice in admin control panel clearer.
  • Retain the original unsubscribeEmailAddress option for backwards compatibility.
  • New unsubscribeEmailHandling option to replace the new unsubscribeEmail option and conclusively fix issues arising from yesterday's XF 2.2.14 release.
  • Fix URL unfurls no longer unfurling.

Current requirements​

Please note that XenForo 2.2 has higher system requirements than earlier versions.

The following are minimum requirements:
  • PHP 7.0 or newer (PHP 8.2 recommended)
  • MySQL 5.5 and newer (Also compatible with MariaDB/Percona etc.)
  • All of the official add-ons require XenForo 2.2.
  • Enhanced Search requires at least Elasticsearch 2.0.
XenForo 2.2.14 is now available for all licensed customers to download. We strongly recommend that all customers running previous versions of XenForo 2.2 upgrade to this release to benefit from increased stability.

In addition to the usual slew of bug fixes and improvements, there are a few notable changes in this release.

Compatibility with PHP 8.1 and 8.2​

Most compatibility issues between PHP 8.1 and 8.2 have been addressed. Remaining issues might trigger E_DEPRECATED warnings in the xf_error_log during debug mode, but these are generally non-critical and can be disregarded.

Email unsubscribe changes​

Previously, we allowed users to unsubscribe from emails through certain mail clients when the automated unsubscribe handler was configured. With the introduction of XenForo 2.2.14, we're implementing a new standard feature that processes unsubscribe requests via HTTP. This feature is activated by default and requires no additional configuration. Your current settings for email unsubscribing will not be altered. The recent updates include:
  • Enhanced handling of the List-Unsubscribe header to support both mailto and HTTP methods.
  • Automatic inclusion of the unsubscribe header in a broader range of outgoing emails, such as notifications for watched threads and activity summaries.
  • A default-enabled option to send confirmation emails to users once their unsubscribe request is fulfilled.

Minor security fix​

In previous versions, add-on or style archives could escape their container directory and bypass subsequent validation checks. Exploiting this requires an administrator with the pertinent permissions to upload a maliciously-crafted archive. This has been addressed in XenForo 2.2.14. Thank you to Egidio Romano of Karma(In)Security for reporting this issue.

Update on XenForo 2.3 and XenForo 3.0​

Work continues towards the next versions of XenForo. @Kier is now working full time on some exciting stuff for XenForo 3.0 while the rest of us are working towards getting XenForo 2.3 stable enough for a public beta release, in addition to the last few bells and whistles for both the core software and some enhancements to our official add-ons. Additionally, we plan to release one last update for XenForo 2.2, namely XenForo 2.2.15, which will incorporate significant fixes before we transition to primarily supporting XenForo 2.3.

Some of the changes in XF 2.2.14 include:
  • Fix type hinting for extendClass
  • Do not attempt to generate tag URLs without a valid tag
  • Properly disable outbound IPv6 requests when PHP is not compiled with IPv6 support
  • Improve audio mime-type detection
  • Use sodium_bin2base64 over base64_encode when generating random strings.
  • Update Twitter BB code media site to support x.com URLs and update some branding to X, rather than Twitter.
  • Increase the size of the old_value and new_value columns in the xf_change_log table
  • Properly throw an exception when failing to decode JSON for oEmbed
  • Ensure tag pages have a canonical URL set
  • Support custom URL portions for link forums
  • Mark old_value and new_value fields as required in the change log entity
  • Adjust regex for dialog loading to ensure consistency with BB code tag naming.
  • Fix a number of emoji phrases
  • Update braintree_api_keys_explain.txt phrase
  • Update webmanifest orientation to use natural as this should derive from the system's settings.
  • Highlight current style and language selections on chooser pages
  • Always set thread RSS publication dates to the creation date of the thread
  • Fix profile post/comment author alert reason API documentation
  • Properly phrase the BB Code help page example
  • Improve error handling when loading notifier services
  • Extend notifier service class before calling createForJob static method
  • Reduce lock contention when writing thread read records
  • Provide a getter for class extensions, and check for class extensions before attempting to remove them
  • Skip relative (dot) files when cleaning up temporary files
  • Ensure prefix search constraints are lists of values
  • Use a no-permission response when a user cannot be banned, and gracefully handle error responses without a proper error message
  • Clarify that new SFS submissions will transmit an unhashed email address
  • Properly capture array_unique results
  • Add an index to the user ID column of the error log table
  • Fix value of custom user titles in API responses
  • Surely .u-spaceBefore is intended to apply the margin to the left
  • Guard against **** metadata in MySQL full-text searchs
  • Do not display menus for selected tabs with no links
  • Use a more efficient query when updating reaction caches for content
  • Support filtering threads with forum type filters when using the API
  • When rebuilding user group relations, skip falsey values
  • Include support for embedding YouTube Live URLs
  • Improve PHP 8.2 compatibility in vendor libraries
  • Pass posterParams in the post reaction push template
  • Attempt to support fb.watch URLs
  • Only set descriptor suffix for Stripe card payments

Current requirements​

Please note that XenForo 2.2 has higher system requirements than earlier versions.

The following are minimum requirements:
  • PHP 7.0 or newer (PHP 8.2 recommended)
  • MySQL 5.5 and newer (Also compatible with MariaDB/Percona etc.)
  • All of the official add-ons require XenForo 2.2.
  • Enhanced Search requires at least Elasticsearch 2.0.
XenForo 2.2.13 is now available for all licensed customers to download. We strongly recommend that all customers running previous versions of XenForo 2.2 upgrade to this release to benefit from increased stability.

In addition to the fixes listed below, we have a few other aces up our sleeves this time around.

Full iOS PWA compatibility with push notification support​

iOS 16.4 finally introduced push notifications for iOS devices. To facilitate this, your members need to install your site as a PWA (by utilising the Add to Home Screen feature in Safari). XenForo 2.2.13 now satisfies all of the prerequisites for this to support push notifications which can be enabled by your members once they log in through the PWA and enable push notifications in their Preferences.

The PWA (progressive web app) has now been enhanced with additional gesture based or UI controls, including pull down to refresh and a floating back button.

Structured data metadata improvements​

With many thanks to Ryan Levering from Google we have made a number of improvements to structured data metadata. Structured data enriches the pages we output with additional information which enables Google and other search engines to better understand the structure of the information that is rendered. This helps Google provide rich search results and helps provide additional context to users who may find your content during their Google searches.

Support for OAuth authentication for Microsoft 365 business email accounts​

Microsoft has deprecated the ability to send emails over SMTP using traditional username/password authentication. This is similar to what Google did a while ago. In light of this we have now added an additional option when setting up either your email transport or automated mail handlers (automated unsubscribe/bounce handling) which will enable you to authenticate with OAuth.

Note: The set up for this is fairly complex, requiring you to set up an Azure Active Directory application within the Azure developer portal. There is a link to the documentation when setting this up.

Some of the changes in XF 2.2.13 include:
  • Adjust several cookie third party identifiers
  • Fix simple cookie notice flash for guests
  • Update thread creation latest activity items when merging threads
  • Add **** checks when we're inspecting the result of the getPhraseGroup method of the Phrase entity.
  • Add context to node permission list with node type icons.
  • Don't attempt to access getCookieThirdParties on payment providers which may no longer exist.
  • Update enable push option to reflect better browser support.
  • Check search permissions when displaying the 'Your content' link in the visitor menu
  • Restore "notes" phrase that was inadvertently deleted in the previous release
  • Avoid leaking the email address linked to an account that is using email two-step verification
  • Don't show the view more link on a member's recent content page for users who have no permissions to search
  • Ensure wrapper display HTML value has whitespace trimmed
  • Properly set custom titles when batch updating users
  • When adding/editing nodes, the description for the URL portion field now refers to nodes rather than forums
  • Fix a typo in the cookie_consent.cookie_description_dbWriteForced phrase
  • Replace MaxCDN with jsDelivr as the CDN for Twemojis
  • Ensure emojis are properly displayed in the chosen style
  • More consistently set content key across different content types
  • Fix error thrown when xf_consent cookie has an invalid value
  • Escape backslashes when escaping SQL like clauses
  • Do not prepare member stat results prior to caching
  • Fix some entity collection return type hints
  • Clamp input filterer float values
  • Attempt to prevent browsers from autofilling credentials in the find member widget
  • Rebuild permissions in batches to limit memory usage
  • Display an error when an invalid URL is used to test URL unfurling
  • Display content vote scores in LTR orientation
  • Make stream closing attempts more robust when working with abstract files
  • Fix type hint in Oembed subcontainer
  • Gracefully handle Redis mget failures
  • Only display flash message once when tags are edited
  • Fix max length attribute of custom warning title input
  • Perform validation on email address options
  • Allow restricting forum RSS results by prefix IDs
  • Do not attempt to decrement alert counters when a new alert is inserted
  • Fix behavior of falsy code event listener hints
  • Perform validation on error reply values
  • Always include search query arguments when building search links
  • Retain previous selection when changing poll votes
  • Improve notice controller/action criteria validation
  • Include support for embedding YouTube Live URLs
  • Check thread visibility before redirecting for invalid post links
  • Improve user IP lookup query performance
  • Make user entity timezone verification more robust
  • Remove dead code from vBulletin 5 authentication handler
  • currencyFormat was changed to allow figures with no decimals to show without decimal places, but to show the decimals if any were present. In doing so, we managed to kill the ability to specify the number of decimals. Oopsie. So now you can do that again, and you can also now specify -1 precision in order to prevent number_format from limiting or artificially extending the decimal places at all.
  • Update the intl-tl-input JS library
  • Fix CSS border radius shifting for RTL styling
  • Increase entropy of temporary directory name generation to reduce the likelihood of race conditions
  • Improve performance of \XF\Extension::resolveExtendedClassToRoot using an inverse lookup table
  • Correctly replace urlencoded CSRF token values before returning cached pages to fix an issue with Advanced cookie management.
  • Ensure that unsubscribing from emails also unsubscribes the user from activity summary emails
  • Support embedding YouTube videos from youtube-nocookie.com
  • Fix incorrect type hints in prefix and prompt group entities
The following public templates have had changes:
  • PAGE_CONTAINER
  • account_confirm_resend
  • account_connected_associate
  • account_details
  • account_email
  • account_request_password
  • account_two_step_authy_config
  • account_visitor_menu
  • app_body.less
  • app_content_vote.less
  • approval_item_user
  • approval_queue_macros
  • connected_account_macros
  • contact_form
  • content_vote_macros
  • core.less
  • core_button.less
  • core_list.less
  • custom_fields_macros
  • editor_base.less
  • email_stop_confirm
  • google_analytics
  • helper_js_global
  • lost_password_confirm
  • member_about
  • member_recent_content
  • member_view
  • member_warn
  • message_macros
  • notice_confirm_email
  • notice_email_bounce
  • poll_macros
  • post_macros
  • post_question_macros
  • register_confirm
  • register_connected_account
  • security_lock_resend
  • security_lock_reset
  • spam_cleaner
  • tag_macros
  • tel_box.less
  • two_step_email
  • widget_find_member
Where necessary, the merge system within the "outdated templates" page should be used to integrate these changes.

As always, new releases of XenForo are free to download for all customers with active licenses. You may now upgrade from your admin control panel or grab the new version from the customer area.

Current requirements​

Please note that XenForo 2.2 has higher system requirements than earlier versions.

The following are minimum requirements:
  • PHP 7.0 or newer (PHP 8.0 recommended)
  • MySQL 5.5 and newer (Also compatible with MariaDB/Percona etc.)
  • All of the official add-ons require XenForo 2.2.
  • Enhanced Search requires at least Elasticsearch 2.0.

XenForo 2.2.12 Released​

XenForo 2.2.12 is now available for all licensed customers to download. We strongly recommend that all customers running previous versions of XenForo 2.2 upgrade to this release to benefit from increased stability.

We're pleased to announce the introduction of two new features available in XenForo 2.2.12.


New CAPTCHA provider: Cloudflare Turnstile​

In September, was announced. You may have noticed that we quickly implemented this into the software and it has been running here now for a little while.

While on the surface this may seem like "just another CAPTCHA" option, we feel that Cloudflare has gotten a lot of things right in its approach to this product that is missing from many other providers including HCaptcha and Google reCAPTCHA. It's a much better experience for your users, respects your users privacy and with XF 2.2.12 also provides more granular logging in the Cloudflare dashboard so you can see analytics about where in the software a CAPTCHA is being used.

We encourage you to read more about Cloudflare Turnstile and consider signing your site up, for free, or if you are an existing Cloudflare user, get started in your .


Advanced cookie consent system​

Starting with XF 2.2.12 you will be able to enable a new "Advanced" cookie consent system. This enables your users to have much more granular control over the specific cookies that are set, the purpose of each cookie and prevents certain cookies from being set at all until explicit consent is given.

As ever, this system is also extendable by add-on developers so that cookies set by an add-on can be appropriately categorised and also require consent before certain functionality is available.

This is not enabled by default and should currently be considered a Beta feature. If you wish to enable it, you can do so by searching for the cookieConsent option in your Admin control panel and setting the option to "Advanced". If you have feedback or further suggestions, please post a new thread in the , or if you notice any issues, please post a new thread in the .

If you are a XenForo Cloud customer, your upgrade will be scheduled automatically. For self-hosted customers, read on...




Some of the changes in XF 2.2.12 include:


The following public templates have had changes:

  • PAGE_CONTAINER
  • _help_page_cookies
  • _media_site_embed_oembed
  • _media_site_legacy_embed
  • account_confirm_resend
  • account_security
  • app.less
  • app_inlinemod.less
  • approval_queue_macros
  • bookmark_macros
  • captcha
  • captcha_turnstile
  • contact_form
  • core_bbcode.less
  • core_utilities.less
  • editor_base.less
  • forum_post_quick_thread
  • forum_post_thread
  • google_analytics
  • helper_attach_upload
  • login
  • lost_password
  • misc_cookies
  • notice_cookies
  • notices.less
  • register_form
  • report_search
  • thread_list_macros
  • thread_reply
  • thread_view
Where necessary, the merge system within the "outdated templates" page should be used to integrate these changes.

As always, new releases of XenForo are free to download for all customers with active licenses. You may now or grab the new version from the .


Current requirements​

Please note that XenForo 2.2 has higher system requirements than earlier versions.

The following are minimum requirements:

  • PHP 7.0 or newer (PHP 8.0 recommended)
  • MySQL 5.5 and newer (Also compatible with MariaDB/Percona etc.)
  • All of the official add-ons require XenForo 2.2.
  • Enhanced Search requires at least Elasticsearch 2.0.


Installation and upgrade instructions​

Full details of how to XenForo can be found in the . We strongly recommend .
XenForo 2.2.10 is now available for all licensed customers to download. We strongly recommend that all customers running previous versions of XenForo 2.2 upgrade to this release to benefit from increased stability.

This version contains a fix for an issue whereby outgoing requests from the server running XenForo could be tricked into accessing web-accessible resources on the local network. The scope to exploit this issue is limited within the core and first-party add-ons.

2.2.10 will be one of the last releases of the 2.2.x series before we move 2.3.0 to beta, but we do have a handful of things coming late to 2.2.x before that happens, including some enhanced cookie consent features to comply with the ever-evolving field of privacy legislation, and some enhanced performance-boosting functionality for Entities and Finders for developers. More details on those soon.

Of course, 2.2 will continue to be supported and maintenance releases will be made periodically throughout the 2.3.0 beta process and as always we will issue patches and fixes for any critical issues in 2.2 even after 2.3 becomes our primary, supported version.

Some of the changes in XF 2.2.10 include:
  • Require values for old/new changelog values
  • Properly handle **** values within the Arr::stringToArray() function
  • Remove extraneous space when generating a one-time password URL
  • Support rebuilding daily stats from the command line
  • Add additional indexes for the active and expired user upgrade tables
  • Remove superfluous code setting aria-label for tooltips
  • Add lazy loading attribute to resource icons
  • Pass an index hint when performing certain IP lookups

The following public templates have had changes:
  • core_block.less
  • poll_create
  • poll_edit
  • poll_macros
  • tag_macros
  • widget_forum_statistics
Where necessary, the merge system within the "outdated templates" page should be used to integrate these changes.

As always, new releases of XenForo are free to download for all customers with active licenses. You may now upgrade from your admin control panel or grab the new version from the customer area.

Current requirements​

Please note that XenForo 2.2 has higher system requirements than earlier versions.

The following are minimum requirements:
  • PHP 7.0 or newer (PHP 8.0 recommended)
  • MySQL 5.5 and newer (Also compatible with MariaDB/Percona etc.)
  • All of the official add-ons require XenForo 2.2.
  • Enhanced Search requires at least Elasticsearch 2.0.
Some of the changes in XF 2.2.6 include:
  • Adjust file copying order of the one click upgrader to reduce issues with page breaks.
  • Support youtube.com/shorts/{id} format URLs
  • Change the CSS rules for inline spoilers to improve visibility
  • Replace Accept header to use official v3 of GitHub API for connected account requests rather than its beta.
  • Apply flood checking to thread create/reply pre-reg actions.
  • If there is no editor/quick-reply element available, bail out of the quote-click JS handler early.
  • Add some input placeholder styling to the stripe payment form.
  • Prevent editing/display/use of some payment profiles when they are no longer active or the payment provider is no longer usable.
  • When toggling comments with the profilePostCommentToggle style property enabled, ensure the editor placeholder is activated and, where possible, focus the editor.
  • When getting global permission entries, process conditions correctly to only select the relevant records.
  • Fix bad maxlength setting for warning definition titles and impose a maxlength for warning definition conversation titles.
  • Prevent an error when trying to update reactions counts if we find a reaction content entry without a matching reaction definition.
  • Implement the ability to add custom add/remove messages for the multi-quote button.
  • Fix prefix function usage in alert/push_thread_reply_ban templates.
  • Disable lightbox related output in RSS feeds.
  • Allow member stats to be used in widgets regardless of overview_display option.
  • Limit the size of each inline mod cookie to 3KB to avoid excessive header sizes.
  • Add header 'Auto-Submitted: auto-generated' header by default to outgoing emails with the ability to override or unset if needed.
  • Fix missing content type for contact form and protect against a PHP 8.0 issue if a content type phrase is empty.
  • Fix unsupported operand error when validating a style archive if hashes.json fails to decode correctly.
  • Add the ability to perform exact match email searches
  • Remove duplicate itemprop attribute on a post's username link
  • Validate usernames before trying to set them when creating threads as a guest
  • Ensure phrases are properly returned as strings
  • Wrap attachment action phrases that may not fit the thumbnail container
  • Adjust description for the forum statistics widget
  • Allow users to be reported regardless of their profile privacy settings
  • Add a separate phrase for prefix searching on the admin panel's quick filter
  • Ensure that non-ASCII characters are not in the local part of an email address.
  • When analysing images, check image type against image extension map
  • Allow alerts to be sent via an API super user key without a registered user.
  • Validate a purchasable item exists during the callback stage of a payment.
  • Ensure threads with a redirect thread type are included when batch updating threads or using a search forum
  • Ensure post thread page action buttons are marked as nofollow
  • Do not attempt to include a first_unread post in the API when the only unread posts in a thread are ignored.
  • Ensure that phrases indirectly used in push and email templates use the correct language.
  • Make the process of canceling recurring PayPal subscriptions clearer if the user does not have a PayPal account.
  • Improve performance of loading icons on the add-on list.
  • Use a new system for shortening strings that contain BB code so that they will not be cut off in the middle of BB code markup.
  • Do not allow transparent or system colors to be used in the color BB code.
  • Ensure that italics in user content are displayed as expected when using CJK languages.
  • Do not attempt to link URLs or email addresses that contain censored words.
  • Properly process Stripe subscription refunds in the payment system.
  • Do not display the "insert" option on attachments in contexts where they cannot be inserted into an editor.
  • Improve the display of message attribution rows with a large amount of content on smaller devices.
The following public templates have had changes:
  • account_upgrades
  • alert_thread_reply_ban
  • attachments.less
  • bb_code.less
  • core_datalist.less
  • core_setup.less
  • delete_confirm
  • fa.css
  • font_awesome_setup
  • forum_overview_wrapper
  • forum_post_thread_chooser
  • forum_view
  • helper_attach_upload
  • helper_js_global
  • message.less
  • message_macros
  • multi_quote_macros
  • payment_cancel_recurring_paypal
  • payment_initiate_stripe
  • post_macros
  • profile_post_macros
  • push_thread_reply_ban
  • reaction_item_profile_post
  • reaction_item_profile_post_comment
  • reaction_list_row
  • search_forum_view
  • setup_fa.less
  • thread_view
  • whats_new_posts
Maintenance time! XenForo 2.2.2 has hatched, fledged and is ready to fly the nest directly to your community via one-click upgrade.

In addition to the changes listed below, 2.2.2 has some invisible changes to improve performance, stability and compatibility with the , which we look forward to supporting fully in future.

All licensed customers may download new XenForo releases, and in order to to benefit from increased stability offered by this new version, we strongly recommend that all sites running running earlier versions of XenForo 2.2 upgrade using the one-click system in their admin control panel.

Some of the changes in XF 2.2.2 include:
  • Fix opt-in functionality of the entity changelog behavior
  • Properly sort columns for forum default sort orders
  • Handle heading BB codes without a type option
  • Apply base URL to relative notice display images
  • Do not escape moderator log list entry action texts after stripping tags
  • Catch class load errors when applying session activity details on PHP 7+
  • Throw exceptions correctly in the alert API controller.
  • Ensure that the "no matches" message in article preview forums always spans the full width.
  • When merging posts, force the target post to be visible if it will become the first post of the thread.
  • Disable user mention parsing within custom BB codes that disable auto linking or BB code parsing
  • When setting a default title for avatars, do not override a custom version
  • Use the correct forum type node icon in the sub forum menu/list
  • Fix typo that prevents alerts from being marked as unread if a confirmation message is shown.
  • Ensure the UI properly respects an explicit request to mark an alert as read or unread when a confirmation message is shown.
  • Fix StylePropertyMap entity ParentProperty relation conditional
  • Fix dynamic redirects for alert and conversation read state toggles
  • Correct a few typos in some CLI commands
  • Fix invalid format specifier in error trace argument builder
  • Break the phrase import query into chunks to avoid a MariaDB performance regression.
  • Fix a MySQL 8.0.22 incompatibility with the 1.x to 2.x upgrade code (related to phrase renames).
  • Allow previewing to work when composing entirely in the BB code editor
  • Respect API permission bypass when checking alert viewability
  • Fix some sort callbacks on PHP 8+
  • Fix PHP 8 compatibility in XML utilities
  • When a username change request requires moderator approval, log the IP the request was received from.
  • Remove user profile banners when banning users with the spam cleaner
  • Prevent an error caused by GCM push notification subscriptions.
  • When quoting a post, do not include quote tags if they would be empty
  • Give MySQL an index hint to improve performance of newest thread API requests (with no other filters)
  • Prevent an error in the structured data of questions if the plain text version contains no content
  • Fix issue that prevented the RTE from being programmatically focused
  • Relax validation of URLs in BB code content as users may submit URLs that are missing URL encoding in some scenarios.
  • When a profile banner is applied, ensure that the text stroke applied to the username respects user group-based username CSS modifications.
  • Prevent an error when rendering article previews if the thread's first post is not set correctly
  • Prevent double URL autolinking when an unfurled URL contains a URL within it.
  • Ensure that Facebook embeds are always responsive.
  • Fix permission check when removing tags with the tag changer service
  • Do not grant the change username permission to the unconfirmed user group when upgrading to 2.2 (from 2.1 or earlier). For existing upgrades, remove the permission from this group explicitly. If you wish to allow unconfirmed users to change their usernames, the permission will need to be explicitly re-added after upgrading to 2.2.2.
  • Ensure that the RTE preview tab does not expand unexpectedly if there are no right aligned toolbar icons.
  • Fix typo in overlay click options list.
  • Ensure that BB code blocks (code, quote, and similar) do not appear behind floated images.
  • Prevent an error when fetching a post that contains an embedded video via the API.
  • Prevent invalid characters from being displayed in certain cases when highlighting search results.
  • When clicking "more options", ensure that thread type-related fields don't come from a saved draft
  • Render push templates with the receiver as the visitor
  • Apply a content type to the username change entity.
  • Ensure that banned users do not receive an activity summary email.
  • Fix a situation where the "display children in navigation" option for node-based navigation entries does not work.
  • Apply explanation tooltips more consistently to the account header section.
  • Allow Google Analytics 4 measurement IDs as well as Universal Analytics property IDs.
  • Allow passing through JS options for sticky submit rows
  • Provide an option to use the given user's language when calling \XF::asVisitor()
  • Ensure post ad positions are retained in article template extensions, and exclude them from appearing in article forums with an expanded display
  • Disable auto closing HTML tags in the template modification find and replace inputs.
  • When importing from another XF installation, properly rewrite quotes which are missing a member ID
The following public templates have had changes:
  • PAGE_CONTAINER
  • _help_page_bb_codes
  • account_alert_toggle
  • account_alerts_mark_read
  • attachments.less
  • bb_code.less
  • codemirror.less
  • conversation_mark_unread
  • core.less
  • core_bbcode.less
  • editor.less
  • editor_base.less
  • fa.css
  • font_awesome_setup
  • forum_post_thread
  • member.less
  • member_macros
  • member_tooltip
  • member_tooltip.less
  • member_view
  • message.less
  • node_list.less
  • node_list_forum
  • notice_macros
  • post_article_macros
  • post_macros
  • setup_fa.less
  • thread_type_fields_poll
  • thread_view_type_question
Where necessary, the merge system within the "outdated templates" page should be used to integrate these changes.

Current requirements​

Please note that XenForo 2.2 has higher system requirements than earlier versions.

The following are minimum requirements:
  • PHP 7.0 or newer (PHP 7.4 recommended)
  • MySQL 5.5 and newer (Also compatible with MariaDB/Percona etc.)
  • All of the official add-ons require XenForo 2.2.
  • Enhanced Search requires at least Elasticsearch 2.0.
Today, after a refreshingly short beta and release candidate phase, we are excited to announce that XenForo 2.2.0 is now prepared, seasoned, baked and served, replacing XenForo 2.1.11 as our primary supported XenForo version.

This release adds a collection of great new features to XenForo, including the ability to repurpose forums as article repositories, a new way to encourage guest users to register, a progressive web app and a completely redesigned rich text editor. Check out the following list for some highlights:
  • Forum and thread types system
  • Updated rich text editor
  • User profile banners
  • Username change requests
  • Search forums
  • Forum SEO controls
  • Writing before registering support
  • Progressive web app
  • Activity summary emails
  • Style archive import and export
  • REST API additions
  • Profile post attachments
This is not an exhaustive list of what's new in 2.2, and you can read more about the above and other new changes/improvements features in the Have you seen...? forum.

We have also added preliminary support for the upcoming major release of PHP 8.0.

As always, new releases of XenForo are free to download for all customers with active licenses, who may now grab the new version from the customer area or upgrade from your Admin control panel (Tools > Check for upgrades...).

Note that add-ons and custom styles may be broken after upgrading to 2.2. You must test your add-ons thoroughly or look for updates. Be especially careful with add-ons that cover similar features to ones that are added to 2.2; these may conflict with the core XenForo data. If data conflicts are found, they will need to be resolved in a new add-on release or by removing the add-on before upgrading to 2.2.

Alongside the release of XenForo 2.2.0, we are also releasing updated versions of each of our official add-ons:
  • XenForo Media Gallery 2.2.0
  • XenForo Resource Manager 2.2.0
  • XenForo Enhanced Search 2.2.0
  • XenForo Importers 1.4.0
Each of these has been updated to integrate with the new features in XenForo 2.2 and add features of their own, including:

Media Gallery:
Lightbox navigation and attachment mirroring

Resource Manager:
Teams, review custom fields and review voting

Enhanced Search:
Similar threads when composing or viewing threads

Requirements
The following are minimum requirements:
  • PHP 7.0 or newer
  • MySQL 5.5 and newer
  • All of the add-ons listed here require XenForo 2.2.
  • Enhanced Search requires at least Elasticsearch 2.0
Note: Only the PHP version requirements have changed here. However, even if you're running PHP 7.0 we strongly recommend upgrading to PHP 7.4 at the earliest opportunity for improvements in speed, security and stability. We also recommend MySQL 5.7/8.0 (or equivalent).
XenForo 2.1.9 is now available for all licensed customers to download. We recommend that all customers running previous versions of XenForo 2.1 upgrade to this release to benefit from increased stability.

Where necessary, the merge system within the "outdated templates" page should be used to integrate these changes.

As always, new releases of XenForo are free to download for all customers with active licenses, who may now grab the new version from the customer area.

Note: add-ons, customizations and styles made for XenForo 1.x are not compatible with XenForo 2.x. If your site relies upon these for essential functionality, ensure that a XenForo 2 version exists before you start to upgrade. We strongly recommend you make a backup before attempting an upgrade.

Current Requirements

Please note that XenForo 2.1.x has higher system requirements than XenForo 1.x.

The following are minimum requirements:
  • PHP 5.6 or newer (PHP 7.3 recommended)
  • MySQL 5.5 and newer (Also compatible with MariaDB/Percona etc.)
  • All of the official add-ons require XenForo 2.1.
  • Enhanced Search requires at least Elasticsearch 2.0.
Bên trên
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock    No Thanks