By vv7 on
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?
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
=-=
investigate the download count.module
it's installed already. so,
it's installed already.
so, no other way except hacking it?
Not sure I understand-- the
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
module_count gives me no
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.
s/module_count/download_count
s/module_count/download_count/
hacked download_count
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.
this does not seem to be
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
does or does not? it should
it should be done, but not in the download_count module.
in the Statistics module, most likely.