This patch adds the option to ignore node views that come from the author of the node. The only possible issue is that if the node was authored by anon, those also will not get counted.

CommentFileSizeAuthor
#2 adv_stats.patch2.34 KBbcn
adv_stats.patch2.33 KBbcn

Comments

bcn’s picture

Okay, I see this has been discussed in other places such as http://drupal.org/node/115932 and http://drupal.org/node/90468... I guess how it works now is good, and this patch is only necessary if you don't want to count any of the author's views.

bcn’s picture

StatusFileSize
new2.34 KB

This patch only limits view counter if the node author is authenticated, i.e. if the author was anonymous, another anonymous viewer will still increment the counter.

dave reid’s picture

One hesitation I have about this is that I'm not sure what advantages there are for using this approach vs. the current implementation where no matter how many times a user views a node, it only counts as one 'view' in the counter.

bcn’s picture

Status: Needs review » Closed (works as designed)

Yeah, this was only for a pretty narrow use case, where you want to eliminate that single author view. I'll mark this by-design, and if the need ever comes up again, you can see if this helps.