# bbPress: Post Count and Join Date Under Forum Authors

> Shows how many posts each member has made and when they joined under their name in forum topics and replies.

- Type: PHP
- Runs: Run everywhere
- Category: [Users](https://wpide.com/library/category/users/)
- Tags: bbpress, profile, forums
- Author: WPIDE Team
- Installs: 0
- Updated: 2026-10-28
- Page: https://wpide.com/library/bbpress-author-post-count-join-date/

## Code

```php
if ( ! function_exists( 'bbp_get_reply_author_id' ) ) {
    return;
}

add_action( 'bbp_theme_after_reply_author_details', function () {
    $user_id = (int) bbp_get_reply_author_id();

    if ( ! $user_id ) {
        return;
    }

    $user  = get_userdata( $user_id );
    $posts = (int) bbp_get_user_topic_count( $user_id, true ) + (int) bbp_get_user_reply_count( $user_id, true );

    printf(
        '<div class="wpide-bbp-author-meta" style="font-size:.85em;margin-top:.3em">%1$s<br>%2$s</div>',
        esc_html( sprintf( _n( '%s post', '%s posts', $posts ), number_format_i18n( $posts ) ) ),
        $user ? esc_html( sprintf( 'Joined %s', wp_date( 'M Y', strtotime( $user->user_registered . ' UTC' ) ) ) ) : ''
    );
} );
```

## Notes

Counts come from bbPress's own cached totals, so this adds no heavy queries.

## How to use it

Install the free WPIDE plugin (https://wordpress.org/plugins/wpide/), find "bbPress: Post Count and Join Date Under Forum Authors" in its snippet library and add it in one click; or create a new PHP snippet in WPIDE (or any code snippets plugin) and paste the code above. More snippets: https://wpide.com/library/
