Warning Improvements by Xon

xF2 Add-on Warning Improvements by Xon 2.9.5

No permission to download
  • Fix edge case where legacy warning definitions with >255 characters would cause an internal server error instead of reporting the warning definition's title was too long
  • If installed, require Alert Improvements v2.9.0+
  • Compatibility fix with Alert Improvements when warning anonymization is enabled and warning alerts are sent
  • Only show "Hide x old warnings" phrase if there are old warnings on a user's profile to hide
  • Add new "Profile warning tab - Old-age limit" option
    • This option is initialized to have the same value as the "Escalating default warning expiry - Old-age limit" option
    • There is a checkbox to show these warnings if required
This add-on is now available on atelieraphelion.com
  • Require php 7.2+
  • Require Standard Library by Xon v1.18.0+
  • Fix a warning title of > 255 characters could be entered and it would be silently truncated. Field is now correctly length checked
  • Fix editing a warning to disable the spoilered content warning did not remove the spoiler title
  • Fix deleting a warning did not disable injecting a spoiler tag into post contents
  • Rename some missed phrases when updating "Escalating default warning expiry" feature
  • Fix removing expired warnings/bans for a user on the next page load was not triggering as expected
  • Fix Report Improvements integration for warning edits now showing disabled reactions flag correctly
  • Fix typo in admincp phrase
  • Fix error during updating when Report Improvements files exist, but the add-on isn't active
  • Change "Warning Escalating Defaults" related phrases text to "Escalating default warning expiry" phrases to better reflect the feature
  • Improve compatibility with older MySQL/MariaDb versions (Fix column sv_content_spoiler_title can't have a default value)
  • When content is edited, ensure the warning spoiler/disable reaction flags are copied to ensure they are kept in sync