Linux 软件免费装
Banner图

Trilobita DocVault

开发者 trilobita
更新时间 2026年10月8日 18:03
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

file management document management version control document library document manager

下载

1.5.8 1.3.7 1.4.0 1.3.8 1.4.8 1.3.3 1.3.5 1.4.4 1.4.6 1.5.2 1.4.2 1.5.1 1.5.9 1.5.5 1.3.9 1.4.1 1.4.9 1.5.6 1.3.6 1.5.4 1.5.7

详情介绍:

Trilobita DocVault turns WordPress into a document library. Upload a file once and its download link never changes: when you upload a new version, every link on your pages, menus and emails serves the new file automatically. Visitors find documents in a searchable, sortable table, and you keep a version history for every file. https://www.youtube.com/watch?v=Btkj5-d3Zyc Key Features: If DocVault is useful to you, please consider leaving a review. It helps other people find the plugin. Go further with Trilobita DocVault Pro Trilobita DocVault Pro adds enterprise-grade features for teams that need more control:

安装:

From the WordPress plugin directory (recommended):
  1. Go to Plugins > Add New in your WordPress admin.
  2. Search for "Trilobita DocVault".
  3. Click Install Now, then Activate.
  4. Go to the new Documents menu in the admin sidebar. A short getting-started guide walks you through uploading your first document and creating a documents page.
Manual installation:
  1. Upload the trilobita-docvault folder to /wp-content/plugins/.
  2. Activate the plugin through the 'Plugins' menu in WordPress.
  3. Go to the new Documents menu in the admin sidebar. A short getting-started guide walks you through uploading your first document and creating a documents page.

屏幕截图:

  • Admin document list with file type, version, size, downloads and expiry date.
  • Version history with download, restore and delete for each version.
  • Upload a new version: the download link stays the same.
  • Document block in the block editor, with layout and display options.
  • Live search in the document library.
  • Per-document access control.
  • Optional expiry date for a document.
  • Document link toolbar button for linking selected text to a document download.

升级注意事项:

1.5.9 Security update: restricted and expired documents are no longer shown in site search or on category and tag pages, plus several hardening fixes. Also adds a getting-started guide for new sites. Recommended for all users. 1.5.8 Security fix for the Document block, plus block editor extension points used by DocVault Pro 1.5.4. Update both plugins together if you use Pro. 1.5.7 Fixes lost download counts under simultaneous downloads, false expiry change events, and dates shown in UTC instead of your site's time zone. 1.5.6 Security update: blocks direct web access to stored document files on Apache, and adds a Site Health check that warns if your server (e.g. Nginx) still allows it. Recommended for all users. 1.5.5 Confirmed compatible with WordPress 7.1. No action required on upgrade. 1.5.4 The Document block's document picker now searches all documents via the REST API — the previous 100-document cap is removed. No action required on upgrade. 1.5.3 Fixes Download and View button labels wrapping across two lines in the document list. 1.5.2 Admin colour scheme compatibility fix — plugin accent colours now track the active admin colour scheme. 1.5.1 Documentation corrections only. No functional changes. 1.5.0 WordPress 7.0 compatibility update. Block API version updated to 3 for iframed editor support. 1.4.9 Adds Core Query Loop block support. Fixes expiry enforcement on direct download/view URLs and REST requests. Expired and access-restricted documents are now hidden from all frontend queries including Query Loop. 1.4.8 Adds drag-and-drop manual sort order for the admin document list and a new flat document Tags taxonomy. Use [trdv_list orderby="menu_order"] to apply the custom order on the frontend; use [trdv_list show_tag_filter="true"] for a tag dropdown filter. 1.4.7 Adds site search integration, inline document viewer, document descriptions, category and file type filter dropdowns, download count column, and a clear search button. Fixes expiry date timezone handling on non-UTC servers. 1.4.6 Minor usability improvement: the Version History metabox now explains what the Restore button does. 1.4.5 Developer release: adds the trdv_allowed_file_types filter as an extension point. Required for DocVault Pro 1.4.3+ (configurable additional file types). No behaviour change for free users. 1.4.4 Bug fixes for media library hiding and deletion guard on legacy files. Fixes a storage stats calculation issue and removes a deprecated function call. Recommended for all users upgrading from 1.4.3. 1.4.3 DocVault files are now stored privately and no longer appear in the media library. Includes a security hardening update for path-based file operations. Recommended update for all users. 1.4.2 Adds file type filter to the admin document list and fixes an edge case with expiry date notifications. 1.4.1 Adds document expiry dates and includes security fixes for access control in block/shortcode renderers and frontend queries. Recommended update. 1.4.0 Adds a review prompt after 21 days and replaces the version limit dialog with an inline Pro upsell notice. 1.3.9 Fixes download button text disappearing when the theme link colour matches the button background. Recommended update. 1.3.8 Fixes drag-and-drop upload not attaching the file when saving a document. Recommended update for all users. 1.3.6 Fixes version history and download log timestamps displaying in the wrong timezone on non-UTC servers. 1.3.5 Improved folder structure warning, role-based access upgrade prompt, and help page improvements. 1.3.4 Fixes flat folder structure filename prefix after version pruning, download log UTC storage, and adds an admin notice if the uploads directory is not writable on activation. 1.3.3 Initial release on WordPress.org. 1.3.2 Resolves remaining WordPress Plugin Check warnings. 1.3.1 WordPress Plugin Check compliance fixes. Recommended update before WordPress.org submission. 1.3.0 Security improvements and WordPress.org compliance. Contains breaking shortcode renames — see changelog. 1.2.3 Addresses common WordPress.org plugin rejection issues. Recommended for all users. 1.2.2 Fixes WordPress Plugin Check errors for i18n compliance and output escaping. 1.2.1 Security hardening and WordPress.org compliance improvements. Recommended update for all users. 1.2.0 Stability improvements and preparation for Pro add-on compatibility. 1.1.0 Adds access control, download tracking, Gutenberg block support, and security improvements. Recommended update for all users. 1.0.0 Initial release.

