CartMetrix - Do you know yours?

Pepper DLoads

Overview

Mint is a live stats package from Shaun Inman. Pepper is an API for adding modules to the core Mint application. This Pepper tracks files downloaded and provides live stats through the Mint interface.

Features

  • Files can be linked to in any way and from any page.
  • Remotely linked and hotlinked files are counted.
  • Works for any type of files, without having to specify extensions.

Requirements

  • Apache Mod Rewrite

Installation

  1. Dowload DLoads.zip the file and unzip.
  2. Upload the /dloads/ directory and its contents to /mint/pepper/damonparker/.
    If the directory /damonparker/ doesn’t exist, create it.
  3. Login to your Mint installation and in the Preferences click “Install” under Pepper.
  4. Click the DLoads Counter Pepper “Install” button. Click “Okay.”
  5. Now click on the DLoads Counter preferences under Pepper in the preferences pane.
  6. Copy /mint/pepper/damonparker/dloads/.htaccess-rename-me to each of your directories containing files. Rename the file to .htaccess. I use /files/ in my web root directory, but anything should work. If mint is not installed in the default directiory /mint/, the path to the ../mint/pepper/damonparker/dloads/dloads.php file needs updated in this file. These download directories must contain only download-able files as dloads.php will attempt to send any file instead of run or parse it.
  7. Click “Done.”
  8. Copy your download-able files into the directory and test. If you have problems downloading files, adjust the $base_dir path in dloads.php.

Notes

This Pepper simulates the headers required for a browser to understand the file is a download. I tested on most browsers I had, but if you notice a problem with a specific filetype or browser let me know.

License

All files and their contents are licensed under the GNU General Public License (GPL).

Version Information

Current version: DLoads v0.72
Mint v1.1 version: DLoads v0.50
View all releases: DLoads

Support Free Software

$10, $5, $1 whatever you feel like.

Changelog

v0.72 [2/21/06]
Moved mint->record below file delivery routine, corrects a header error on some servers
Added ini_set() to turn off output compression if on
Added configuration var to set Abbr chars for long file name chopping

v0.70 [1/16/06]
Add compatibilty for Mint v1.2
Clean up filenames in DLoads pane
Run filenames through abbr() to shorten long file names
Add checks for additional _SERVER variables for downloaded file name

v0.50 [10/14/05]
Added better 404 support
Added check for is_dir
Added urldecode to support spaces in filenames

Popularity: 5%


damonparker.org is proudly powered by WordPress
Entries (RSS) and Comments (RSS).

copyright © 2002-2008 damonparker.org. all rights reserved.

Close
E-mail It