Log downloads

Author Message

Philip K.

Wednesday 01 February 2006 7:12:09 am

Hi.

I want to create a download section where registered users are able to download everything I published in this section. But I want to log every download so that I can trace who downloaded what and when did it happen...

Are there any possibilities to realize that in eZ?

Linux is like a wigwam; no windows, now gates, and apache inside!

Carlos Revillo

Wednesday 01 February 2006 7:34:12 am

hi. maybe you can write your own extension for that. i did something similar some weeks ago. i added some tables to ez database and then, i wrote some templates and functions to get the data i want...

Philip K.

Wednesday 01 February 2006 7:53:38 am

Thank you.

I think I'm not yet smart enough to write my own extension... but I supposed that the first comment to my problem would be "write your own extension" :D

Linux is like a wigwam; no windows, now gates, and apache inside!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 31 2025 06:06:56
Script start
Timing: Jan 31 2025 06:06:56
Module start 'layout'
Timing: Jan 31 2025 06:06:56
Module start 'content'
Timing: Jan 31 2025 06:06:56
Module end 'content'
Timing: Jan 31 2025 06:06:56
Script end

Main resources:

Total runtime0.0158 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0058 588.0000151.1953
Module start 'layout' 0.00580.0028 739.195336.6016
Module start 'content' 0.00860.0057 775.796989.9844
Module end 'content' 0.01430.0014 865.781329.9922
Script end 0.0158  895.7734 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002515.8686140.0002
Check MTime0.00116.6794140.0001
Mysql Total
Database connection0.00085.046910.0008
Mysqli_queries0.002616.678030.0009
Looping result0.00000.083110.0000
Template Total0.00116.910.0011
Template load0.00095.460710.0009
Template processing0.00021.387810.0002
Override
Cache load0.00063.908210.0006
General
dbfile0.00138.458380.0002
String conversion0.00000.071040.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs