BT,
Thanks for testing Latest Threads SSI and for pointing out the correction.
The bug your getting in $page_limit is not a bug from Latest Threads SSI. The bug resides in the UBB 6.x code. If a recent thread was deleted UBB 6.x doesn't remove the deleted thread listing in the index file.
This index file is created by UBB and stores the latest posts information. Since a recent thread was deleted but never removed from the index file, Latest Threads reads the index and searches for this post but returns no information because the thread no longer exists (the post is ignored). My problem here is Latest Threads still counts the deleted post as 1 listing.
Untill I can figure out more about how this index file is created I have no quick solution. If your board is clean and people don't delete topics very often then you won't see this problem too much.
Otherwise I'm pretty sure by now your board is showing 7 threads if you selected 7 as your $page_limit and no one has deleted any recent threads.
I hope this helps.
Thanks.
Casual
[ July 05, 2001 09:42 PM: Message edited by: djcasual ]