News:

Want to get involved in developing SMF? Why not lend a hand on our GitHub!

Main Menu

SMF 2.1.5 released

Started by Sesquipedalian, June 24, 2025, 12:41:20 PM

Previous topic - Next topic

Sesquipedalian

Dear Members,

Simple Machines is pleased to announce a new patch for the 2.1.x line of SMF, which pushes the version number to 2.1.5.

Notable changes in SMF 2.1.5

  • PHP support:
    • Raises the minimum supported PHP version from 7.0 to 7.1.
    • Adds support for PHP 8.4.
  • User profiles:
    • Fixes errors when profile fields using the "nohtml" mask are given values with Unicode characters or quotation marks.
    • Adds a new, separate permission for using Gravatars.
  • Attachments:
    • Several fixes and improvements for the attachment upload UI.
    • Sets Content-Disposition header correctly for attachments for mobile browsers.
    • Improves handling of SVG image attachments
    • Adds support for WEBP images.
  • Editor and BBCode:
    • The "Quote Selected Text" button is now more tolerant of "messy" selection ranges.
    • Shows "Last Edit" info (if applicable) when editing a post.
    • Improves smileys popup behavior.
    • Improves image quality of previews for embedded attachments in the WYSIWYG editor.
    • Fixes bugs in a few edge cases when parsing BBCode.
    • Centers BBCode tables wrapped in the center BBCode.
    • Fixes PHP syntax highlighting in BBCode under PHP 8.3+.
    • Fixes issues with broken HTML entities in warning templates.
  • Calendar:
    • Shows multiple calendar events on the same day correctly.
  • Search:
    • Fixes undefined variable error in custom search API.
    • Fixes a bug where the last character of a Unicode search term could be mangled.
    • Returns correct search results when post moderation is enabled.
  • Email:
    • Notification emails always use display names, never usernames.
    • Improved handling of SMTP errors when sending emails.
    • Fixes a bug where undeliverable emails might never clear from the mail queue.
    • Accepts wildcards in email-based ban triggers.
  • Admin:
    • Updates Unicode data files in a background task. (This ensures the forum will always have up-to-date support for the latest emojis and such.)
    • Fixes bug where rearranging boards in the admin center could cause some boards to temporarily not be shown.
  • Other:
    • Fixes errors in RSS feeds for messages by members with commas in their usernames.
    • Fixes the integrate_error_types integration hook.
    • Fixes the integrate_attachments_browse integration hook.
    • Fixes open_basedir warnings in PHP 8.
    • Fixes some minor UI bugs.

Please see the change list on GitHub for more information.

How to update to 2.1.5

If you are currently using version 2.1.4, you can perform the update using the Package Manager (Administration Center > Package Manager). There you should see a notification about 2.1.5, including a "update your forum" link. If you do not see this notification in the Package Manager, please run "Fetch Simple Machines files" from the Scheduled Tasks page (Administration Center > Maintenance > Scheduled Tasks), and then try again.

If you are currently using any version from 2.1.0 to 2.1.3, you can use the process described above to apply previous update patches successively until you reach version 2.1.5.

If you are currently using any older version of SMF (including SMF 1.x, SMF 2.0.x, or one of the SMF 2.1 Betas or RCs), you can upgrade directly to 2.1.5 from whichever version you are currently using by using the "Large Upgrade" package from the Download page. Be aware that using this upgrade method will require you to reinstall any customizations that you have added to your forum, so if you are running SMF 2.1.0 or higher, it is recommended that you apply the successive patches instead of using the Large Upgrade.

If you are having problems downloading the patch from the admin panel, you can download the patch package from the Package Manager Updates page and install it via the Package Manager, as you would any other mod package.

Please refer to the Online Manual for more details about patching and upgrading.


Finally, as always, please do not use this topic for support requests. You will receive a much quicker and better response by posting in the 2.1.x Support Board.

Thank you for using SMF!

Regards,
Simple Machines
I promise you nothing.

Sesqu... Sesqui... what?
Sesquipedalian, the best word in the English language.

LiroyvH

Congrats on the release, well done and a heartfelt thank you to all contributors! :)
((U + C + I)x(10 − S)) / 20xAx1 / (1 − sin(F / 10))
President/CEO of Simple Machines - Server Manager
Please do not PM for support - anything else is usually OK.

All Colours Sam

Oh, wouldn't it be great if I *was* crazy? ...then the world would be okay
Suki

unclemonkey

Congrats on finishing the upgrade. It would have been fantastic if you would have implemented the use of other payment processors rather than only offering PayPal.

peterbehlendorf

Love the addition of webp support!

gevv

Thanks to the team. He is alive 2025  ;D

ElkArte is a modern, powerful community building forum software. https://www.elkarte.net/

Looking

Thanks for continuing to update and make fixes.

CRM 114

German Wet Shaving Forum: www.gut-rasiert.de/forum

Rumpa

congratulations to the team for this update. Thank you very much.

Neshin

Great Things aHead :) Keep updating

magicalarmchair

Thank you. It's a cracking platform. Thanks for all your work on it.

I am seeing some errors since upgrade from 2.1.4 of: "Undefined variable $sid"

Here:  /forum/index.php?PHPSESSID=jdt7128kpso14k9l80oas1dhsf
/forum/Sources/QueryString.php (Line 677)


669: // Let's do something special for session ids!
670: if (isset($sid) && $sid != '')
671: $buffer = preg_replace_callback(
672: '~"' . preg_quote($scripturl, '~') . '\?(?:' . $sid . '(?:;|&|&))((?:board|topic)=[^#"]+?)(#[^"]*?)?"~',
673: function($m)
674: {
675: global $scripturl;
676:
[b]==>677: return '"' . $scripturl . "/" . strtr("$m[1]", '&;=', '//,') . ".html?" . $sid . (isset($m[2]) ? $m[2] : "") . '"';[/b]
678: },
679: $buffer
680: );
681: else

Just a transient error or is there something I need to do?

Illori

Quote from: Sesquipedalian on June 24, 2025, 12:41:20 PMFinally, as always, please do not use this topic for support requests. You will receive a much quicker and better response by posting in the 2.1.x Support Board.

johnwalker1

Congratulations on completing the upgrade! It would have been even better if additional payment processors were included instead of relying solely on PayPal


Dave J

Thanks to everyone involved in the update

Advertisement: