I got this to work on my UBB, version 6.04f, so I think it works on all of the 6.xx so far. And nice hack!! I've been looking for something like this so I don't have to edit the Profile on ultimatebb.cgi, and this was easy!!
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.