https://rtcamp.com/blog/we-have-bbpress-attachment-feature/
We have bbPress attachment feature you are looking for!