![]() |
Report to view count of members posts by day
I'm looking for something to allow me to view how many posts a member has posted by day/week/month.
Any ideas? |
nvm, I figured out a query that can be run...
Code:
SELECT COUNT(1) AS posts, FROM_UNIXTIME( dateline, '%Y-%m-%d' ) AS DATE FROM post WHERE userid =1 GROUP BY FROM_UNIXTIME(dateline, '%Y-%m-%d'); And if you want to count and group by month: Code:
SELECT COUNT(1) AS posts, FROM_UNIXTIME( dateline, '%Y-%m' ) AS DATE FROM post WHERE userid =1 GROUP BY FROM_UNIXTIME(dateline, '%Y-%m'); |
All times are GMT. The time now is 10:16 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|