The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Threads and posts
How can I find out the number of posts a user has made, but exclude posts that are the first post in a thread?
|
#2
|
||||
|
||||
I would find the number of posts, then the number of threads but subtract the number of threads from the number of posts. That would exclude all first posts.
Amy |
#3
|
|||
|
|||
Possibly but would that be two queries?
|
#4
|
||||
|
||||
Yep. Because I don't believe posts are normally marked as being the start of a thread unless you have installed certain hacks.
Amy |
#5
|
|||
|
|||
Nuts. Any other ideas?
|
#6
|
||||
|
||||
maybe it's possible with one query, but it would mean you look at the thread and the post table within the same query, which would take time...
this is a thing where two queries are better than one |
#7
|
|||
|
|||
K, and I actually know how to code that. Thankies
|
#8
|
||||
|
||||
I'd do it the same as amy
- miSt |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|