filter out specific pages
NaX - November 16, 2005 - 11:37
| Project: | Statistics filtering |
| Version: | 4.6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | mikeryan |
| Status: | needs review |
Description
I need to be able to filter out specific pages in the same way you can specify what pages blocks should be displayed or not displayed on using paths and wildcards
Some pages / modules just clutter up the logs. My best example of this is a site I have the chatbox installed on. Because the chatbox is constantly refreshing it ends up creating numerous hits for a users. The top users page and top pages gets distorted and the recent hits page gets flooded page. This distorts all of the stats.
The chatbox is a worst case scenario, but to be able to maybe filter out some admin pages rather than the entire admin user / role would be nice. This would make this module a lot more powerful.

#1
Right now I'm working on replacing the statistics_filter/browscap/statistics_trends troika with an integrated "quickstats" module and won't be updating the existing modules. Once I release the combined module I'll reassign this request to this and take a look at implementing it.
#2
I am not very good at drupal module development, but I try to hack things from time to time. I modified the code that is used to place blocks on specific pages and added it to Statistics filtering. I left the setting description the same as the block description, a description more specific to Statistics filtering should maybe be written.
It seemed to work just fine when I tested it.
See attached patch. Some feedback would be appreciated even if not used.