There is actually an easier way which I found out about on SourceForge. Rather than using the local method of invoking the banner, use 'Remote invocation with JavaScript'.
Copied and pasted the generated code into the template and it worked like a charm.
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.