Ilya, did you get a final version of this hack working properly yet (you said there were problems)? Also could you please repost the install instructions of where and what to add the code, like you did in your original post, there are a bunch of broken img tags in it and I'm not exactly sure of what is needed and what isn't.
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.