![]() |
Query for postcount of a post?
Hi all, i'd like to make a query to take the postcount of a specific post having its id.
For example, this is the post 1536335 and knowing this i'd like to know the postcount in the thread. Any ideas? |
Sorry i don't understand. The 'postcount' of a single post is always 1.
|
I'd like to do a query that "replay" me 2 if, for exemple, i ask for post 1536862 (yours)
|
So basically, given the postid, you want to find out how many posts are in the thread that contains that postid?
|
No.. this is to easy :)
given the postid, i want to find out the postcount of the postid. Thanks |
OK, I think I see. Your post above me is postid 1537117 and it has a postcount of 5 in this thread. Writing the query really depends on where you want to use this information because obviously it is already available to you in this thread.
|
The only usefull variable cached are the postid and the threadid
|
You would need to count the number of posts in the thread that have a dateline <= to the post you are looking for.
|
All times are GMT. The time now is 03:24 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:
|