Skip to:
Content

bbPress.org

Ticket #2519: 2519.5.patch

File 2519.5.patch, 1.6 KB (added by netweb, 11 years ago)
  • templates/default/bbpress/content-single-topic-lead.php

     
    6767
    6868                                <?php endif; ?>
    6969
     70                                <?php if ( ! bbp_is_topic_anonymous() ) : ?>
     71
     72                                        <div class="bbp-user-topic-count"><?php printf( __( 'Topics Started: %s',  'bbpress' ), bbp_get_user_topic_count( bbp_get_topic_author_id() ) ); ?></div>
     73
     74                                        <div class="bbp-user-reply-count"><?php printf( __( 'Replies Created: %s', 'bbpress' ), bbp_get_user_reply_count( bbp_get_topic_author_id() ) ); ?></div>
     75
     76                                <?php endif; ?>
     77
    7078                                <?php do_action( 'bbp_theme_after_topic_author_details' ); ?>
    7179
    7280                        </div><!-- .bbp-topic-author -->
  • templates/default/bbpress/loop-single-reply.php

     
    5454
    5555                <?php endif; ?>
    5656
     57                <?php if ( ! bbp_is_reply_anonymous() ) : ?>
     58
     59                        <div class="bbp-user-topic-count"><?php printf( __( 'Topics Started: %s',  'bbpress' ), bbp_get_user_topic_count( bbp_get_reply_author_id() ) ); ?></div>
     60
     61                        <div class="bbp-user-reply-count"><?php printf( __( 'Replies Created: %s', 'bbpress' ), bbp_get_user_reply_count( bbp_get_reply_author_id() ) ); ?></div>
     62
     63                <?php endif; ?>
     64
    5765                <?php do_action( 'bbp_theme_after_reply_author_details' ); ?>
    5866
    5967        </div><!-- .bbp-reply-author -->