Haven't had much luck trying to find anyone else that is using node statistics with rules.
Basically I want to set up an e-mail alert that notifies users when a story has been viewed X number of times.
Figure the way to go about is to use a number comparison each time a node is viewed.
Ultimately I figure I could do a "statistics_get($node->nid)", but it seem like there should be a more graceful way?
Comments
Comment #1
ken hawkins commentedGroan. Typos. Maybe that should be my resolution for the new year: proofreading.
Comment #2
mitchell commentedPerhaps something like this would work:
Comment #4
mrjavarava commentedYes, I need a similar feature with Rules Statistics integration. Like a node be unpublished after x number of views. Subscribing.
Comment #5
mrjavarava commentedYes, I need a similar feature with Rules Statistics integration. Like a node be unpublished after x number of views. Subscribing.
Comment #6
tr commentedThere doesn't seem to be much interest in this as a feature, and no contributions from the community either ...
If you want to contribute some Rules events/conditions/actions for integration with the statistics module, then we can consider that for inclusion into Rules. Regardless, if you find it useful, then others might, so put it into a contributed module and we can try it!