how to pass parameters to bbp_topics() in wordpress plugin- 'bbpress'

I am using wordpress plugin - 'bbpress' for using a forum. The following code is from the file /projectname/wp-content/plugins/bbpress/templates/default/bbpress/loop-topics.php Now the forum is...

Applying a php if statement to another if statement?

I want the if statement below to appear only on certain pages (for instance, I don't want them to surround the whole structure if this is an user page): <div class="mainbar"> ...