The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
How can you see how many posts users made in a day?
Is there an option in the admin panel? |
|
#2
|
||||
|
||||
|
Custom select query...
Code:
SELECT Count(*) AS ActivityCount, `user`.`userid`, `user`.`username` AS Username
FROM `post`
INNER JOIN `user` ON `post`.`userid` = `user`.`userid`
WHERE FROM_UNIXTIME(`post`.`dateline`) >= DATE_SUB(NOW(), INTERVAL 1 DAY)
AND `post`.`visible` < 2
GROUP BY Username
ORDER BY ActivityCount DESC, Username ASC
|
|
#3
|
|||
|
|||
|
how do I do that?
|
|
#4
|
||||
|
||||
|
Directly to your database
-or- AdminCP -> Maintenance -> Execute SQL Query |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|