• Before purchasing:
    Please review the product description and compatibility requirements before placing your order. Contact us with any questions to confirm the product meets your needs. Refunds are not available once the product has been downloaded. By purchasing, you agree to our License Agreement.
  • Save More with Paid Membership

    Access over 150 add-ons from Basic and Premium pack for less than buying them individually.

    See membership levels
[XB] Attachment Delete Confirm: Deletion Confirmation & Undo

[XB] Attachment Delete Confirm: Deletion Confirmation & Undo 1.0.0

You must log in or register to purchase ($10.00)
Compatibile XF2 versions
  1. 2.3
Prevent accidental attachment deletion in XenForo with confirmation dialogs, undo controls, and warnings for attachments used in messages.

Attachment Delete Confirm adds an extra layer of protection when removing uploaded files from the XenForo editor. Members can confirm deletions, undo pending removal, and receive stronger warnings when an attachment is already inserted into their message.


Features:​

Attachment Deletion Protection​

  • 🛡️ Attachment Delete Confirmation: Display a confirmation dialog before deleting attachments from the XenForo editor.
  • 🗑️ Single & Bulk Deletion: Confirm the removal of individual attachments or multiple selected files.
  • ⚠️ Used Attachment Warnings: Optionally display a stronger warning when deleting an attachment will also remove it from the message.
  • 🔍 Inserted Attachment Detection: Identify attachments used in the current message in both rich-text and BB code editing modes.
  • 🔒 Mandatory Used Attachment Confirmation: When used attachment warnings are enabled, always require confirmation for attachments inserted into the message, even when standard confirmations are disabled.
  • 👤 Member Preferences: Optionally let registered members disable standard attachment deletion confirmations through their account preferences.

Undo & Recovery​

  • ↩️ Undo Attachment Deletion: Provide a configurable delay during which members can cancel a pending deletion.
  • ⏱️ Configurable Undo Window: Set the undo period between 3 and 15 seconds.
  • 📊 Deletion Countdown: Display a scheduled-deletion notice with a visual countdown progress bar.
  • 🔄 Failed Deletion Retry: Keep attachments that could not be deleted available and retry only failed operations.
  • ✅ Verified Deletion Results: Remove attachment rows and editor references only after successful deletion is confirmed.
  • 💾 Pending Deletion Handling: Complete pending deletions before submitting the containing form or leaving the page.
  • ✏️ AJAX Editor Support: Support attachment deletion confirmation in dynamically loaded post editing forms.

Configuration & Appearance​

  • ⚙️ Confirmation With Undo: Require deletion confirmation followed by an optional undo period.
  • ↩️ Undo Only: Schedule deletion with an undo opportunity without a standard confirmation dialog.
  • 🛡️ Confirmation Only: Require confirmation and delete without an additional undo delay.
  • 👤 Preference Control: Choose whether members can disable standard deletion confirmations.
  • ⚠️ Used Attachment Warning Control: Choose whether to require confirmation before deleting attachments inserted into the current message.
  • 🎨 Style Properties: Customize the scheduled-deletion notice and countdown progress bar using XenForo style properties.

Useful for:​

  • 🛡️ Accidental Deletion Prevention: Reduce the risk of members unintentionally removing uploaded attachments.
  • 📝 Content Editing: Warn authors before deleting images or files already inserted into their posts.
  • 📎 Attachment Management: Make individual and bulk file removal safer and more predictable.
  • ↩️ Mistake Recovery: Give members a short opportunity to cancel deletion before the file is removed.
  • 👥 Busy Communities: Reduce accidental attachment loss during frequent content editing.

FAQ:​

  • ❓ Can I require confirmation before deleting XenForo attachments?
    Yes. The add-on can display confirmation dialogs for both individual and bulk attachment deletion.
  • ⚠️ What happens when an attachment is already inserted into a message?
    When used attachment warnings are enabled, a stronger warning explains that deleting the attachment will also remove it from the message. This confirmation cannot be disabled through member preferences.
  • ↩️ Can members undo an attachment deletion?
    Yes. Administrators can enable a configurable undo window between 3 and 15 seconds before the deletion request is sent.
  • 👤 Can members disable deletion confirmations?
    Yes, if administrators allow it. Members can disable standard confirmations in their account preferences, but enabled warnings for attachments inserted into messages remain mandatory.
  • 🗑️ Does the add-on support deleting multiple attachments at once?
    Yes. Bulk attachment deletion is supported with the same confirmation and protection controls.
  • 🔄 What happens if an attachment cannot be deleted?
    Failed attachments remain available in the editor, and only failed deletions are retried.
  • ✏️ Does it work when editing existing posts?
    Yes. The add-on also supports attachment deletion in AJAX-loaded post edit forms.
  • ⚙️ Can I use confirmation without an undo delay?
    Yes. Administrators can choose Confirmation with undo, Undo only, or Confirmation only.

Screenshots:​

Administration​

admin_options-1.webp
Configure the deletion mode, undo window, member preference, and used attachment warnings.​
admin_style_properties-1.webp
Customize the scheduled-deletion notice and countdown progress bar.​

Member Experience​

pub_account_preferences-1.webp
Allow members to control standard attachment deletion confirmations from their account preferences.​
pub_forum_post_thread-1.gif
Confirm attachment deletion and undo a pending removal in the XenForo editor.​
Renewal price
$10.00 (One year)
License duration
One year
Author
Painbaker
Views
10
First release
Last update

Ratings

0.00 star(s) 0 ratings

This resource in collections

  • UI/UX improvements
    Improve the look and feel of your XenForo forum with add-ons and tweaks...

More resources from Painbaker

Back
Top