常见问题:

What file types are supported?

Trilobita DocVault supports PDF, DOC, DOCX, XLS, XLSX, PPT, PPTX, ODT, ODS, ODP, RTF, CSV, and TXT files.

How does version control work?

From the Edit Document screen, you can upload new versions of a file. The plugin keeps a full version history with the ability to download, restore, or delete any previous version. By default, up to 5 versions per document are kept.

How do I display documents on the frontend?

There are three ways:

  1. DocVault Document block — add a single document with a download button directly in the Gutenberg block editor.
  2. [trdv_list] shortcode — displays a searchable, sortable table of documents on any page or post. On a new site, the getting-started guide's Create a documents page button sets up a draft page with this table for you.
  3. [trdv_link] shortcode — inserts an inline download link within any text. You can also use the Trilobita DocVault Link toolbar button in the block editor to link selected text to a document without using a shortcode.

Are download links secure?

Yes. Download links use the format /trdv/download/{id}/ rather than a direct path to the file. Every download request is handled by WordPress, which checks access permissions before serving the file. The actual file location on the server is never exposed. Restricted documents cannot be accessed by guessing a URL, and files are always forced to download rather than opened inline in the browser (except PDFs and images opened with the View button). On Apache, DocVault blocks direct web access to its upload folder with an .htaccess file, so stored files can only be reached through these download links. Nginx and some other servers ignore .htaccess files, so on those servers you should add an equivalent rule to your server configuration. DocVault checks this for you: go to Tools > Site Health, and if stored files can be downloaded directly you will see a warning with the exact rule for your site. For Nginx: location ^~ /wp-content/uploads/trdv-documents/ { deny all; } If your site has a legacy sdm-documents folder from an early version of the plugin, add the same rule for that folder too.

Can I restrict document access?

Yes. In Documents > Settings, set the default access to Public or Logged-in users only. Each document can override the default in its Access Control box. Restricting documents to specific user roles is available in DocVault Pro.

Where are uploaded files stored?

Files are stored in /wp-content/uploads/trdv-documents/. By default all files are kept in one folder; in Documents > Settings you can choose folders by document ID or by year and month instead.

Can I replace a document without breaking links?

Yes. Open the document, drop the new file into Upload New Version and click Update. Download links point to the document, not the file, so every existing link now serves the new version. The previous file stays in the version history.

Can I count downloads?

Yes. Every download through a DocVault link is counted. Counts appear in the admin document list and on each document's edit screen, and you can show them on the frontend with [trdv_list show_count="true"] or the Document block's Show download count option.

How many versions are kept?

By default, up to 5 versions per document are kept. Older versions are automatically removed when the limit is reached.

Can I set an expiry date on a document?

Yes. Each document has an optional expiry date field in the admin. Once the date passes, the document is automatically hidden from all frontend listings — the [trdv_list] shortcode, AJAX search, Query Loop block, and REST API. Direct download and view URLs are also blocked for non-admin, non-author users. To include expired documents in a specific [trdv_list] listing, use [trdv_list show_expired="true"]. Admins and the document's author can still download expired documents directly; they remain visible and manageable in the admin.

Is the plugin translation-ready?

Yes, Trilobita DocVault is fully translatable. A .pot template file is included in the plugin's languages/ folder to help you get started. Translation files should be named trilobita-docvault-{locale}.mo (e.g. trilobita-docvault-fr_FR.mo) and can be placed either in the plugin's own languages/ folder or in /wp-content/languages/plugins/.

更新日志:

1.5.9 1.5.8 1.5.7 1.5.6 1.5.5 1.5.4 1.5.3 1.5.2 1.5.1 1.5.0 1.4.9 1.4.8 1.4.7 1.4.6 1.4.5 1.4.4 1.4.3 1.4.2 1.4.1 1.4.0 1.3.9 1.3.8 1.3.7 1.3.6 1.3.5 1.3.4 1.3.3 1.3.2 1.3.1 1.3.0 1.2.3 1.2.2 1.2.1 1.2.0 1.1.0 1.0.0