I copied the wpbb-template.php from the parent theme to a child theme (which I had already set up) and changed it as follows. This is using the papercuts theme so you will have to adapt it (from your main theme files) to meet your specific needs. The intent it to not only allow the sidebars to show but to also include any content that I wanted to show above the forum (i.e. disclaimer, legal notice, etc). I’m not showing all of the file…I took out the header information for the sake of space. By including the sidebar and div closings after the wpbb include, it keeps the bulletin board within the normal page width area.
get_header();
if (have_posts()) : while (have_posts()) : the_post(); ?>
<article class="entry-content">
<div class="entry-content-inner">
<?php papercuts_get_breadcrumb(); ?>
<h1 class="content-headline"><?php the_title(); ?></h1>
<?php papercuts_get_display_image_page(); ?>
<?php the_content(); ?>
<?php endwhile; endif; ?>
</div>
</article>
<?php require_once(ABSPATH.'/wp-content/plugins/wp-bulletin-board/php/wpbb-forum.php'); ?>
</div> <!-- end of content -->
<?php get_sidebar(); ?>
</div> <!-- end of main-content -->
</div> <!-- end of container -->
<?php get_footer(); ?>
?>
[Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]