Hi there!
Thanx for answering! I’ve read your answer to a similar issue in an old post and I’ve already checked that, but unfortunately it seems that in the new versions, or at least in this installation, the bbpress class is added to the body of the post content and not to the page wrapper, so the sidebar is outside and I can’t target it with that class..
it’s a bit weird though, cause it seems that the shortcode which calls the forum archive in the post content, is actually overriding the template chosen with the page attributes. it’s set as default template, but in the theme default page should be displayed the default sidebar, and in the forum page is displaying the forum sidebar instead, even if is set on default template and there is just a shortcode into the post content..