=== User Private Files PRO === Contributors: deepakkite, mrking2201 Tags: private files, client portal, user files, private content, user dashboard, file manager Requires at least: 6.0 Tested up to: 6.9 Stable tag: 4.4.5 Requires PHP: 7.4 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Frontend File Manager plugin allows users to manage their uploaded files and access to them. == Description == User Private Files Pro is a premium WordPress plugin with Dropbox like design and functionalities that turn your website into a shared hosting for your customers This plugin will add a file sharing functionality on your WordPress website. Your site users will be able to login and upload their files and manage the access to those files. Checkout the Demo [Here](https://userprivatefiles.com/) Shortcode **“[upf_manager]”** Users can add/remove other users from their files by their email addresses. Only the allowed users will be able to view/download those files and unauthentic users will see a permission denied error message (even if they have direct URL to the file). Your users will be able to manage their files, add a title and note to the uploaded files. They can also delete their uploaded files. Site administrator can view all the files from the WP media library and will have the full control over them. If you have any feedback or more features request, let us know by creating a support ticket and we will add/improve it asap. == Installation == You can install the Plugin in two ways. = WordPress interface installation = 1. Go to plugins in the WordPress admin and click on “Add new”. 2. Click on Upload and select the plugin zip file. 3. Click on “Install” to install the plugin. 4. Activate the plugin. 5. Go to settings and enter you license key and activate it. = Manual installation = 1. Download and upload the plugin files to the /wp-content/plugins/user-private-files-pro directory. 2. Activate the plugin through the "Plugins" screen in WordPress admin area. 3. Go to settings and enter you license key and activate it. == Frequently Asked Questions == = What is the shortcodes = The shortcode is [upf_manager] We recommend that you use it on a full width page. = Does this plugin modify .htaccess file? = Yes, the plugin needs to write a rewrite rule to the .htaccess file to allow/deny user files access. You can manually add the code by yourself as well. = Will the user files appear in the backend? = Yes, the site administrator can view/delete all the files uploaded by users in the backend. = How can users share their files? = After uploading a file, it will appear in the content. User can then click on that file and add/remove the users from the right side panel using their email address one by one. Those email addresses need to exist on your website as user accounts. = Does the plugin send an email to the users? = Yes, when adding a user by an email address to the file, the plugin sends an email to the target user. The target user needs to login to view the files that are shared with him/her. == Changelog == = 4.4.5 = * 2025-12-08 * New Feature - Included premade folders in request feature. * New Feature - Disable file comments option. * Update - Pretty file types. * Fixed - Conflict with free version. = 4.4.4 = * 2025-10-08 * New Feature - Column width options for list view. * New Feature - Resizable columns in file manager list view. * New Feature - Empty folder feature and option. * New Feature - Disable download for roles option. * New Feature - New cron job sync interval option. * New Feature - List column header actions for bulk select and sorting. * New Feature - Redirect URL for guest users option. * Update - File count on folder load. * Fixed - File comment bug for view-only access. * Fixed - Public files preview popup layout issues. = 4.4.3 = * 2025-06-25 * New Feature - Option to disable sharing for selected roles. * New Feature - Option to hide shared-with-me section for selected roles. * Update - File upload progress bar design. * Fixed - Email notification issue. * Fixed - Empty text file bugs. * Fixed - Upload file bug for nested files/folders. * Fixed - ReCAPTCHA not working for selected files shortcode. * Fixed - PDF width issue in mobile devices. * Fixed - File name and description not working for subscriber users issue. = 4.4.2 = * 2025-04-24 * New Feature - Display a progress bar for each upload. * New Feature - Cancel a file upload. * Update - File size format. * Fixed - Zip opacity and copy button bug. = 4.4.1 = * 2025-03-26 * Update - Use website's date format. * Fixed - g-drive file connection issues. * Fixed - Incorrect copy link on right click share popup. = 4.4.0 = * 2025-03-12 * Fixed - Invalid ID bug when uploading files to all-files. * Fixed - File upload delay issue. = 4.3.9 = * 2025-02-15 * Update - Added version & manage keys in the settings. * Fixed - JS XSS issue by implementing html entities method. * Fixed - classic shortcode bugs. = 4.3.8 = * 2025-02-04 * New Feature - Right click dropdown * New Feature - New JS hook for upload_complete * New Feature - New filter for multiple upload option * Update - Sanitized and Escaped content * Update - Added preview for zip and doc files in public and selected files * Update - Display recheck & deactivate button if license key is present * Fixed - The pdfjs lib not loading before commonjs file * Fixed - PHP 8 compatibility error with mb_convert_kana function * Fixed - Removed notification for zip = 4.3.7 = * 2024-12-24 * New Feature - Request a file/folder with option to enable/disable. * New Feature - Support for Activity Logs. * New Feature - Email notification for new comments. * Update - Log file comment action. * Update - Mobile CSS for sorting columns. * Update - License check cache bypass. * Update - Admin side license buttons CSS for smaller screens. * Fixed - Shared folder and Sync folder bugs. * Fixed - Mobile toolbar design issue. * Fixed - Mobile CSS for default themes. * Fixed - Grid/List view bug in public files. * Fixed - File manager menu bug. = 4.3.6 = * 2024-11-16 * New Feature - Auto resync for server folder in fixed intervals. * New Feature - Support for Activity Logs addon. * Update - Improved license logic. * Update - Thumbnail added for update page. * Update - Added filter for users list in sharing popup. * Fixed - Grid/List view for public files. = 4.3.5 = * 2024-10-18 * New Feature - Added option to restrict file types/extensions. = 4.3.4 = * 2024-10-14 * Update - Improved Server Sync UX/UI. * Update - Optimized Server Sync process. * Fix - Image regeneration issue. * Fix - Filename space issue after server sync. * Fix - Undefined array variable error for nginx servers regarding htaccess file. = 4.3.3 = * 2024-10-04 * New Feature - Custom Registration Fields. * New Feature - Search in public files. * Update - Premade (Separate type) folders now show up in the Move-to dropdown. * Update - Styling upgrade. * Fix - Public Files not downloading when not logged-in. * Fix - Layout issue in the default and some other theme. * Fix - Incorrect path for Network site setup. = 4.3.2 = * 2024-09-23 * New Feature - Option to disable full width layout for file manager. * New Feature - Registration form new options for required field and success message text & color. * Update - Public files moved to a separate folder. * Update - Pagination optimization. * Fix - Password protected public files open with direct link. * Fix - Search pagination showing empty result on next pages. = 4.3.1 = * 2024-09-13 * New Feature - Password protected public files. * New Feature - Deleted/Reassigned files/folders/notifications on user delete action. * New Feature - Dashboard link in login/register shortcodes. * Update - Optimize search operation. * Update - Improved permission check. * Update - Display admin-uploaded files to user's section in the classic design. * Update - Load pdf worker library from local. * Update - Tested with WP version 6.6.2 for compatibility. * Fix - Premade separate-type folder not showing user uploaded files bug. * Fix - Enable pagination on search result. * Fix - Customizer colors in classic design. * Fix - Text File Editor bug (File appearing twice when closed until refreshed). * Fix - Zip file preview not showing full file path in back-end file manager. * Fix - pdf preview issue with nginx server hosted sites. = 4.3.0 = * 2024-08-06 * Fix - Google drive file preview issue. * Fix - Font Awesome kit loading issue. = 4.2.9 = * 2024-07-26 * Update - Backend File Manager: Pre-Made Folder Section reworked. * Update - Search through Pre-Made Folders and Public Folders. * Update - Search by Custom-Fields added. * Update - Document Preview Scrollbar hidden. * Update - Google reCaptcha script reworked. * Fix - Pre-Made Folder bug (Folder appearing in all folders) fixed. * Fix - Folder Description bug fixed. = 4.2.8 = * 2024-06-28 * New Feature - File download count limit. * New Feature - File count in backend file manager. * Update - Support for PHP 8.3+ versions. * Update - Send verification email to newly register user. * Update - Removed UPF files from media library. * Update - Added loading icon on register process. * Fix - Classic shortcode - shared files showing 10 files only. * Fix - Sorting dropdown z-index value. * Fix - Fatal error while uploading for undefined variable. = 4.2.7 = * 2024-06-17 * New Feature - Red dot notification for new files/folders. * New Feature - Google recaptcha for register form. * Update - Added Pagination for selected/public files. * Update - Added Pagination for classic shortcode. * Fix - Empty trash bug in backend file manager. * Fix - Classic Uploader CSS and upload error issues. * Fix - Font Awesome included for Classic Upload-Only shortcode. * Fix - List view bug in backend file manager. * Fix - Breadcrumbs in backend file manager. * Fix - PDF preview for public files not opening. * Fix - Selected files grid/list view issue. * Fix - Invalid json response while saving page with classic shortcode. = 4.2.6 = * 2024-06-03 * New Feature - Hide trash for roles. * Fixed - Bug fixed for preview not showing on frontend. * Fixed - CSS issue fixed for email settings messages. * Fixed - Branding logo css issue. = 4.2.5 = * 2024-06-03 * New Feature - User Registration Shortcode added: [upf_register]. * New Feature - Branding – Add your logo and Watermark to Frontend File Manager. * New Feature - Maximum File Upload Size Limit. * New Feature - Maximum File Upload Count Limit. * New Feature - Backend UPF File Manager Access for other user roles. * Update - Bulk Select Actions for Files/Folder shared with View-Only and View+Upload Access. * Fixed - Custom fields addon conflict with selected and public files preview fixed. = 4.2.4 = * 2024-05-08 * New Feature - Sync files from Server/FTP folder. * New Feature - Single email notification for bulk upload. * New Feature - Added navigation for file preview. * New Feature - Views and Downloads count for files. * New Feature - Shortcode support for Login form. * New Feature - Option to set redirection for login form. * Update - Added version numbers to the css and js files. * Update - Added premade separate folders for user only and provided full access to admin. * Update - Removed nopriv action + fixed public folder render for non logged users. * Update - Backend file manager - file sections of a user are improved as clickable buttons. * Update - Previews for images now open in shared-with-me section in gallery upf_display shortcode. * Fixed - Disabled access dropdown for premade separeate folders in admin file manager. * Fixed - Resolved chosen script error + Loaded script from local folder. * Fixed - PDF preview not working in upf_display shortcode. = 4.2.3 = * 2024-04-15 * Fixed - Call to undefined function mb_convert_kana fixed for PHP 8+. * Fixed - Serve the files with header status 200. * Fixed - Conflicts for multiple public files shortcodes on same page. * Fixed - limit_folder_view attribute fixed for Public-Folder shortcode. * Fixed - Image thumbnails in twenty twenty themes – In all shortcodes. * Update - Pre-Made Folder Permission improved. * Update - List/Grid view for Public-Files and Selected-Files shortcodes. * Update - Pagination and Option to set number of items that can be displayed in fontend file dashboard. * Update - Search for users when sharing a file or folder for admin users. * Update - Additional File Extensions Support for – PSD, PHP, EXE, BIN, SH, BZ, DTD, DWG, EPUB, JAR, SVG and custom extensions. * Update - Enable/Disable Public-Files Section on [upf_manager] page. * Update - Google reCaptcha for Login form. * Update - Upload Folder from PC, It will create all subfolders and upload files in same hierarchy. = 4.2.2 = * 2024-02-28 * Fixed - Zip file name converts to special character when downloading. * Fixed - Share dialog type-to-search email field selects first user by default and can not be removed. = 4.2.1 = * 2024-02-08 * Fixed - Backend pdf file preview not working. * Update - Option to change Remember Me label under login settings. = 4.2.0 = * 2024-02-07 * Update - Confirmation when removing a user/role from a file/folder. * Update - Move-to dropdown has a search feature. * Update - Sharing popup allows searching for a user in the backend. * Update - Backend external links and css improvement. * Fixed - Escape special characters while downloading a file. = 4.1.9 = * 2024-01-29 * New Feature - Search for folder when moving files/folders. * New Feature - Search for a user when sharing, only for admin users for security concerns. = 4.1.8 = * 2024-01-24 * Fixed - Zip functionality. * Update - Doc preview in classic design. * Fixed - Thumbnail and preview for dwg files. = 4.1.7 = * 2023-12-08 * New Features: - Added support for file previews for doc, excel, and ppt file with google docs viewer. - New permission level View and Upload. - Uploader only shortcode now supports folder id passing which the uploaded files will go to that folder. - Public folder that allows anyone to view files on the site. Added new shortcode and support in UPF Manager as well. - Selected files shortcode supports new parameter limit_folder_view that restricts users to view the folder or content inside. - New email notifications that are sent out when a file is uploaded or a folder is created inside a shared folder. - New frontend notification for when a file is uploaded or a new folder is created. - New option to add privacy policy link at bottom in the sidebar. - Added field for folder description. Improvements: - Move-to popup now has hierarchy of the sub folders. - Sorting has improved with multiple sort options. - Adjust column size according to number of columns. - Classic Design - Add Share with role functionality. - Email Notification - added from field. - A new variable site_url is available for email notification's subject and content. - Added {target_username} and file/folder {link} in email notification. - Enabled sharing for premade-separate and individual folders. - Removed premade separate folders from shared section(when individual folder inside it is shared). - Preview for zip files. Show folder/file names inside zip files. - Moved premade section out of temp in backend file manager. - ZIP file sharing and other operations. - Toolbar buttons labels settings. - Added title to toolbar icons. - Premade delete - move individual folders/files out. - Backend settings - Moved toolbar section from customizer to settings tab. - Font Awesome version updated to 6.0. Fixes: - Close file-preview bugs for sidebar and toolbar. - Selected files - Fix restrict parent folders upto selected ids - Translation support for Grid/List fixed. - Resolved public js files conflict. - Added word wrap for navbar filenames. - Fixed notifications breadcumbs. - Fixed link in email notifications - Fixed Uncaught TypeError in render.php. - Fixed warning errors in templates. - CSS for large files/folder names. - Design issues for mobile and other devices. - Fixed file preview in mobile view. - Duplicate ids in selected files, public folder shortcode now displays files/folders only once. = 4.1.6 = * 2023-10-25 * Fix - CSV file preview not working with text editor. * Fix - Missing translations for folder text. * Fix - Classic display not showing files shared with roles. = 4.1.5 = * 2023-10-12 * Fix - columns width breaking due to missing flex-grow. * Fix - Missing translations for list view columns. = 4.1.4 = * 2023-10-07 * Update - Generated missing translations and removed old IT translation files. = 4.1.3 = * 2023-09-27 * Update - Removed google drive integration from the core plugin and moved to addon plugin. * Update - Added support for text editor, google drive and custom fields addon plugins. * Update - Display selected files using a new shortcode. * Update - Zip functionality. * Fixed - CSS issues. * Fixed - Backend file manager bugs. = 4.1.2 = * 2023-09-02 * [Security] - Vulnerability issue fixed for stored XSS type from the admin settings screen. * Tested with WP version 6.3.1. = 4.1.1 = * 2023-08-31 * Update - Added support for custom fields plugin. * Fixed - CSS for list view column max-width. * Fixed - CSS for Classic edit popups. * Fixed - Set ownership of files uploaded from classic design. * Fixed - Warning for undefined waitforimage function error. Delayed folder.js loading. = 4.1.0 = * 2023-08-25 * Fixed - Mixed content warning for pdf file preview in mobile. * Fixed - Classic group-by filter not working. * Fixed - Large empty space below pdf file preview in list view when right sidebar is closed. * Fixed - Unusual height of files container when in file preview. * Fixed - design bug for file preview popup for mobile and desktop. * New Feature - Backend file manager for admin to manage files. * New Feature - Premade folders from backend file manager. * Update - Added support for g-drive, text editor, and custom fields addons. * Update - Optimize code. * Update - Classic - Edit file name and description. = 4.0.9 = * 2023-07-28 * Fixed - pdf file preview in mobile. * Update - License manager logic. = 4.0.8 = * 2023-07-23 * Fixed - Toolbar buttons not working due to JS function conflict. = 4.0.7 = * 2023-06-14 * New Feature - Copy a folder or file link. * Fix - Clicking folder and file name in grid view not working. * Fix - Clicking folder icon in list view not opening the folder. * Fix - Clicking on row in list view not opening the folder/file. = 4.0.6 = * 2023-05-09 * Fixed - Compaitibility issues with classic design shortcodes. * Update - Enable role based sharing for select user roles instead of on/off. * Code Optimization. = 4.0.5 = * 2023-05-02 * Fixed - Wrong version was showing in the plugins list. = 4.0.4 = * 2023-05-01 * Fixed - Missing translations in php files. * Fixed - Login toggle options not saving. = 4.0.3 = * 2023-04-25 * Fixed - Google Drive not connecting. Updated drive settings. * Fixed - Used file mime types and extensions that are allowed by WordPress. * Fixed - sort button not appearing for view-only access folders. = 4.0.2 = * 2023-04-18 * Fixed - Bulk select toggle causing folder buttons to appear when not needed. * Fixed - Undefined variable notice for default grid/list view. * Fixed - dashicon css changed to more specific upf classes. * Fixed - popup labels showing in next line. = 4.0.1 = * 2023-04-17 * New Feature - Uploader only shortcode ([upf_upload]) added. * New Feature - All Files display shortcode ([upf_display]) added. * New Feature - Frontend Notifications for users. * New Feature - Enable/disable frontend notifications. * New Feature - Google Drive Integration (beta version). * New Feature - Login form when user is not logged in. * New Feature - Customizer to change options for login form. * New Feature - Customizer to adjust colors of buttons and icons. * New Feature - Customizer to set custom thumbnails for file types. * New Feature - Layout update for backend settings. * New Feature - Hide Search for particular user roles. * New Feature - Hide Filters for particular user roles. * New Feature - Hide New Folder button for particular user roles. * New Feature - List View of files and folders. * New Feature - Collapsible Side panels. * Fixed - session_write_close added for session termination in sort add-on. * Fixed - Replaced user email with username in information sidebar. = 3.1.5 = * 2023-03-16 * Fixed - pdf preview not working for subsequent times in safari browser. Replace object with iframe. = 3.1.4 = * 2023-03-14 * Fixed - pdf preview issue in safari browser. = 3.1.3 = * 2023-03-03 * New Feature - Sort functionality as add-on. * New Hook - Filter (upf_admin_custom_fields) to add custom fields under the plugin settings. * New Hook - Action (upfp_save_custom_fields) to save custom fields under the plugin settings. * New Hook - Action (upfp_sort_button) for frontend sort button. * New Hook - Filter (upf_orderby) for frontend orderby functionality. * New Hook - Filter (upf_order) for frontend order (ASC/default) functionality. = 3.1.2 = * 2022-11-25 * Fixed - jQuery's success function conflict with newer version. Replaced all occurences with done function. = 3.1.1 = * 2022-09-05 * Update - Fixed missing translation for some words. = 3.1.0 = * 2022-08-06 * Bug Fixed - Trash files preview not loading. = 3.0.9 = * 2022-08-04 * New Feature - Now share files and folders by using email address or username. = 3.0.8 = * 2022-07-02 * Bug Fixed - Translation files name fixed. * Bug Fixed - Trash not showing deleted files that are not assigned to folders. * Bug Fixed - vulnerability issue for uploading not allowed files. = 3.0.7 = * 2022-07-02 * Bug Fixed - Bulk Select button was showing for view-only access when file preview popup closed. = 3.0.6 = * 2022-07-01 * New Feature - Set Access Level when sharing a folders and files. * New Feature - Sidebar details now shows access level of shared-with users. * New Feature - Bulk select files for actions like delete, move and restore. * Improved - Updated functionality for key status. * Improved - Restore files/folder now goes back to it's original location. * Fixed - Design conflict fixed. * Fixed - Undefined variable notice for insider_shared & data_share variables. * Fixed - Some images not loading in firefox browser. exit statement was missing from downloader file. = 3.0.5 = * 2022-06-08 * New Feature - Option to disable uploading functionality based on user roles. * New Feature - Upload multiple files at once. = 3.0.4 = * 2022-05-31 * Improved - Backend speed optimization. Only check for license key when cache expires. = 3.0.3 = * 2022-05-25 * Fixed - Warning when checking for updates and server doesn't respond. * Fixed - conflict with other plugins that use SLMC code for licensing. * Tested with WP ver 6.0 = 3.0.2 = * 2022-04-04 * Security - Improved security with nonce and validation * Fixed - File name not updating in content after rename * Update - Display user nick names instead of emails * New feature - Filter shared files by a user email address = 3.0.1 = * 2022-02-21 * New PRO launched == Upgrade Notice == == Features == * Allow your site users to upload their private files. * Users can share their files with other users by using their email addresses. * Simply convert your website to a file sharing hosting. * Users can remove the allowed users anytime they want. * Easy to setup for administrator and easy to use for users. * Front-end dashboard to allow users upload and manage their files and folders. * Full control over uploaded files to site administrator. * Email notification when a file / folder is shared with someone. * Translation Ready * Folders/Directory system – Users can Create / Rename / Delete / Share folders * Users can upload / move files within different folders * Option for admin to share files with all users or users with a specific role * Comments – Users can comment on shared files * Trash folder functionality * Interactive Dropbox like design * Search for files and folders * Filter shared files by user email address