&GetLatestPost: Please use the Get* routine from ubb_lib_files, as the active topics datafile may not be in a sane state. I built the routines for a reason, you know. Also, the keys function returns in the hash order, which is never right. Use a sort and drop the reverse, as it isn't working right as-is.
&GetMemberCount: Again, please use the proper Get* routine from ubb_lib_files...
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.