www.fldtrace.com
Open in
urlscan Pro
2606:4700:3034::ac43:8494
Public Scan
URL:
https://www.fldtrace.com/wordpress-user-private-files-plugin
Submission: On October 04 via manual from GH — Scanned from DE
Submission: On October 04 via manual from GH — Scanned from DE
Form analysis
0 forms found in the DOMText Content
* About * SEO Services * SEO Strategy Consultation * Results * Contact Menu * About * SEO Services * SEO Strategy Consultation * Results * Contact WORDPRESS USER PRIVATE FILES PLUGIN NOTE: THIS PLUGIN IS NO LONGER SUPPORTED – I WAS LET KNOW THAT IT STILL WORKS THOUGH. IF YOU NEED HELP WITH UPDATES AND CUSTOM WORK PLEASE POST THIS PROJECT FOR OUR PARTNERS. USER PRIVATE FILES PLUGIN The first step, download User Private Files and copy into your plugins folder then active it. [update 1.1 now has a single page view for the attached file where you can have a description and other fields.] Download User Private Files On GitHub Second, create a page which I will just name “My Dashboard”, then paste: [userfiles]. The uploaded files will show on this page. USER PRIVATE FILES BACK-END The back-end is intuitive and the admin has options such as file upload for a specific user, category assignment, user email notifications, and multilingual support. USER FILES FRONT-END With some CSS enhancements this is how our page “My Dashboard” should look like: As you can see the plugin can filter the uploaded files by year or by the category assigned. Pretty cool isn’t it? LIMITATIONS Currently, the only allowed files are the PDF’s but that can be easily modified so the admin can upload other files types such as images, documents, zips, HTML etc. Go in the plugins folder, user-private-files/user_private_files.php then find the following line: 1 2 // Setup the array of supported file types. In this case, it's just PDF. $supported_types = array('application/pdf'); Here is a full list of supported files: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 "pdf" => "application/pdf", "txt" => "text/plain", "html" => "text/html", "htm" => "text/html", "exe" => "application/octet-stream", "zip" => "application/zip", "doc" => "application/msword", "xls" => "application/vnd.ms-excel", "ppt" => "application/vnd.ms-powerpoint", "gif" => "image/gif", "png" => "image/png", "jpeg" => "image/jpg", "jpg" => "image/jpg", "php" => "text/plain" Now you can enable more file types like so: 1 $supported_types = array('application/pdf','image/png','application/zip'); Final thoughts This plugin was custom developed for a client project as at the moment I couldn’t find any good plugins that meet these specific requirements. Feel free to use and modify it for your projects. Tagged WordPressWordPress Plugin Development CHARLOTTE, NC copyright 2023 © FLDTRACE QUICK LINKS * About * SEO * Results * Contact * About * SEO * Results * Contact EXPERTISE & CERTIFICATIONS