Table of Contents
Author: Igor Kromin, revised by Fraenkiman
This is a plugin for FlatPress that adds a BBCode tag “Download” with a link to the file to download and a counter for how many times the file has been downloaded.
Example: Download link with with file name
Example: Download link with filename and size
Example: Download link with own name and size
[download=downloadctr.zip name="my test-file" size=k]
It is also possible to display the file size by providing a “size” attribute in the BBcode. The following are valid values for the size attribute (lowercase letters work too):
To use the plug-in, extract it to the fp-plugins directory, activate the plug-in, and make sure that the fp-content/attachs directory is created and writable by the web server user. The plugin assumes that the file to be downloaded is located in the fp-content/attachs directory. The link is generated using the blog base URL.
downloadctr1_3_2en.zip for English language
downloadctr1_3_2de.zip for German language
Plugins für FlatPress << Fr@nk-Web
Please ask for help on the FlatPress Forum
- Fixed: The plugin crashes when the BBCode plugin is not enabled. Thanks to Arvid for the hint
- Error-Pages in HTML5
- Added Instructions