I apologize for not replying to your problem sooner - this topic is getting too long for it's own good. Lucky UBB 6.2 release is coming next month (two fingers crossed of course).
Anyways, your problem is probably with ubb_forum.cgi. Since you have majorly hacked your UBB, I suggest you send me your ubb_forum.cgi via e-mail and I'll fix it up for you.
qasic
I'm sorry about that heh, If you need any help supporting I'd be delighted to. As for the file, I'll PM it to you later tonight.
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.