jfb-filemanager [Jcink.com Wiki]

The Filemanager

The filemanager, added in May of 2011, was added to allow users advanced capabilities for controlling the files on their forums. Instead of using the trick of uploading images to the IBshop, users could upload the images or files directly to the forum and get the links easily.

Along with the new filemanager, the option to upload multiple files per post and display the files in the post were also added.

Here are some of the features available in the filemanager:

  • The maximum upload limit is now 3 Megabytes (or 3072 kilobytes.)
  • Files uploaded have a url listed by them for easy linking.
  • Folders can be created for easy grouping of files.
  • A mass clean up system to get rid of old/unused files.
  • The ability to upload multiple files (in both ACP and post view).
  • The ability to set individual group upload limits (Up to 3 Megabytes).
  • The ability to search through attachments.
  • The ability to attach images and display them in the post.
  • The ability to quickly delete files/folders.

Enable the Filemanager

Before you can use the new filemanager you have to enable it on your forum.

Either:

  1. Log in to the Admin CP
  2. Click the 'JFH Resources' category
  3. Click on 'Filemanager'
  4. The Filemanager will now be ready for use.

OR:

  1. Log in to the Admin CP
  2. On the ACP home page, you will see: “Disk Usage” with a link to “View”. Click the “View” link
  3. The update will be enabled and the filemanager will be available for use.

Note:

  • For the rest of the Tutorials here, the filemanager can be accesed by either method listed above. (For convenience sake, the second method is the one being used because it's quicker to type out and quicker for users to access if they've just logged in. If they are in another section of the ACP, then the first method is quicker. )

Adding New Folders

  1. Log into the ACP (if not already done).
  2. On the ACP home page, you will see: “Disk Usage” with a link to “View”. Click the “View” link. (This will bring you to the Filemanager home screen.)
  3. In the box titled: “Create New Folder:” enter the name of the folder.
  4. Then click the “Submit” button to create the folder.

Notes:

  1. You can create folders within folders.
  2. However, you cannot move a folder to another folder (not without deleting the folder and remaking it in the new area…)

Uploading New Files

  1. Log into the ACP (if not already done).
  2. On the ACP home page, you will see: “Disk Usage” with a link to “View”. Click the “View” link. (This will bring you to the Filemanager home screen.)
  3. If you have a specific folder you want to upload the file to then use the section “Contents of ./uploads/sitename” to browse to the folder where you want to upload it. (Click the name of the folder to enter it.)
  4. Then when you are ready, Click “Choose” beside “Upload new file(s):”
  5. Locate the file on your computer, click the file then select the ok option. (This will vary according to OS.)
  6. If you want to upload more files, click the ”+” button beside the “Choose” button. (This will add another textbox and choose button. The + can be clicked up to 50 times. )
  7. When you have all the files you want to be uploaded selected then press the “Submit” button.
  8. The page will take some time before it refreshes while it uploads your files. Do not navigate away or refresh the page or it will cancel the upload. Once the page refreshes, your files should have been uploaded.

Notes:

  1. Not all file types can be uploaded. See the next sections (Allowed File types and Filetypes Not Permitted to see which ones can be uploaded.)
  2. Files cannot be moved between folders once they're uploaded, so if you want to change a file's location you will have to delete the file and re-upload it.

Commmon Allowed Filetypes

With the implementation of the new filemanager, new filetypes have also been made possible to upload. The most common of these are:

  • .js (javascript files. Useful for putting code in to save space in the wrappers.)
  • .pdf
  • .txt
  • .jpg
  • .png
  • .gif
  • .swf
  • .ttf (This allows you to upload your own fonts to use on the forum with CSS3)
  • .xml
  • .zip (basic compressed files, can contain anything else.)
  • .rar (compressed files, can contain anything else.)
  • .css

It should be noted that this list of allowed file types is not all inclusive. There are many more that can be uploaded. So many file types that attempting to list them all would take far too long. If there is a question whether or not a file can be uploaded, unless it is listed in the denied list, it most likely can be uploaded. (That is not a 100% guarantee though.)

Denied Filetypes

Filetypes listed here are expressly denied for one reason or another.

  • .php
  • .exe (Too dangerous. Too easy for wares or viruses/malware to be spread this way.)
  • .ibf (invision powerboard code file format. It's a legacy format that isn't used anymore so it has been coded out.)

There may be other file types that are not permitted. If a file type isn't permitted then the system won't allow it to be uploaded.

Deleting Files/Folders

  1. Log into the ACP (if not already done).
  2. On the ACP home page, you will see: “Disk Usage” with a link to “View”. Click the “View” link. (This will bring you to the Filemanager home screen.)
  3. If you have a specific file inside a folder you want to delete then use the section “Contents of ./uploads/sitename” to browse to the file you want to delete.
  4. Once you have located the file/folder to be deleted, check the box on the right of it.
  5. When you have all the files you want selected, press the “Delete” button (On the right of the page, at the bottom of the file list.)

WARNINGS:

  1. You will not be warned about the files being deleted… So ensure that you really do want these files deleted before you press the button.
  2. You can only delete files from within 1 folder at a time. (So you can't select files in one folder, navigate out to select more files.)
  3. If you select a folder to be deleted then all the files inside that folder will be deleted.
 
jfb-filemanager.txt · Last modified: 2013/05/04 23:41 by viruszero