Nimrod
Vibe Coder
- Joined
- Jun 1, 2007
- Messages
- 1,495
Digiex DMCA Takedown Form 1.0.0 - Free XenForo 2.3 Add-on
Why we made this
Any board that hosts member-posted files eventually needs a proper DMCA intake. XenForo's contact form is not that. It can be switched off for guests, established members skip the captcha, and the board spam checker will often reject the one thing a valid notice always contains: a list of URLs pointing at the claimed material. A legitimate legal notice should not disappear behind "your content cannot be submitted, try later".
We needed a form that stays open to everyone, always shows captcha, emails the agent, and stores nothing on the board. Commercial options exist; writing a small native one and running it ourselves was simpler. This is that form. Digiex has been using it at https://digiex.net/misc/dmca.
Use it, fork it, reword the intro, point the mail at your agent. No licence fee, no "pro" tier, no telemetry.
Written with Claude Code
The add-on was written with Claude Code (Anthropic's coding agent). The careful bits (captcha for members too, no spam-checker on a URL list, declarations required before anything is sent) were specified on purpose, then implemented that way.
If you want changes (a log table, extra fields, a different URL, 2.2 support, whatever), the practical path is the same one we used:
- Open the zip (or the add-on folder inside it) in Claude Code, Codex, or Grok Build
- Describe what you want in plain English
- Review the changes, then install
You do not need to be a XenForo specialist to adapt it. You need a clear idea of what your board should collect, and a test notice to yourself before you rely on it.
What it does
Digiex DMCA Takedown Form is a free XenForo 2.3 add-on that puts a native takedown request form at
/misc/dmca. Guests and members can file. Each notice is emailed to the address you set. Nothing is written to the database.The form collects:
- Infringed work name
- Direct links to the claimed infringement (one URL per line, kept exactly as typed)
- Copyright owner (who may not be the person filing)
- Name / company and e-mail of the person making the request
- Optional remarks
- Two required declarations: penalty for material misrepresentation, and that the filer is or represents the owner
Captcha is forced for everyone, including logged-in members. The board flood check applies. The spam content checker is not run, on purpose. A valid notice looks like the thing that checker exists to reject.
Name and email are always asked for, even from a member. On a takedown those are the complainant's legal details and may differ from the forum account. If someone is logged in, their username is added to the email as extra context, not as a substitute.
Download: see the attachment on this post,
Digiex-Dmca-1.0.0.zipWhat we were careful about
- Always open. No permission flag, no way to switch it off for guests. A notice has to be filable by anyone.
- Captcha for everyone. The contact form lets confirmed members past it. This one does not.
- Declarations required. Both boxes must be ticked or the submit is refused. An incomplete notice is not treated as filed.
- URLs not rewritten. Blank lines are dropped and whitespace trimmed, but the URL itself is kept as typed. A takedown is a legal document.
- Nothing stored. Each notice exists only as the email it sends. Uninstall leaves no tables behind, because none were created.
- You have to set the notice email. That is the agent's inbox. Until you do, the form is not doing its job.
- Reply reaches the complainant. From stays the board address so SPF/DKIM still pass; Reply-To is the address they typed.
- Intro is an option, not a template. Change the legal wording without a code deploy.
See it live / screenshot
The form on Digiex is the real thing, not a mock.
Have a look at https://digiex.net/misc/dmca if you want to see the page, the fields, the declarations and the footer link before you install anything.
Add-on listed as installed:
Requirements
- XenForo 2.3 only (not 2.2)
- PHP 8.0 or newer
- Working board mail. Notices exist only as email.
- No extra database tables of its own. Installs clean, uninstalls clean.
Installation
Easiest: Admin CP
- Admin CP -> Add-ons -> Install/upgrade from archive
- Upload
Digiex-Dmca-1.0.0.zip - Confirm and let the installer finish
Manual upload
- Unzip the archive
- Copy the contents of the
uploadfolder into your XenForo root - Admin CP -> Add-ons -> Install Digiex DMCA Takedown Form
Command line
From your XenForo root, use XenForo's CLI runner (
cmd.php) with:xf:addon-install Digiex/DmcaAfter install: two settings, both required
Admin CP -> Options -> DMCA takedown form
- Introductory text. The default is a single placeholder: Please use the form below to contact the DMCA Takedown Agent for X. Replace X with your board name, or paste your own legal preamble. It is HTML, output as written, so use paragraph and link tags.
- Send takedown notices to. Required. Put the DMCA agent's address here. More than one is fine, separated by commas, semicolons or new lines. Every listed address gets the same email. Do not leave this empty. A takedown form that does not go to the agent is useless.
Then open
/misc/dmca, confirm the footer shows a DMCA Notice link (just before Help), and send yourself a test notice. Check that it arrives at the agent address, that reply goes to the address you typed on the form, and that the subject names the work.This add-on is an intake form, not legal advice. It does not register a designated agent, keep a statutory log, or decide whether a claim is valid. The wording you put in the intro is what complainants read.
Settings
Admin CP -> Options -> DMCA takedown form
| Setting | Default |
|---|---|
| Introductory text | Placeholder paragraph naming X. You must change this. |
| Send takedown notices to | Empty until you set it. You must set this to the agent's address. |
There are no other settings. Captcha is whatever the board already uses. Flood control uses XenForo's own check under the action name
dmca.What the email looks like
Subject:
DMCA takedown request: {work}. Identifiable in the inbox without opening it.The body has the work, the URL list, the copyright owner, the filer's name and address, optional remarks, both declarations, the submitter's IP, and the forum username if they were logged in. Reply goes to the complainant.
Footer link
A template modification adds DMCA Notice to the public footer, just before Help.
It matches the default XenForo footer markup. If a custom style does not contain that Help list item, the link will not appear. The form is still at
/misc/dmca either way. Add a link from your style or a notice if you need one.Important notes
- Set Send takedown notices to before you rely on the form. That is the whole point of installing it.
- Notices exist only as email. If board mail is not working, notices are lost. Send a test to the agent address before you go live.
- There is no ACP queue and no log table. If you want a paper trail, send the option to an address that is archived, or to more than one address.
- Both declarations must be ticked. An incomplete submit is refused and is not treated as a filed notice.
- The spam content checker is deliberately not used. Captcha and flood control still apply.
- Logged-in members still have to type their legal name and email. The forum account is extra context only.
- The add-on does not register you as a designated agent and is not a substitute for your own legal wording.
Uninstall
Admin CP -> Add-ons -> Uninstall, or use the CLI runner with:
xf:addon-uninstall Digiex/DmcaRemoves the options, phrases, templates, footer link and class extension. No custom tables, so nothing is left behind in the database. Emails already sent are not recalled.
Licence / freedom
Free for anyone to use, modify, redistribute, and build on. No strings. If you improve it for your board, sharing the patch back in this thread would be appreciated but is not required.
Want a different form? Point Claude Code, Codex, or Grok Build at the source and ask. Full documentation is in
README.md inside the zip.Version: 1.0.0 · Digiex · XenForo 2.3 only
Questions and feedback welcome in this thread.
