You have to tell your frame what to do when a hyperlink is interacted with by setting the relevant scripts for OnHyperlinkClick, OnHyperlinkEnter, and/or OnHyperlinkLeave. If you want hyperlinks to act like the default chat frames then all you need to do is add:
Code:
frame:SetScript("OnHyperlinkClick", ChatFrame_OnHyperlinkShow)