Aye! The forum_XX.threads files in 6.4 aren't in sync like the 6.6 files(The ones on my 6.6 board are sorted in numeric order which makes for clean processing of the array). The way I wrote this, I take the .threads, pop the bottom rows off, then invert the array so I can process it in reverse order. It looks like with 6.4, I need to sort the array myself before processing it.
Let me see what I can cook up for porting this mod back to 6.4....
On a positive note, you helped me solve the graemlin processing problem. Drop ubbnews.php into the noncgi directory. I call mine out of the root because it is with the rest of the PHP scripts that power the main page on my site.
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.