![]() |
Show Number of Post in the last 24hrs on forumhome
Is this possible, as i would like to show the number of posts that have been posted on the forums, in the last 24hrs.
Thanks |
There are two ways to do this. If you have a small board, it's enough to query the database and count the number of posts made in the past 24 hours and show that number.
On a big board, it would probably be better to store a counter in the database that is incremented every time a post is made. The counter could be reset by a cron job. You could keep the counter in the datastore and just pull it for display when needed. It's more work this way, but probably easier on the processing for a larger site. |
All times are GMT. The time now is 06:31 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:
|