private-uploads

描述

此插件已于 2025 年 4 月 8 日 关闭,无法下载。 原因:违反准则。

评价

2019 年 11 月 18 日
Simple, works well, just perfect for me. Some tips: With the Plugin User Role Editor you can add a role like view_private_file and choose which user roles can access it. You can also redirect to a access denied page. Just modify in the Plugin file the function send_private_file like this: // Only return files to logged-in users if (!is_user_logged_in() || !current_user_can('view_private_file')) { header("Location: https://www.yoursite.com/access-denied"); die(); }
2019 年 2 月 26 日
Developer was helpful in answering my questions. Bluehost users will want to follow the Apache instructions.
2018 年 7 月 12 日
This is just the plugin I needed! No fluff, just does one thing and does it well. While it does work out of the box, there’s some hard-coded paths and other things in there that can’t be changed, so I’ve based a customized version off this plugin. For anyone who wants to use this with Apache, here’s an equivalent .htaccess rule: RewriteRule ^wp-content/uploads/(private)/(.*)$ /?pucd-folder=$1&pucd-file=$2 [L]
阅读所有3条评价

贡献者及开发者

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

贡献者

帮助将「Private Uploads」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志