I put the code in showprofile.tmpl myself; but I'm running a modified showprofile page in 6.4. If you notice he's just adding two links to the profile page - you should be able to find a place to add them in your tmpl file that suits you.
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.