Note - I wrote it for 6.2.... but I think it'll work fine in 6.1.
My instructions have you add a few bits of code in places. The places you are looking for might not be exactly the same in 6.1, but I expect you'll be able to find the right place (basically after the authenticate function).
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.