The plugin allows browsing downloading and uploading of files to dropbox. Many more features have been added.
To access your dropbox you will need to set up a dropbox app in order to get a consumer key and a secret key.
- Go to https://www.dropbox.com/developers/apps
- Click "Create an App"
- Add a name and description
- Copy and paste the two codes in thee corresponding text boxes of the plugin options screen
To display the box use the shortcode: [dropbox]
Add these parameters:
Name (default value) - description
home() - root folder, case sensitive, ex: /Photos
separator(~) - folder separator used in displayed box
hometext(home) - text for link to specified root
dirsfirst(true) - display directories before files
orderby(date) - parameter to order files and folders, possible values: date, size, type (do not include parameter to sort by name)
orderdir(1) - 1 for asending -1 for descending
showdirs(true) - show directories in box
dateformat(l jS \of F Y h:i:s A) - format for date
allowdownload(true) - allow download of files, can be true/false
allownavigate(true) - alow folder navigation, can be true/false
columns(INDSD) - order of columns I:icon, N:name, D:date, S:size, a column may appear more than one time or not at all
asctxt(▲) - text used for link for ascending ordering
desctxt(▼) - text used for link for ascending ordering
ordering(true) - allow user to order the files/folders
allowupload(false) - allow user to upload files to current folder
! Do NOT place more than one box with browsing/downloading/sorting enabled on the same page. You can, but it might act odd.
In order to add icons place files in the 'images' folder(located in the plugin folder). File names must be '[extension of file].png'. For example 'txt.png' will be used as the icon for all *.txt files, 'folder.png' will be used for folders, and 'default.png' will be used for everything without a match.
Questions?:
http://software.o-o.ro
104
Fixed subdirectory as root crash, sorting, and improper date display
101
Fixed bug where download from root was broken.
100
New (almost) everything, now uses the dropbox library from
github.com/tijsverkoyen/Dropbox
010
Added option to show file size
Added option to show date and time of last modification
009
Fixed to work with the new dropbox url.
Fixed a problem with the permalinks
Added shortcodes
008
Switched to the new way of storing options. Might be compatible with wordpressMU. Need volunteer to find out.
007
Security update restricting acces to plugin settings. Please update if you have a multi-user blog.
006
Fixed obvious mistake in password code.
005
Files with a space in the name now mostly work.
004
Fixed url character bug.
003
Updated Dropbox connection class.
002
Updated Dropbox connection class.
001
Release.