![]() |
Display how many posts
I am trying to find a way to display how many posts altogether there are on my forums but on a non PHP page. My page is shtml.
I have already got a script which allows you to display the latest posts and posters names from this site but I wondered if anyone has one that will do what I want or if they could modify the one I already have. Thanks. |
here ya go straigt from the index.php file :P
PHP Code:
also if you want to grab the threads count add this right under that PHP Code:
$totalposts and for your threads if you wish to disply the total, its simiply: $totalthreads glad to help ya out :] |
Thanks but I'm havinf trouble getting this to work it keeps giving me error messages. Anyone help further please?
|
What error messages are you getting?
Regards - miSt |
I noticed the Total post doesn't match with the actual # of post since the beginning. Anyway to show that info? After pruning a few million posts mine says 400,000, but the actual post is like 2.5 million.
|
Do a search details on how to do this have been posted before ;)
|
I did, but i'll search more.
thanks! |
All times are GMT. The time now is 03:47 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:
|