I can share what I did, but Im using a 5.47d board so the variables will be all different. It will give you an idea but will require tweaking of your own to get it to work on a 6.x based board.
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.