[buddypress-trac] [BuddyPress] #2551: Forums are not being displayed properly

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Wed Jul 28 18:11:20 UTC 2010

#2551: Forums are not being displayed properly
 Reporter:  ramnew2006  |       Owner:                    
     Type:  defect      |      Status:  new               
 Priority:  critical    |   Milestone:  1.2.5             
Component:  Forums      |    Keywords:  forums, forum tags

Comment(by ramnew2006):

 I found the bug. This is happening due to the presence of "My Topics" in
 forums page. Once i remove the code from forum index page in the template
 everything is fine. But only thing is i cannot see my forum topics now. so
 please use this info and solve this bug...

 <?php if ( is_user_logged_in() && bp_get_forum_topic_count_for_user(
 bp_loggedin_user_id() ) ) : ?>
                                                 <li id="forums-
 personal"><a href="<?php echo bp_loggedin_user_domain() . BP_GROUPS_SLUG .
 '/' ?>"><?php printf( __( 'My Topics (%s)', 'buddypress' ),
 bp_get_forum_topic_count_for_user( bp_loggedin_user_id() ) ) ?></a></li>
                                         <?php endif; ?>

Ticket URL: <http://trac.buddypress.org/ticket/2551#comment:2>
BuddyPress <http://buddypress.org/>

More information about the buddypress-trac mailing list