bugDrupal Forge - Bugs: bug #14650, Enable download statistics

 
 

bug #14650: Enable download statistics

Submitted by:  Ricardo Gladwell <axon>
Submitted on:  Mon 26 Sep 2005 01:23:13 PM UTC  
 
Category: Project ModuleSeverity: 1 - Wish
Priority: 5 - NormalItem Group: Releases
Status: NoneAssigned to: None
Open/Closed: OpenRelease: cvs

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 26 Sep 2005 01:23:13 PM UTC, original submission:

Download statistics are a frequently requested functionality. It would be easy enough to implement in a way parallel to what's done in the weblinks module, where a download link doesn't point directly to the file. This would require:

  • add a field to the project_releases table, e.g.

<code>ALTER TABLE project_releases ADD download int(10) unsigned NOT NULL default '0';</code>

  • change download links to point to a callback that first increments a counter and then redirects to the file.

Thoughts about this approach? If no problems are seen, I'll code a patch.

Copied from http://drupal.org/node/32124.

Ricardo Gladwell <axon>
Project Administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

No Changes Have Been Made to This Item

Back to the top


Powered by Savane 3.1-cleanup1