With the help of the File Uploader Module, users can upload files to the specific selected Google Drive folder allocated by you. In this guide, we will elaborate on how can you properly use and manage the File Uploader Module.
Step-1: Create File Uploader Module
The first step is to create a file uploader shortcode from the shortcode builder. Head over to Shortcode Builder from the left middle side of your WordPress dashboard > Add new shortcode > select module type (File Uploader) > change shortcode title by clicking the pencil button if you want.
Click Next.
Step-2: Configure the Sources Tab
On the Sources Tab select folders where you want to permit users to upload files & folders by clicking the plus sign button. On the right side, your selected files will be displayed. You can drag them up or down to change their orders.
You might notice the Use Private Folders option which allows users to navigate through the file they are permitted to (when enabled).
Click Next.
Step-3: Configuring Excludes Tab
Now you have taken to the Excludes Tab where you can exclude files by their extensions.
With the help of Excludes Tab, you can simply exclude any files by the extensions you want. For example you want to exclude (.jpg, .png, .ppt, .doc files). Simply type the extension in the exclude box and you get to go. Keep in mind, when Exclude All Expect is enabled, only the typed extension files will not show.
Max File Uploads: Enter the maximum number of files you want to allow users to upload.
Max File Size(MB): Enter the maximum file upload size in MB.
Min File Size(MB): Enter the minimum file upload size in MB.
Enable Folder Upload: Allow users to upload folders. Click Next when done.
Step-4: Configuring Advanced Tab
In the Advanced Tab, you can customize some advanced settings as per your requirement.
Module Width: From this section, you can customize the module width. The value is given in the percentage (%). Play with this section and customize what you need. Just change the value and test! You can use any valid CSS unit (pixels, percentage), eg ‘360px’, ‘780px’, ‘80%’
Module Height: It’s similar to the width. Normally it’s given auto. You can customize depending on your need. You can use any valid CSS unit (pixels, percentage), eg ‘360px’, ‘780px’, ‘80%’
Show Upload Label Text: Display an upload label text that will be visible under the upload button.
File Rename: Set the file renaming option by adding prebuilt tags as suffixes or prefixes. Click Next.
Step-5: Configuring Permissions Tab
User Permissions Settings is the final step. Where you can manually allocate display options.
Display for: Using this option you can allow permission of your files & folder to everyone and logged-in users. You can also filter manually by user roles or any specific users.
Click Save Changes > copy the shortcode from the shortcode builder page. Now you can use the shortcode to display the file browser module inside any posts or pages.