It's always tough to import from a product you don't know much about. From the little I monkeyed with it, it looked like all the links were to ?t= for a topic, but that looks like it's linking to an individual post in a topic correct? If so, I'll give you some code to fix that shortly.