i want the statistics to account referrals for file downloads too, not only for pages.
yes, it is set up to serve files via php, not directly.
what else should i do?

Comments

vm’s picture

investigate the download count.module

vv7’s picture

it's installed already.
so, no other way except hacking it?

WorldFallz’s picture

Not sure I understand-- the http://drupal.org/project/download_count module doesn't require hacking. It works fine.

===
"Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime." - Lao Tzu
"God helps those who help themselves." - Ben Franklin
"Search is your best friend." - Worldfallz

vv7’s picture

module_count gives me no clue about REFERRERS.
it just counts everything alltogether on a per-file basis.

and its author told me today that she has no clue on how to account the referrer in drupal's Statistics module.

vv7’s picture

s/module_count/download_count/

vv7’s picture

hacked download_count yesterday so it accounts file downloads in the {accesslog} table and the Statistics module does the rest.

however, this does not seem to be something that should be built into download_count itself.

WorldFallz’s picture

this does not seem to be something that should be built into download_count itself

does or does not? If you think it does, i'm sure if you post your changes to the module's issue queue the maintainer will consider adding it.

===
"Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime." - Lao Tzu
"God helps those who help themselves." - Ben Franklin
"Search is your best friend." - Worldfallz

vv7’s picture

does or does not?

it should be done, but not in the download_count module.
in the Statistics module, most likely.