[Homicide] Archive Comment

HomicideHomicide is verified member.

Administrator
Staff member
Points 43
Solutions 0
This addon allows you to add comments to your zip files that people download.
Support for XenForo 2.2, 2.3

Screenshot 2026-02-23 004532.png

Screenshot 2026-02-23 004924.png

Screenshot 2026-02-23 005852.png
 

Attachments

Last edited:
That looks good. Would it be possible to include the username of the user who downloads it in the archive and specify the location of the text file?
 
I will look in to that, never tried it. Might be possible.
 
If you stored it deep in the archive and even changed its location from time to time it would at least provide a small clue as to who is distributing the files.
That would actually be quite useful.
 
These kinds of modifications would be good for this addon, what do you think?

1774901546908.png




1774901450366.png
 

📦 Archive Comment Addon by Homicide V2.4.0​

New verion soon (leave feedback before release)


Automatically add a custom comment to ZIP‑based attachments downloaded from your XenForo forum.

Depending on your settings, the addon can:

  • 📝 insert a text file inside the archive
  • 💬 write a ZIP metadata comment
  • 🔄 do both at the same time

✨ What’s New​

This version gives you much more control over how comments are added to archives.

You can now:

  • 🗂️ choose which archive extensions to handle: zip, jar, epub, docx, xlsx, pptx, odt, ods, odp, apk
  • ⚙️ choose whether the comment is added as a file, metadata, or both
  • 📄 customize the filename of the inserted text file
  • 📁 place the file in a custom subfolder inside the archive
  • 🚫 prevent overwriting if the file already exists
  • 👥 exclude specific user groups from receiving modified files
  • 🔖 add a prefix to the downloaded filename
  • 🔧 use dynamic placeholders in the comment text

🧩 Available Placeholders​

Customize the comment text with:

  • {username}
  • {user_id}
  • {ip}
  • {filename}
  • {date}
  • {time}
  • {site_name}
  • {site_url}

💡 Example:


Code:
Downloaded by {username} from {site_name} on {date} at {time}

⚙️ Main Options​

🔘 Enable archive comment injection​


Turns the addon on or off globally.

📝 Comment text​

Defines the message inserted into the archive.

📂 Handled extensions​

Default ZIP‑compatible formats processed:

  • zip
  • jar
  • epub
  • docx
  • xlsx
  • pptx
  • odt
  • ods
  • odp
  • apk

📄 Comment filename inside archive​

Sets the filename of the inserted text file.

🔧 Injection mode​

Choose between:

  • both — insert file + metadata comment
  • file — insert only the text file
  • metadata — write only the ZIP metadata comment

🛑 Excluded user groups​

Users in these groups receive the original, unmodified file.

📁 Subfolder inside archive​

Place the inserted file in a custom folder path.

🔄 Overwrite existing comment file​

Replaces an existing file with the same name if enabled.

🔖 Download filename prefix​

Adds a prefix to the final downloaded file.

📝 Notes​

  • ✔️ Only use ZIP-compatible formats in the extension list.
  • ❌ Formats like rar or 7z are not supported.
  • 🔐 If the archive cannot be processed, the original file is delivered unchanged.
  • ➖ Leave optional fields empty to use the default behavior.
 
Yes I will be waiting for this.
 
The new version 2.4.0 has been tested and approved by Homicide, enjoy!
 

Attachments

Next up is a escrow add-on :LOL:
 
Next up is a escrow add-on :LOL:

Haha, now that would be… interesting.

An escrow add‑on for XenForo would actually be pretty useful for marketplace-style forums:

  • Hold payments until both parties confirm the deal
  • Dispute / refund flow
  • Basic reputation / feedback integration
  • Maybe tie it into a resource / thread-based “deal” system

But it’s also a bit of a legal and security minefield once you start touching real money and chargebacks.

If Homicide ever decides to tackle that, it’d probably need to integrate with something like PayPal / Stripe “escrow-like” flows rather than trying to be its own payment processor.

Would you be thinking about it for:
  • Digital goods (like these archives / resources)?
  • Physical items from marketplace threads?
  • Services (design, coding, etc.)?

The use case would kind of dictate how complex it has to be.
 
I don't really see a need for there is already one around.
I don't really find it useful either. BUT maybe so for another coder.
 
I don't really see a need for there is already one around.
I don't really find it useful either. BUT...

Yeah, same here – for most forums it’d probably just be bloat, especially if there’s already one available that covers the basics.

For something like Archive Comment, the benefit is obvious and low‑risk:
  • No money handling
  • No legal/chargeback headaches
  • Clearly improves moderation / tracking

Escrow, on the other hand, is:
  • High support overhead (disputes, “he scammed me”, etc.)
  • Payment gateway dependent
  • More of a niche (only for forums with an active marketplace)

So I get why Homicide is focusing on utility / moderation style addons like this one instead. But yeah, as you said, could be a nice project for someone who specifically wants to build marketplace tooling.
 
I am thinking we need a music addon, that is more updated then what is out there.
I am going to be looking at that next for use with the torrent tracker.
 
I am thinking we need a music addon, that is more updated then what is out there.
I am going to be l...

That could actually fill a real gap, especially if you tie it into the tracker.

A lot of the “music” / “audio” addons out there are either abandoned, clunky, or only meant for basic embeds. If you’re thinking in terms of torrents + music, some ideas that might make it stand out:

  • Per‑torrent audio preview
    Link uploaded audio files (or external URLs) to the torrent and show an inline player in the thread / resource / torrent view.
  • Metadata parsing (ID3 / tags)
    Read basic tags from uploaded audio and auto‑fill:
    • Artist
    • Album
    • Track title
    • Year
    • Genre
  • Cover art handling
    • Extract embedded cover art where possible
    • Or allow upload of cover image when creating the torrent
    • Display it nicely in thread / torrent list / player
  • Modern player
    • HTML5 player with playlist support
    • Waveform or progress bar with timestamps
    • Mobile friendly UI
    • Optionally support multiple formats: mp3, flac, ogg, etc.
  • Integration with XF
    • Permissions (who can upload, who can stream, who can download)
    • Likes/reactions/comments for tracks or “releases”
    • Optional “Music” tab on user profiles showing their uploads
  • Tracker‑aware logic
    Since you’re using it with a torrent tracker:
    • Tie the music “release” view to the torrent entry
    • Show seeders/leechers/snatches along with the music info
    • Maybe require the torrent to be approved before preview is public

If you build it with these in mind and keep it up to date with XF 2.3 changes (JS, templating, permissions), it’d probably get more real use than another generic player addon.

Are you thinking pure streaming/preview for uploaded files, or also supporting external sources (YouTube, SoundCloud, etc.) as fallbacks?
 
Back
Top Bottom