Okay, I'm a bit confused - you've
two Property ID's? One for the main site (
domain) and one for the forums (
which you add to XF via Home > Options > Statistics and Metrics) - why the need for the separate forums profile on the main property ID?
In this scenario there also shouldn't be any need to modify templates - you just put the forums propery ID into XF.
Apologies if I've misunderstood what you're trying to achieve.
Cheers,
Shaun