Drop Bocks 0.5 review
DownloadDrop Bocks project is a complete, web-based file upload administration tool that makes adding file upload capabilities to any existin
|
|
Drop Bocks project is a complete, web-based file upload administration tool that makes adding file upload capabilities to any existing website simple and straight-forward.
Here are some key features of "Drop Bocks":
The simplest set-up requires changing only two configuration settings
Installs in less than five minutes*
Fully skinnable via CSS
Free, open-source (BSD license), and written in PHP
Installation:
Download and decompress the Drop Bocks application. This will create a DropBocks directory on your machine
Copy all the files and folders in the DropBocks directory to the drop box directory on your web server
Create the directory that will store the uploaded files (and remember it, you'll need to set the $uploadDir setting to it). This should not be the same directory that houses the Drop Bocks application
Open inc.config.php and change, at the very least, these two settings:
$uberSecretPassword
$uploadDir
That should be it. Give it a try, see what happens
Configuration:
All configuration of Drop Bocks is done by changing settings in the inc.config.php file (located in the includes/ directory). It's a basic PHP file with lots of variables. Change the settings to change how the application behaves.
$uberSecretPassword : You admin password. This is the only value you absolutely must change
$maxUploads : The maximum number of uploads a user can submit at one time.
$maxUploadSizeInMegs : The maximum size, in Megabytes, that any one uploaded file can be.
$maxDropboxFileCount : The maximum number of files to allow in the drop box before it's 'full' (this is to prevent someone from stuffing your box with thousands of small files)
$uploadDir : The path to the directory in which to store the uploaded files. This must be relative to the Drop Bocks application directory. If it's absolute from the root of your website it won't work properly
$stylesheet : The name of the stylesheet in themes/ directory to use to skin the application
$isAllowedFileTypeArray : An array of file types that are allowed to be uploaded. Drop Bocks works on an 'explicit allow' rather than 'explicit deny' security model. If you don't allow a given file type to be uploaded, it won't be uploaded
$logEvents : Whether or not Drop Bocks should log upload and deletion events to a log file. Log files are small, I recommend leaving this on
$logFileName : The name of the file to which to log, aka: the log file name
$sendNotificationEmail : Whether or not you should be sent an email notifying you of newly-uplaoded files. The notification email contains the names of the uploaded files
$toEmail : Your email address (and you can fill out all the other standard email values as well)
$confirmDelete : Whether or not a Javascript confirmation dialog should be shown verifying that you want to delete the file you're about to delete
Certain events cause messages to be displayed onscreen. You can configure these messages by changing these values:
$dropboxWelcomeMsg : The message displayed to users when they come to your drop box. Appears above the uploads submission form
$dropboxFullMsg : The message to display to users when your drop box is full. When it's full, they can't upload
$dropboxFullMsgAdmin : The message to display to you in the admin interface when your drop box is full
$mailSentMsg : The message displayed to users informing them that a notification email has been sent to you. Appears above the uploads submission form after they've uploaded
What's New in This Release:
This release adds the $siteName configuration parameter.
It adds the $deleteConfirmationMsgAdmin configuration parameter.
It adds the $requiredPassword configuration parameter.
It adds a warning message if upload_max_filesize in php.ini is less than the upload size defined in the $maxUploadSizeInMegs config param.
A persistent error in the logging message section has been fixed.
There are many improvements to the core code.
Drop Bocks 0.5 search tags