vanquished, the ‘Tech’ answer is, you can’t do it with stock tags. If there was a parameter or something that would return the total for the last x days, I’d point it out.
‘How to’ is for brainstorming how to approach a site, or come up with a way to do something EE won’t do ‘out of the box’. If I moved it back to ‘Tech’ my only answer would be ‘That’s not currently available, but it would make a good feature request’.
I just shifted this to ‘How to’ as it might gain some insights into how you might work around the fact there isn’t currently an existing method to do what you want.
1. EE’s view count doesn’t record when the view was made. So stock, you can’t limit it to a given time period. If I needed this, I’d probably write an extension and add a custom table to count both views and time and create summary stats from that. There may be other ways to go at it, but it simply isn’t currently available as a tag. And since there is no date associated with each view, you can’t do a custom query or anything. The information simply isn’t in the database on a standard EE installation. You could come up with average veiws via query/php- because you have the entry date. But that’s as close as you could get- and even that’s pretty much custom coding, just not too difficult to do.
2. This could likely be done with a custom query. adorkable81 was on the right track, but you’d need to add in a check for date. Since the date of the comment is available, it should be possible. But custom queries are beyond tech support- and rightly a ‘How to’ issue.
3. Same issue- EE doesn’t make available a comments in the last ‘x’ days count. Should be possible with a custom query.
If I had already written any of these up for a site I’ve worked on, I’d share it. But I haven’t. You might skim the plugins, as it’s possible someone has rolled one out that would do the trick. But if not, you’d need to code your own or consider bringing in outside help. The above would all boild down to feature requests or custom add-ons, as they aren’t currently available.
Make sense why this was shifted to how to? The features just aren’t there in the standard install.