Thread Rating:
  • 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
*new* Download Manager plugin
#1
Brick 
Hi there !

The last days ive worked on a download manager for getsimple. Today i finished the first production - ready version. Smile

Heres the link to extend

A preview of the generated download button can be found on my GetSimple plugins page here.
The used shortcode to display the buttons :
Code:
(% dlm filename.zip button %)

And here some infos about the plugin :

Installation instructions :

After activation of this plugin there will be generated a new template file in your current themes root directory called "download_manager.php" .

Go to pages tab and create a new page. Open the page options and enter download as page title. Next choose "download_manager.php" as page template and enter download as custom url (slug). Do not add this page to the menu or enter some meta informations. Save this page.

Now click on the files tab and hit download manager on the right sidebar. In the settings tab you can define your preferred settings. In the logs tab you can view the download logs and some stats about your file system.

When you move to your file management menu you will notice that there is a new directory called "downloadmanager". This directory is the download managers root path. All files in this directory and its subdirectorys will be indexed by the download manager. You can create as many sub-folders as you want to sort your files by category`s.

All files in download manager´s root and subdirectorys can be accessed by adding links like :
Code:
download?f=filename.xxx
- if you have fancy urls enabled. If you not have fancy urls enabled use :
Code:
index.php?id=download&f=filename.xxx
instead.
This way no one will know the full path of your files and of your download_manager.php.

Short-codes :

Download manager provides some short-codes which can be accessed by
Code:
(% dlm filename.xxx parameter %)

Code:
(% dlm filename.xxx button %)
generates a full styled and shiny Smile button with all informations about that file like file-size and download count.

Code:
(% dlm filename.xxx link %)
echoes out a text link with the file-name.

Code:
(% dlm filename.xxx size %)
echoes out the file-size.

Code:
(% dlm filename.xxx count %)
echoes out the number of times the file was downloaded.

Code:
(% dlm totalfiles %)
echoes the number of all files which are available for download.

Code:
(% dlm totalcount %)
echoes the overall download count.

Code:
(% dlm totalsizes %)
echoes the size of all files which are available for download.

Make sure that your editor don´t places some  ´s into your short-codes!

Code:
Version : 1.0.4

== Changelog ==

v. 1.0.4

* Added: Redo function
* Added: Restore defaults function
* Added: Information page
* Added: More Short-codes
* Fixed: Some smaller bugs

v. 1.0.3

* Added: Table sorter to logs page
* Added: Short-code for download button
* Added: Short-codes for each file
* Moved: Download script to themes root
* Fixed: More bugs

v. 1.0.2

* Added: File stats to logs page
* Added: Logs admin page
* Added: Download counts
* Added: Download logging
* Fixed: Some bugs

v. 1.0.1

* Added: Settings pages
* Added: Admin menu -> files tab
* Added: English language file

v. 1.0.0

* First stable version

I hope you enjoy it Smile

Please report any bugs or feature requests in this thread ! Thanks !
Reply


Messages In This Thread
*new* Download Manager plugin - by dennis_maassen - 2015-01-04, 07:25:28
RE: *new* Download Manager plugin - by Oleg06 - 2015-01-10, 06:18:23
RE: *new* Download Manager plugin - by shawn_a - 2015-01-10, 07:56:30
RE: *new* Download Manager plugin - by shawn_a - 2015-01-10, 08:19:24
RE: *new* Download Manager plugin - by shawn_a - 2015-01-10, 08:41:56
RE: *new* Download Manager plugin - by Oleg06 - 2015-01-10, 17:36:14
RE: *new* Download Manager plugin - by Oleg06 - 2015-01-11, 04:09:15
RE: *new* Download Manager plugin - by Oleg06 - 2015-01-11, 08:41:10
RE: *new* Download Manager plugin - by Eckhart - 2015-01-25, 08:11:51
Error: 'Not allowed file type' - by Mark - 2015-07-07, 18:58:17
RE: *new* Download Manager plugin - by inteq - 2015-10-06, 10:38:07
RE: *new* Download Manager plugin - by Tyblitz - 2015-10-06, 11:20:19
Download Manager plugin - BUG - by angelo - 2016-02-27, 15:11:56
RE: *new* Download Manager plugin - by ufopera - 2016-10-16, 23:17:21
RE: *new* Download Manager plugin - by tarzan - 2019-02-06, 00:47:32
RE: *new* Download Manager plugin - by Timbow - 2019-02-06, 07:48:30



Users browsing this thread: 1 Guest(s)