Latest version: Board Index User Cache 1.4 for YaBB 2.1.
If you absolutely need a version for YaBB 2.0 Final, I've attached 1.3 to the last post, which will work for 2.0.
This mod is a behind the scenes mod that is meant to make YaBB 2 faster and easier on your server. YaBB 2 is much better then YaBB SP 1, but it still opens up many files when viewing the Board Index.
This mod caches the important variables in those files (regdate, regtime, realname, position, addgroups) that are needed to properly display the user on the BoardIndex. After a cache file is built for the current BoardIndex, it loads from this file while the data is considered new enough to use. I also made the MessageIndex use it so it can benifit from this (but it does not update the cache).
At the time of the first post, my mod is using the cache for 12 users instead of opening the user's .var file (saves 12 file opens!). If you want to see what is loaded from cache, turn debug mode on, invalidate the cache in the admin center, and go to the BoardIndex. In the Opened Files list, there will be entries that show what users are loaded from cache rather then files.
Feedback is appericated, as this is not tested very well (my host has been going up and down since a week or two before I installed this mod on my site
).
VERSION HISTORY:
1.4 (YaBB 2.1): Updated for 2.1. Added eval() for topic listing too. Added German translation. Changed the directory structure of the mod zip file to make it more like the real YaBB structure. (November 10th, 2005)
1.3 (YaBB 2 Final): Used eval() to trap errors created by the cache. (October 25th, 2005)
1.2 (YaBB 2 Final): Fixed regtime error with Guests. (October 12th, 2005)
1.1 (YaBB 2 Final): Made storing of data safer. Also fixed dates in headers of the lang and admin files. (October 8th, 2005)
1.0 (YaBB 2 Final): Mod package made available on BoardMod.