The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Post Count on Forum Home - statistics
How can I have the postcount on the index.php show the total # of posts ever posted, counting posts that have been deleted.
In vb2x it could be done this way. https://vborg.vbsupport.ru/showpost....70&postcount=4 |
#2
|
||||
|
||||
Xenon said 2 ways of displaying postcount, one is the real total number of posts on your forum, the 2nd is the unreal posts which includes deleted posts, so to make it's as your need just make: 1 for total posts that still there, make 2-1=3 for the posts that were deleted.
|
#3
|
||||
|
||||
Were can I get these values. All I really need is the max(postid) and threadid
|
#4
|
||||
|
||||
no just max(postid) , you can refer the link above of Xenon to modify, I believe it's different in vb3 but somehow it would just query all posts that way, beside it requires your php + vb3 knowledge.
|
#5
|
||||
|
||||
Open your index.php in your main forum directory.
Look for this at the bottom: PHP Code:
PHP Code:
|
#6
|
||||
|
||||
Thanks! I was going to add that query but I wasnt sure if the variable already existed. So I didnt want to add the extra overhead of a new query. But it seems to be working great.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|