Forum Replies Created
-
it happened at last
the user pro support guys mailed me this code when i requested them :
PHP123456789101112131415161718<div id=”bbp-user-topics-started” class=”myforumtest”><div class=”bbp-user-section”> <h2 class=”entry-title”><?php _e( 'Forum Topics Started', 'bbpress'); ?></h2><?php if ( bbp_get_user_topics_started( $user_id, 'topics-created') ) : ?><?php bbp_get_template_part( 'pagination', 'topics' ); ?><?php bbp_get_template_part( 'loop', 'topics' ); ?><?php else : ?><p><?php bbp_is_user_home() ? _e( 'You have not created any topics.', 'bbpress') : _e( 'This user has not created any topics.', 'bbpress' ); ?></p><?php endif; ?></div></div>in reply to: bbPress Profile Info on UserPro Profilehello,
try this code, not exactly serving the purpose, but maybe modified to be better,
please post future modifications of this code<p class=”bbp-user-topic-count”><?php printf( __( ‘Topics Started: %s’, ‘bbpress’ ), bbp_get_user_topic_count_raw() ); ?></p>
<p class=”bbp-user-reply-count”><?php printf( __( ‘Replies Created: %s’, ‘bbpress’ ), bbp_get_user_reply_count_raw() ); ?></p>in reply to: bbPress Profile Info on UserPro Profile
Viewing 2 posts - 1 through 2 (of 2 total)