Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Robin W

    (@robin-w)

    hmm. Not having a copy of that theme, nor your settings it is hard to say.

    For my plugin not to display items, I extensively reply on the original bbpress files to hook changes to. Your theme text says ‘has also totally redesigned bbPress so it now looks like a traditional forum.’

    so it is not surprising that the two aren’t working.

    Without knowing what the theme has changed it is impossible to help.

    Thread Starter generousdonator

    (@generousdonator)

    In the Theme Folder socialize/bbpress there are only 2 files.

    loop-forums.php

    <?php
    
    /**
     * Forums Loop
     *
     * @package bbPress
     * @subpackage Theme
     */
    
    ?>
    
    <?php do_action( 'bbp_template_before_forums_loop' ); ?>
    
    <ul id="forums-list-<?php bbp_forum_id(); ?>" class="bbp-forums<?php if ( bbp_is_forum_archive() ) { ?> gp-forum-home<?php } ?>">
    
    	<li class="bbp-header">
    
    		<ul class="forum-titles">
    			<li class="bbp-forum-info"><?php esc_html_e( 'Forum', 'socialize' ); ?></li>
    			<li class="bbp-forum-topic-count"><?php esc_html_e( 'Topics', 'socialize' ); ?></li>
    			<li class="bbp-forum-reply-count"><?php bbp_show_lead_topic() ? esc_html_e( 'Replies', 'socialize' ) : esc_html_e( 'Posts', 'socialize' ); ?></li>
    			<li class="bbp-forum-freshness"><?php esc_html_e( 'Freshness', 'socialize' ); ?></li>
    		</ul>
    
    	</li><!-- .bbp-header -->
    
    	<li class="bbp-body">
    
    		<?php while ( bbp_forums() ) : bbp_the_forum(); ?>
    
    			<?php bbp_get_template_part( 'loop', 'single-forum' ); ?>
    
    		<?php endwhile; ?>
    
    	</li><!-- .bbp-body -->
    
    	<li class="bbp-footer">
    
    		<div class="tr">
    			<p class="td colspan4">&nbsp;</p>
    		</div><!-- .tr -->
    
    	</li><!-- .bbp-footer -->
    
    </ul><!-- .forums-directory -->
    
    <?php do_action( 'bbp_template_after_forums_loop' ); ?>
    

    loop-single-forum.php

    <?php
    
    /**
     * Forums Loop - Single Forum
     *
     * @package bbPress
     * @subpackage Theme
     */
    
    ?>
    
    <ul id="bbp-forum-<?php bbp_forum_id(); ?>" <?php bbp_forum_class(); ?>>
    
    	<li class="bbp-forum-info">
    
    		<?php if ( bbp_is_user_home() && bbp_is_subscriptions() ) : ?>
    
    			<span class="bbp-row-actions">
    
    				<?php do_action( 'bbp_theme_before_forum_subscription_action' ); ?>
    
    				<?php bbp_forum_subscription_link( array( 'before' => '', 'subscribe' => '+', 'unsubscribe' => '&times;' ) ); ?>
    
    				<?php do_action( 'bbp_theme_after_forum_subscription_action' ); ?>
    
    			</span>
    
    		<?php endif; ?>
    
    		<?php do_action( 'bbp_theme_before_forum_title' ); ?>
    
    		<a class="bbp-forum-title" href="<?php bbp_forum_permalink(); ?>" title="<?php bbp_forum_title(); ?>">
    			
    			<?php bbp_forum_title(); ?> 		
    			
    			<?php if ( bbp_is_forum_archive() ) { ?>
    				<?php do_action( 'bbp_theme_before_forum_description' ); ?>
    				<div class="bbp-forum-content"><?php the_content(); ?></div>
    				<?php do_action( 'bbp_theme_after_forum_description' ); ?>
    			<?php } ?>	
    					
    		</a>
    
    		<?php do_action( 'bbp_theme_after_forum_title' ); ?>
    		
    		<?php if ( ! bbp_is_forum_archive() ) { ?>
    			<?php do_action( 'bbp_theme_before_forum_description' ); ?>
    			<div class="bbp-forum-content"><?php the_content(); ?></div>
    			<?php do_action( 'bbp_theme_after_forum_description' ); ?>
    		<?php } ?>	
    
    		<?php do_action( 'bbp_theme_before_forum_sub_forums' ); ?>
    
    		<?php ghostpool_bbp_list_forums( array (
    		'before'            => '<ul class="bbp-forums-list">',
    		'after'             => '</ul>',
    		'link_before'       => '<li class="bbp-forum">',
    		'link_after'        => '</li>',
    		'count_before'      => '<div class="topic-reply-counts">' . esc_html__( 'Topics', 'socialize' ) . ': ',
    		'count_after'       => '</div>',
    		'count_sep'         => '<br />' . esc_html__( 'Posts', 'socialize' ) . ': ',
    		'separator'         => '<div class="gp-clear"></div>',
    		'forum_id'          => '',
    		'show_topic_count'  => true,
    		'show_reply_count'  => false,
    		'show_post_count'  => true,
    		'show_freshness_link' => true,
    		)); ?>
    
    		<?php do_action( 'bbp_theme_after_forum_sub_forums' ); ?>
    
    		<?php bbp_forum_row_actions(); ?>
    
    	</li>
    
    	<li class="bbp-forum-topic-count">
    		<div class="topic-reply-counts"><?php esc_html_e( 'Topics', 'socialize' ); ?>: <?php bbp_forum_topic_count(); ?></div>
    		<div class="topic-reply-counts"><?php esc_html_e( 'Posts', 'socialize' ); ?>: <?php bbp_show_lead_topic() ? bbp_forum_reply_count() : bbp_forum_post_count(); ?></div>
    	</li>
    
    	<li class="bbp-forum-freshness">
    
    		<p class="bbp-topic-meta">
    
    			<?php do_action( 'bbp_theme_before_topic_author' ); ?>
    
    			<span class="bbp-topic-freshness-author"><?php bbp_author_link( array( 'post_id' => bbp_get_forum_last_active_id(), 'size' => 14 ) ); ?></span>
    
    			<?php do_action( 'bbp_theme_after_topic_author' ); ?>
    
    		</p>
    				
    		<?php do_action( 'bbp_theme_before_forum_freshness_link' ); ?>
    
    		<?php bbp_forum_freshness_link(); ?>
    
    		<?php do_action( 'bbp_theme_after_forum_freshness_link' ); ?>
    		
    	</li>
    
    </ul><!-- #bbp-forum-<?php bbp_forum_id(); ?> -->
    Plugin Author Robin W

    (@robin-w)

    the problem is in loop-single-forum.php, which has a function

    ghostpool_bbp_list_forums

    in it.

    I can only suggest that you rename both of these files – eg add say old to them to have
    loop-single-forum-old.php and loop-forums-old.php

    that will stop them being used and revert to the original bbpress templates, and see if that fixes.

    If it makes it worse, you can just rename them back again.

    Plugin Author Robin W

    (@robin-w)

    nothing further heard – marking as resolved

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘bbp Private Groups is messing up my Theme’ is closed to new replies.