I think you first need to determine how long bbPress is actually taking to generate a page, and how long it takes to generate the other pages on the site. You can start with _ck_’s mini-stats plugin for bbPress.
https://bbpress.org/plugins/topic/mini-stats/
[edit: see johnhiler’s link below to the bb-benchmark plugin]
And, on the other part of your site, what is running that? Is it WordPress or just static HTML? If it’s WordPress, you can get a plugin as well to point out performance bottlenecks.
Regardless of what type of software a site (your site) is running, there are lots of tools you can run in your browser to find performance bottlenecks.
Firefox (you need that to run most of these add-ons)
Firebug (all around awesome tool)
Y Slow from Yahoo!
Google Page Speed
There are tons and tons of performance add-ons for Firefox but these will get the job done.
Also, what host are you on, and can you post the URL here so others may see the performance first hand?
Thank you Kawauso! This works perfectly! Problem solved
Any chance bbPress will get a codex proper then?
In your theme’s topic.php, change bb_topic_admin(); to bb_topic_admin( array( 'before' => '', 'after' => '' ) ); or to use <li> instead, put bb_topic_admin( array( 'before' => '<li>', 'after' => '</li>' ) ); and put <ul> and </ul> around the <?php tags
$wpdb and $bbdb have nice sanitizing functions and caching of results if I remember correctly
https://codex.wordpress.org/Function_Reference/wpdb_Class
They can also be used to retrieve table names for the respective package
You can also explicitly set the link text like this as well, by coding the full anchor link:
GO TO GOOGLE
To achieve that, I typed this:
<a href="http://google.com/">GO TO GOOGLE</a>
QuickD – if you type a URL, bbPress automatically converts that to a clickable link. I will type just www.google.com and below it will be a link to google with the text http://www.google.com
http://www.google.com
It’s actually harder to have bbPress NOT make links out of URLs.
You shouldn’t need the separate <a> tag, that function should be returning a complete <a> tag with the text passed to it (or using the ID number if one is given)
Yes, this seems to do the trick
<a href="http://www.example.com/forum/profile/<?php bb_get_profile_link(post_author()); ?>">
<?php bb_get_profile_link(post_author()); ?>
</a>
Hardcoding the path is not nice, but at least it works.

Thank you!
So, if I now understand right, I cannot use any piece of it.

Would it really be that hard to get the poster name and link it to his/her profile page, quite simply?
I cannot find how.
It’s generated by the template logged-in.php, which in Kakumei looks like:
<p class="login">
<?php printf(__('Welcome, %1$s'), bb_get_profile_link(bb_get_current_user_info( 'name' )));?>
<?php bb_admin_link( 'before= | ' );?>
| <?php bb_logout_link(); ?>
</p>
So you’d want bb_get_profile_link(bb_get_current_user_info( 'name' ))
Yet something is wrong. It does not work.
Link should most probably look like
http://www.example.com/forum/profile/user
The right code is probably hidden in the header, where it says
Welcome, User | Log Out
That User link is the one I’m after, but cannot find out how it is built.
<a href="profile.php?id=<?php echo get_post_author_id(); ?>"><?php post_author();?></a>
So in post.php there is this code
<p>
<strong><?php post_author_link(); ?></strong><br />
<small><?php post_author_title_link(); ?></small>
</p>
which should be changed into…?
The point is that just dropping the post_author_title_link(); wouldn’t do.
I need to first have the author display name link to his/her profile page.
But I have no clue…
Replace the code from the default theme in your code and then try.
I’m trying to embed one in this topic
<object width=”560″ height=”340″><param name=”movie” value=”http://www.youtube.com/v/pM1Z1y4-Ylg&hl=zh_TW&fs=1&”></param><param name=”allowFullScreen” value=”true”></param><param name=”allowscriptaccess” value=”always”></param><embed src=”http://www.youtube.com/v/pM1Z1y4-Ylg&hl=zh_TW&fs=1&” type=”application/x-shockwave-flash” allowscriptaccess=”always” allowfullscreen=”true” width=”560″ height=”340″></embed></object>
NOt working.. > <
I’m using this in BP under the user’s profile.
<h3 id="useractivity"><?php _e('User Activity') ?></h3>
<div id="user-replies" class="user-recent"><h4><?php _e('Recent Replies'); ?></h4>
<?php if ( $posts ) : ?>
<ol>
<?php foreach ($posts as $bb_post) : $topic = get_topic( $bb_post->topic_id ) ?>
<li<?php alt_class('replies'); ?>>
<a href="<?php topic_link(); ?>"><?php topic_title(); ?></a> -
<?php if ( $user->ID == bb_get_current_user_info( $user->ID ) ) printf(__('You last replied: %s ago'), bb_get_post_time()); else printf(__('User last replied: %s ago'), bb_get_post_time()); ?> |
<span class="freshness"><?php
if ( bb_get_post_time( 'timestamp' ) < get_topic_time( 'timestamp' ) )
printf(__('Most recent reply: %s ago'), get_topic_time());
else
_e('No replies since');
?></span>
</li>
<?php endforeach; ?>
</ol>
<?php else : if ( $page ) : ?>
<p><?php _e('No more replies.') ?></p>
<?php else : ?>
<p><?php _e('No replies yet.') ?></p>
<?php endif; endif; ?>
</div>
<div id="user-threads" class="user-recent">
<h4><?php _e('Topics Started') ?></h4>
<?php if ( $topics ) : ?>
<ol>
<?php foreach ($topics as $topic) : ?>
<li<?php alt_class('topics'); ?>>
<a href="<?php topic_link(); ?>"><?php topic_title(); ?></a> -
<?php printf(__('Started: %s ago'), get_topic_start_time()); ?> |
<span class="freshness"><?php
if ( get_topic_start_time( 'timestamp' ) < get_topic_time( 'timestamp' ) )
printf(__('Most recent reply: %s ago'), get_topic_time());
else
_e('No replies.');
?></span>
</li>
<?php endforeach; ?>
</ol>
<?php else : if ( $page ) : ?>
<p><?php _e('No more topics posted.') ?></p>
<?php else : ?>
<p><?php _e('No topics posted yet.') ?></p>
<?php endif; endif;?>
</div>
but I get: No replies yet. & No topics posted yet.
what am I missing?
I turned them on.
I found the problem though, some time in the middle of last night I had some hair brained idea to reverse integrate bbpress back into WordPress so I could display forums in my sidebars and what not… well I’m running µ and I didn’t want everybody who hosts with us to have to load bbpress and not even get to use it, so I was being ‘crafty’. Somehow I managed not to break WP, but I busted bbPress.
Woke up this morning and forgot all about it.
or just <?php forum_name($topic->forum_id);?>
Go it <?php global $topic; forum_name($topic->forum_id);?>
with the help of _ck_’s post: https://bbpress.org/forums/topic/retrieving-forum-id-from-post-id#post-21521