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 訂閱開發記錄