========   Attachment Download Counter Module v5.2.1.00  ========
Created by Joe Curia (azumandias _ at _ hotmail.com)
Original phorum coding by the Phorum Development Team (http://www.phorum.org)

========        Brief Description         ========
This module keeps a count of the number of times each attachment is downloaded. 
This information can be displayed alongside of the attachment. The date that 
the attachment was last downloaded can also be displayed. The admin can also 
enter a date to display as the starting date for counting downloads (eg. 
"Downloaded X times since 1/1/2009.") If the admin chooses to display this 
information, it will also be displayed for any links rendered by the Embed
Attachments module.

=======     Installation Instructions     ========
After installing this module in the mods folder, you will also have to edit the
read.tpl, read_hybrid.tpl, and read_threads.tpl files for your template. In each 
file, you will need to add the following code:
{INCLUDE "attachment_download_counter::counter_read"}
This should be added inside the attachments loop:
{LOOP MESSAGES->attachments} . . . {/LOOP MESSAGES->attachments} 

Here is a sample from an edited version of the Emerald template's read.tpl
file:
{LOOP MESSAGES->attachments}
    <a href="{MESSAGES->attachments->url}">{LANG->AttachOpen}</a> | <a href="{MESSAGES->attachments->download_url}">{LANG->AttachDownload}</a> -
    {MESSAGES->attachments->name}
    ({MESSAGES->attachments->size}){INCLUDE "attachment_download_counter::counter_read"}<br/>
{/LOOP MESSAGES->attachments}

At this time, all templates will use the default Emerald layout found in the 
mods/attachment_download_counter/templates/emerald/counter_read.tpl and 
counter_hook_render_embedded_attachment.tpl files. If you want to edit the way 
the download counter, counter starting date, or last downloaded date are 
displayed, you can edit this file, or create a copy of this file in your own 
template's folder (eg. 
mods/attachment_download_counter/templates/my_custom_template/counter_read.tpl).

========                Todo              ========
 - Add the ability to count the downloads of files uploaded to the "My Files"
   section.
 - Add features as they are requested.
 
========               Files              ========
\attachment_download_counter\
	attachment_download_counter.php
	info.txt
	README
	settings.php
	lang\
		english.php
  templates\
    emerald\
      counter_hook_render_embedded_attachment.tpl
      counter_read.tpl