Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Make "recent posts" function run much fa (Read 2847 times)
raymor
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 1
Joined: Dec 18th, 2006
Make "recent posts" function run much fa
Dec 18th, 2006 at 10:25am
Print Post  
The default "recent posts" function reads each post to get the date of each,
then sorts them to get the most recent.  This takes far too long once there
are several thousand posts.  This mod makes this run MUCH faster by only checking
the last 10 or so posts in each forum.

For the technically inclinded, this is done by seek()ing near the end
of each FORUM.txt file after opening it.

This mod has been tested on 1.3.2, but is very simple and so should work with
other 1.x versions and be compatible with most other MODs.
  

recent_posts_faster.mod ( 0 KB | Downloads )
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint