国外设计欣赏网站 - DOOOOR.com

 找回密码
 注册

QQ登录

只需一步,快速开始

扫一扫,微信登陆

搜索

[Drupal模块] Drupal7.X,6.X模块介绍:附件下载次数统计模块 Download Count

[复制链接]
发表于 2-2-2012 03:07 | 显示全部楼层 |阅读模式

功能:统计drupal 附件的下载次数模块。



Download Count

download_count_yearly_detail.png
download_count_daily_detail.png

The download_count module tracks downloads of private files attached to nodes via the core upload or contributed filefield modules for d6 and private core file fields for d7.

D7 Status

This ended up being a complete rewrite that drastically cleans up and simplifies the module.Partially Mostlly fully functional and feature complete atm (see this comment for more info)-- it could really use some testing and evaluation in preparation for a beta.

Though now stable, feature complete, and notice free, it's probably still not suitable for production sites at the moment-- so don't use this version unless you're doing so to help test and contribute to getting a release ready. Note it also requires the patch from #1143460: hook_file_download_access_alter missing entity argument.

Also, now that views support has been added, if anyone creates a nice view be sure to submit an export to the issue queue for consideration for inclusion as a default view!

What works

  • admin settings
  • download tracking
  • report page
  • exports
  • daily counts cache
  • blocks
  • details pages
  • rewrite cron hook to use new queue api
  • sparklines
  • basic views support
  • flood control

What doesn't

  • views integration
  • details pages
  • sparklines
  • daily counts cache
  • blocks
  • rewrite cron hook to use new queue api

6.x-2.x

The module has been completely rewritten and now tracks the node id, node revision id, file id, datetime, ip address, referrer, and user id of the downloading user for individual file downloads. This allows for a much more complete download history and analysis.

Notable features:

  • NEW: integrated csv export ability.
  • NEW: download_count_statistics submodule - provides daily, weekly, monthly, and yearly statistics as well as support for the jquery sparkline plugin.
  • NEW: complete views2 support including field, filter, and sort handlers as well as 2 sample views.
  • NEW: basic rules integration.
  • no longer requires the global 'private' download method setting at admin/settings/file-system. It will still work with the private setting as before, but will also work with individually protected folders (as described at http://drupal.org/node/540754 orhttp://drupal.org/node/189239). Also confirmed to work with thehttp://drupal.org/project/private_upload and http://drupal.org/project/private_downloadmodules.
  • works with both core upload and contributed filefield modules.
  • stores complete file download history.
  • provides four blocks: top downloaded files, top downloaded users, top downloaders, and top nodes of file downloads.
  • ability to export data to many other formats (ie csv, xml, rdf, json, etc) via the views, views_bonus, and views_datasource modules.
  • Reset links for individual downloads as well as all downloads.
  • Collects ip address and referrer ($_SERVER['HTTP_REFERER']) for individual downloads.

Previous Versions

Support for previous versions is limited to bug fixes and security issues for the 6.x-1.x version. At some point in time, after an official release for the 2.x version, 1.x support will be discontinued completely so you might want to think about planning for a migration to the new version. The 2.x branch is not backwards compatible with the 1.x version and there is no upgrade path at this point (and there very well may never be).

Project Information

Downloads



|2011-2026-版权声明|平台(网站)公约|DOOOOR 设计网 ( 吉ICP备2022003869号 )

GMT+8, 2-12-2025 11:14 , Processed in 1.722801 second(s), 46 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表