Jump to content


Submitter

SUPPORT TOPIC File Information

  • Submitted: Jan 27 2008 03:59 AM
  • Last Updated: Jan 27 2008 10:10 AM
  • File Size: 18.91K
  • Views: 4012
  • Downloads: 843

Previous Versions

  • 27 Jan 2008 Download front-end File Manager

Download front-end File Manager

* * * * * 2 Votes



This snippet is based on the snippet uploadForm by Cris D and ShowFiles snippet by Ralph. Although similar to the upload form, this snippet is basically a whole module that requires little configuration to get it working.

USES:
It allows admin to set a folder, for uploading while controlling the filename, filetypes, file size, and custom messages. Uploaded files are instantly listed underneath the upload form as they are uploaded with a href link to download or (if logged in- delete) them.

CONFIGURATION DETAILS:
Permissions are set to NULL on installation by default, make sure you either authenticate the page or set perms=simple or perms=roles depending on your required security settings on your site.

An example of many of the parameters used in a snippet call:
[!frontendFileManager?uploaddir=assets/uploads&allowed_ext=jpg,bmp,png&max_size=80000&perms='simple'&uploadDescription= your pdf files.&type_of_file=picture&blockedMessage=Log in to upload files.!]

NOTES:
This snippet attempts to create to folder name that you set but due to some server settings, this may have to be done manually and CHMOD to 0777.

The snippet is configured to allow multiple upload forms and file lests per page.

All uploads are stored in the upload folder and all upload info stored in a dedicated table including:
upload user id, type of file, folder where stored, filename, file extention, timestamp.

Files can also be deleted from the same window: if logged in, a "delete" button appears beside the file and when deleted, deletes the corresponding row from the table as well as the file.

See in action here:




Other files you may be interested in ..





  • 248 Total Files
  • 19 Total Categories
  • 50 Total Authors
  • 131,652 Total Downloads
  • TripTracker Gallery Latest File
  • Dean Latest Submitter