Install
Works with Drupal: 7.xUsing Composer to manage Drupal site dependencies
Downloads
Download tar.gz
24.38 KB
MD5: 62335706173633659b676e6fb56a211d
SHA-1: 99f509b308a5594979bf4caa6f650f43a81c7964
SHA-256: 0f847d59391fe60db51b2b6fb39bbed7679c37561ad89d0cc178feb1dbf65e01
Download zip
29.29 KB
MD5: 8efaed7f3fef0d28e6a278e89ccbab74
SHA-1: 97345ea16590bb20d4bf0ae4e33efcda5d37d9ad
SHA-256: acd031a84128e8df90b6e00dd66edf07bd8f6213e3d42ecefae524d904a4a9f8
Release notes
This release addresses number of bugs and introduces some new features. A detailed list of fixes and features can be found below.
If you're upgrading from earlier versions of Better Statistics, be sure to run update.php (or drush updb) after deploying to ensure a smooth update.
Please direct any and all issues to the issue queue. See the roadmap for details and discussion about planned features and releases.
Bug Fixes
- Fix for the PHP notice "trying to get property of non-object in drupal_lookup_path()." #1907684: Notice: Trying to get property of non-object in drupal_lookup_path()
- Fix for the PHP notice "undefined index: HTTP_USER_AGENT..." when no user agent is attached to the request. #1920970: Notice: Undefined index: HTTP_USER_AGENT in better_statistics_get_field_value()
- Fix to allow modules that don't declare Statistics Fields to have their module.statistics.inc files auto-loaded. #1952476: Statistics inc loading should not be dependent on active fields
New Features
- Better Statistics now (optionally) respects the "Do Not Track" header. #1909294: Respect the Do Not Track header
- Logging of access statistics is now pluggable #1880494: Make accesslog storage pluggable. Developers, use hook_better_statistics_log().
- The module now supports a number of drush commands. #1800648: Add drush integration:
- Use
drush stats-en [field]to enable data collection for one or several statistics fields. - Use
drush stats-dis [field]to disable data collection for one or several statistics fields. - Use
drush stats-lsto list available statistics fields.
For more information use
drush help [command]for any of the commands listed above. - Use