Title: Assets Manager
Author: Jack Reichert
Published: <strong>2014 年 1 月 12 日</strong>
Last modified: 2016 年 11 月 29 日

---

搜索插件

![](https://ps.w.org/assets-manager/assets/banner-772x250.png?rev=1275676)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/assets-manager/assets/icon-256x256.png?rev=1216017)

# Assets Manager

 作者：[Jack Reichert](https://profiles.wordpress.org/jackreichert/)

[下载](https://downloads.wordpress.org/plugin/assets-manager.zip)

 * [详情](https://cn.wordpress.org/plugins/assets-manager/#description)
 * [评价](https://cn.wordpress.org/plugins/assets-manager/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/assets-manager/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/assets-manager/#developers)

 [支持](https://wordpress.org/support/plugin/assets-manager/)

## 描述

Assets Manager is a self-hosted file sharing tool. Born out of the need for a file
sharing tool that was not blocked by high security firewalls, such as many existing
file sharing services are, Assets Manager was developed. When you upload a file,
or set of files, Assets Manager generates obscured links to the files so that you
can control how those files are shared.

[Here’s how it works.](http://www.jackreichert.com/2015/11/15/how-assets-manager-replaced-our-sharefile/)

#### 特点

 * Set an expiration period for when the file link will expire.
 * Disable links after they’ve been shared (no more fretting when sending out emails).
 * Force anyone trying to access a link to log into your site.
 * Creates landing page for each asset post type collecting files uploaded together
   into one link.

For more information check out the full blogpost about [Assets Manager](http://www.jackreichert.com/2014/01/12/introducing-assets-manager-for-wordpress/).

Questions? Comments? Requests? [Contact me](http://www.jackreichert.com/contact/).

### Thanks

Special thanks to @binmind for his extensive QA testing of the company’s plugin,
his testing was crucial for development of the proof of concept and making sure 
everything was working as it should.

## 屏幕截图

 * [[
 * Add a title.
 * [[
 * Add new files.
 * [[
 * Attach files.
 * [[
 * Publish.
 * [[
 * Share.

## 安装

 1. Upload `plugin-name.php` to the `/wp-content/plugins/` directory
 2. 通过WordPress的“插件”菜单激活插件
 3. Resave your ‘Pretty Permalinks’ structure under “Settings > Permalinks”.

#### To create an asset set

 1. Under Assets Manager menu ‘Add New’
 2. Drag files to upload to where it says ‘Drop files here’ or select files to upload.
 3. Select settings for each file.
 4. Add a title (**note:** you will not be able to upload without a title).
 5. Hit upload.
 6. Publish post (**note:** links will not be available until the Asset Set as been
    published).

## 常见问题

  Why would I want to disable a link?

Let’s say there is incorrect information in the file, or there is an updated version,
now you can disable the link sent out, shared, published and send out a new one.

  Are these files searchable?

The asset sets are blocked from being searchable in WordPress. This means that global
searches of the site will not bring up any of the uploaded assets. This does not
block search engines from finding them if they are linked to from someplace else.
But it does make finding files harder if you do not have a direct link to the file.

  Can I upload a bunch of files and share them all with one link?

Yes you can. Assets Manager generates a page that contains all of the links in the
asset set. This page can then be shared. Note: if you have disabled or expired files
they will not be listed on this page, if a file is “secure” and the visitor is not
logged in the file link will not appear as well.

  Can I reorder the list of files on the public facing assets set page?

Sure, just drag and drop. No need to save. All reordering happens via AJAX automatically.

  Does this work with nginx?

Sure, in some installs you may need to add this to your conf file, I needed this
to serve images correctly:
 location ~ ^/asset/(.*)$ { try_files $uri $uri/ /index.
php?$query_string; }

  What about foo bar?

Answer to foo bar dilemma.

## 评价

![](https://secure.gravatar.com/avatar/f25e2a704895756646f6e91d83f8e8f852c7dee852eb9c8adacb97b101a2b7a1?
s=60&d=retro&r=g)

### 󠀁[Perfect](https://wordpress.org/support/topic/perfect-3014/)󠁿

 [Kluk](https://profiles.wordpress.org/kluk/) 2016 年 9 月 3 日

THE solution to share my files. Thanks!

 [ 阅读所有4条评价 ](https://wordpress.org/support/plugin/assets-manager/reviews/)

## 贡献者及开发者

「Assets Manager」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Jack Reichert ](https://profiles.wordpress.org/jackreichert/)

[帮助将「Assets Manager」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/assets-manager)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/assets-manager/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/assets-manager/)，或通过[RSS](https://plugins.trac.wordpress.org/log/assets-manager/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/assets-manager/)。

## 更新日志

#### 1.0.2

 * Fixed issue with hooks firing when they shouldn’t.

#### 1.0.1

 * Improved error handling for fopen in case file was deleted.

#### 1.0

 * Complete refactor of entire codebase.
 * Leverages a better object oriented architecture, fopen, and wp.media.
 * You can now change the asset base permalink.

#### 0.6.2

Fixed js typo that was preventing reordering feature

#### 0.6.1

Added period before file download extension

#### 0.6

Implemented a better way to serve files

#### 0.5

Fixed ssl issues

#### 0.4

Fixed issue where filename was not filename chosen

#### 0.3

Fixed issue where period was replacing wrong text

#### 0.2.9

Removed style that hides .nav-links

#### 0.2.8

Fixed additional HR added to posts (props @AEsco11)

#### 0.2.7

 * Refactored file serving to handled certain extensions that were buggy. (props
   @AEsco11)

#### 0.2.6

 * Tested up to 4.0
 * Added flush_rewrite_rules() to prevent need for re-saving permalinks on activate

#### 0.2.5

 * Changed action to prevent “headers sent” error

#### 0.2.4

 * Removed echo to prevent “headers sent” error

#### 0.2.3

 * Changed action to prevent “headers sent” error

#### 0.2.2

 * Changed priority for action to prevent “headers sent” error

#### 0.2.1

 * php bugfix, compatable with 3.9

#### 0.2

 * Bug js and php bug fixes

#### 0.1

 * This is the first version.

## 额外信息

 *  版本 **1.0.2**
 *  最后更新：**10 年前**
 *  活跃安装数量 **70+**
 *  WordPress 版本 ** 3.7 或更高版本 **
 *  已测试的最高版本为 **4.7.33**
 *  语言
 * [English (US)](https://wordpress.org/plugins/assets-manager/)
 * 标签
 * [asset management](https://cn.wordpress.org/plugins/tags/asset-management/)[assets](https://cn.wordpress.org/plugins/tags/assets/)
   [file management](https://cn.wordpress.org/plugins/tags/file-management/)[file sharing](https://cn.wordpress.org/plugins/tags/file-sharing/)
   [uploads](https://cn.wordpress.org/plugins/tags/uploads/)
 *  [高级视图](https://cn.wordpress.org/plugins/assets-manager/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  4 条 5 星评价     ](https://wordpress.org/support/plugin/assets-manager/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/assets-manager/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/assets-manager/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/assets-manager/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/assets-manager/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/assets-manager/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/assets-manager/reviews/)

## 贡献者

 *   [ Jack Reichert ](https://profiles.wordpress.org/jackreichert/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/assets-manager/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://www.jackreichert.com/buy-me-a-beer/)