Tested a somewhat manual fix on the test forum earlier and it worked, basically downloaded the entire content of teh forum in an SQL file (all 90mb ofit), then opened in a text editor, did find/replace with the dodgy link code and reuploaded and restored data, seems to work.
Will aim to do this at the weekend so will need to take forum down for a bit, probably sunday but for 30 mins max.