The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
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? |
#2
|
||||
|
||||
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'); |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|