I added a call to auth in so that the $user array is filled if being viewed by a registered user. Otherwise a call to auth is made in the send_header function when there is no $user information.
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.