The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
How do I go about finding this?
I was to find out a members postcount, but we have no post count in the spam section... I was just wondering if there was a way to find out how to count all those up as well. Thanks. ![]() |
#2
|
||||
|
||||
![]()
It depends, do you want to find the count for yourself or begin adding post counts from a forum which didn't allow them before?
|
#3
|
|||
|
|||
![]()
No, I want to know how many posts a member has, counting the ones in the no postcount areas.
Thanks. ![]() |
#4
|
||||
|
||||
![]()
I know of no other way besides turning post counts in that forum on and rebuilding the member stats, but that will update it on the forum as well as you knowing.
|
#5
|
|||
|
|||
![]() Quote:
Code:
SELECT username, COUNT( * ) AS realpostcount FROM post GROUP BY username ORDER BY username DESC; |
#6
|
||||
|
||||
![]()
grouping by userid would be better IMHO as this column is indexed - and integer operations should always be faster then string operations.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|