A few things to check:
- Is the plugin active?
- Are you calling the function correctly (named correctly, etc…)?
- Cherry picking functions and putting them in your
functions.php file can be tedious, since you’re stuck supporting all your own new code rather than letting the plugin do the work. Are you sure you’re comfortable with this?
- If the function says it’s undefined, it means whatever file you’re putting that code in, isn’t loading. Why not?
You’ll likely have better results if you filter the results of bbp_after_get_topic_admin_links_parse_args like so:
/**
* Replace the individual link calls with your own functions
*/
function foo( $args = array() ) {
$args['links'] = array(
'edit' => bbp_get_topic_edit_link ( $args ),
'close' => bbp_get_topic_close_link( $args ),
'stick' => bbp_get_topic_stick_link( $args ),
'merge' => bbp_get_topic_merge_link( $args ),
'trash' => bbp_get_topic_trash_link( $args ),
'spam' => bbp_get_topic_spam_link ( $args ),
'reply' => bbp_get_topic_reply_link( $args )
);
return $args;
}
add_filter( 'bbp_after_get_topic_admin_links_parse_args', 'foo' );
Keep in mind that each link function accepts its own parameters (including the ability to change the text to anything you want) so you can either pass new parameters, or filter each link and adjust them. This way you can just filter bbPress’s core functionality rather than rewrite everything on your own
By default, closed topics get a greyed out text color. You can override this with some CSS tweaks that target it specifically. Something like:
#bbpress-forums .status-closed,
#bbpress-forums .status-closed a {
color: red;
}
Maybe this is already obvious, but if you’re already logged in, those pages aren’t going to work for you; bbPress will either show a message, or redirect away from them, depending on what you’re setup is.
The login page here is a (much more complicated) version of what is already in bbPress core, using a WordPress Page and the shortcode. (It’s only complex because of shared logins and integration with WordPress.org, Trac, BuddyPress.org, etc…) Meaning, it can’t be broken for you, because if you’re only using bbPress’s method and shortcodes, it’s exactly what’s also working here.
We’ve considered a few different ways of auto-creating the login/register/lost-password pages (and maybe there are some improvements we can make in this regard) however we haven’t settled on a solution we feel works for the 80% of users that want the out-of-the-box experience, that also doesn’t conflict with existing WordPress registration plugins.
If you could describe what you think the ultimate experience would be, we’re all ears. 🙂
I spent a few hours this weekend cleaning up the themes that power BuddyPress.org, bbPress.org, and the shared styling between the codexes, Trac’s, etc… We’ll be open sourcing all of both of those sites very soon.
You’ll (hopefully) be surprised how few modifications are made to the default styling, and how little markup and CSS there is. 🙂
Hello!
I’ve searched the forums for a topic that has the same issues as I’m having, to no avail. I have created a website using wordpress.org (http://meechanchronicles.com/Install), and installed bbPress version 2.53. I’ve been able to create the forum, and using wordpress, I’ve created a couple of forums and one topic.
I followed the bbPress codex for adding Login/Register pages, as well as a Lost Password page. Whenever I try and access the forum from the outside (ie not logged into WordPress), I seem to be stick in a circular link that never actually does anything.
In addition, neither the Register/Lost Password pages work, returning a 404 error. I’ve double checked the shortcode links as well as made sure that the permalink addresses are spelled correctly and match the shortcodes.
I am totally new to creating forums, but I feel that I’m missing something simple. Any help is greatly appreciated.
Thanks!
Adam
Just curious if there is an easy way to check if a user has been subscribed to a topic or not..
I’ve looked inside the Core templates and found the bbp_user_subscribe_link() function so I ported it over to my own functions file and changed it a little bit, now it works on the topics index page but for some reason it breaks at my topic-replies index page while they use the same default topics loop.
This is my code I’ve changed around a little and what it does is, it prints an is-subscribed text to the page if a user is subscribed to an topic or not. IF not is doesn’t do anything – this is-subscribed text I placed inside a HTML class so I can catch him by some CSS.
http://pastebin.com/iFybkjfr
Visual, the 1px colored borders on the right indicate if a topic is-subscribed (blue), is-closed (black) or is-sticky (yellow).
It’s a very small feature but I believe very effective, maybe it’s possible to hook those is-values into the bbp_topic_class() by default because BuddyPress has this feature out of the box. If you’re a member of a group it also prints is-member inside the groups-list-class.

Anybody ideas about how we could make this more smooth and simple?
What is the link to put there.
'href' => site_url(' <strong>LINK HERE</strong> '),
I have recently lost access to most of bbPress.
There is no backend access at all, even the link to settings in the plugin list is not present
and nothing at all down the LHS however the forum listing does appear on the front end if no user is logged in.
Also some shortcode widget items appear on the front page in the footer.
When anyone logs even the keymaster the forum is less visible.
I had to recreate the keymaster which dissapeared and became a moderator.
The keymaster was no longer listed as an option to reselect so I had to
change the role thus in this line with phpmyadmin
a:3:{s:13:”administrator”;b:1;s:20:”add_ultimate_auction”;b:1;s:13:”bbp_keymaster”;b:1;}
I am not sure whether this occurred exactly as 2.5.3 was installed but it became evident soon after.
WordPress 3.8.1 running Hueman theme.
When I installed BBpress I was able to add a topic and a form and the Forums entry was visible to the administrator account.
Now if I log in as administrator or any account the forums are not visible or available.
You can see a basic list but as soon as you click on anything page not found 404 comes up
The shortcodes do produce an output from the forum if put in a new page or in the footer but
the url
http://racingpigeon.com/forums/ is blocked whereas the same shortcode in
a new page added at http://racingpigeon.com/forumsx/ produces output
If I log out then I see the output at
http://racingpigeon.com/forums/
I have tried all different levels of forum access but none lets me see it.
bbPress Version 2.5.3
Wordpress Ver WordPress 3.8.1 Maintenance Release January 23, 2014
Thanks Ian
Instead of creating a new topic I’d like my question to be answered in here.
I downloaded and installed the bbPress-Plugin for WordPress and set it up for my website. Here’s the link to my forum.
I changed the permalinks /forums/forum/ to /forum/kategorie/ (engl. category)
Does anyone by this time know a guide (for non-coders) or plugin to customize the permalink structure in bbPress?
I’d like to change the structure from: (Origin)
forums -> forum(folder)/topic(folder) -> forum/topic
To: (Personalized / SEO Optimized(imho))
forums -> forum -> topic
I did some research beforehanded:
- no support by developers cause it’s made the wordpress way
- no negative effect for SEO of the original url structure
I.e.: website.com/forum/tech/technical-question…
instead of website.com/forum/topic/technical-question…
It has no negative effect but it would grant two more positive ones.
(1) More freedom for the user in terms of customizability and (2) the new customizability grants free space for keywords in the URL which are not only nice to read for search engines
What about the htaccess rewrite ideas, I didn’t get any of these working and many say it’s not recommendable.
This plugin might let you change the words
EDIT: Robin, I removed the code you posted as it was not really what was needed, check the plugin below. Cheers, Stephen
@jakub-orlowski The database name you have used is wrong.
In this image my database name is ntwb_mingle (at the very top)

wp-content\plugins\bbpress\includes\topics\template.php
There was the same code also as the following php file.
wp-content\plugins\bbpress\includes\replies\template.php
wp-content\plugins\bbpress\includes\search\template.php
I am using WordPress-bbpress at the my site.
When many messages were contributed to a topic and it became 10 pages or more, the link to 10th page had broken.
The following code is the cause.
It will replace from “&paged=10” to “0”.
bbpress.2.5.3
C:\xampp\htdocs\bb\wp-content\plugins\bbpress\includes\topics\template.php
895 line
// Remove first page from pagination
if ( $wp_rewrite->using_permalinks() ) {
$pagination_links = str_replace( $wp_rewrite->pagination_base . '/1/', '', $pagination_links );
} else {
$pagination_links = str_replace( '&paged=1', '', $pagination_links );
}
One solution for correcting this is the following. (Insert “if($pagination[‘total’] == 1)”)
// Remove first page from pagination
if ( $wp_rewrite->using_permalinks() ) {
$pagination_links = str_replace( $wp_rewrite->pagination_base . '/1/', '', $pagination_links );
} else if($pagination['total'] == 1) {
$pagination_links = str_replace( '&paged=1', '', $pagination_links );
}
The documentation was wrong. Moderators cannot create/modify forums.
I’ve updated the documentation to match what each role can do.
Actually they can, the documentation was correct 😉
// Forum caps
'publish_forums' => true,
'edit_forums' => true,
'read_private_forums' => true,
'read_hidden_forums' => true,
I have added those changes back to the codex.
The caveat to this is that they can only create and edit forums in the ‘front end’ and not via the admin dashboard. (Details of this are noted in Trac as part of the wider scope Moderator control panels)
To allow moderators to create forums you need to use the [bbp-forum-form] shortcode on a page.
Just curious as I’m not a PHP-er and learning each day.
What I’m trying to make is a front-end tab-system that shows three tabs
Tab [1] = Topics
Tab [2] = Replies
Tab [3] = Refresh, just a reload of the page

Topics,
This should be a very easy query-/loop in general, it’s just a list of all new topics that have been added to my forum. There’s only one little thing, it should order at the date of creation so that when an older topic gets a reply it doesn’t bounce to the top of the list.
Replies,
This should be a query for latests updated topics of any age, if a topic of 5 years old receives an update or bounce it should jump to the top of this list. + newly or older created topics without replies shouldn’t get listed inside this second ‘Replies’ tab.
I came up with this idea:
<?php if ( bbp_has_topics( array( 'show_stickies' => false, 'order' => 'DESC', 'posts_per_page' => 120, 'max_num_pages' => 1 ) ) ): ?>
<?php while ( bbp_topics() ) : bbp_the_topic(); ?>
<?php if ( bbp_get_topic_reply_count() ) {
bbp_get_template_part( 'last-topic-activity/last-replies-loop' );
} ?>
<?php endwhile; ?>
<?php endif; ?>
posts_per_page => 120 is a little bold but it’s just for testing right now.
Just curious if this is okay to work with, I found the bbp_get_topic_reply_count() function and it has a True or False statement so I thought lets just check if the topics have a reply_count … if it’s true than list a bunch of stuff through the custom-loop template I made.
Hope somebody can verify if this is okay, it looks like it’s working.
I’m using WordPress version 3.8.1 (the latest as of this writing) and bbPress version 2.5.3 The url wouldn’t show the problem since the forum is private and you would only see “Oh bother! No forums were found here!” on the page as a non-logged in non-member of the site. This question also relates to the WordPress dashboard rather than the site itself. I’ve given a user on the site the bbPress role of Moderator with the expectation that he should be able to set up new forums, however, when he logs in, he can only see/access topics, replies and profile in the WordPress dashboard. There is no link to “Forums” where he can add new ones. Why is this the case when according to the roles information on this page: http://codex.bbpress.org/bbpress-user-roles-and-capabilities/ a Moderator “can create and edit forums. Can create, edit and delete other users’ topics and replies. Can manage Tags, and moderate a forum with the moderation tools”?
Fugettaboutit – some more hours passed by and they still are there. So that wasn’t the reason.
CUrious is, that, at least for me, the URLs (guid) of the revisions are like
http://deppheads.com/general/2014/01/24/303815-revision-v1/
with post parent being this
http://deppheads.com/forums/reply/303815/
while even those spam replies have an url like this
http://deppheads.com/forums/reply/711501/
so they are getting normal posts in the general category (my default one)
This is what I have so far
add_action( 'wp_before_admin_bar_render', 'my_tweaked_admin_bar' );
function my_tweaked_admin_bar() {
global $wp_admin_bar;
$wp_admin_bar->remove_menu('edit-profile');
$wp_admin_bar->add_menu( array(
'id' => 'edit-profile',
'title' => 'Edit My Profile',
'href' => site_url(''),
'parent'=>'user-actions'
));
}
Thanks. I was hoping it was that easy. Is there a list of bbpress shortcodes somewhere?
The easiest way to do this is to make a WordPress page with the same slug as your forum root. bbPress will see that page and yield to it, letting it render instead of your forums.
In that page’s content, use the bbp-forum-index shortcode, along with any other HTML, shortcodes, or whatever else you want there. You can get really fancy with your forum index using modifications in a child theme, custom template parts, page templates, forum archives, etc…
I have my forum all set up about how I want it and I am using the stock root /forums as the forum front page. How do I go about adding to the main area above and below the forum? I would like to add items such as banners or use shortcodes for topic info. Where would this root page file be located?
Thank You
Matt
http://averageoutdoorsman.com/forums/
bbPress comes with widgets and a shortcodes to help with rerouting logins and sign-ups (which are what we use here on bbpress.org), but you’ll likely want to look into other third party plugins for actually taking over and controlling the stock experience.
bbp-login
bbp-register
bbl-lost-pass
At a quick glance I’m quite sure bbPress could do everything that you mention above, just not out of the box will it do those things.
You would need to make these customizations yourself or hire a programmer to do them for you.
The ‘threaded “hierarchal tree-style” would just be a matter of making some custom templates and would be quite quick. To setup the different theme for different users I think there are a few WordPress plugins that let your users choose what theme they want to use, so have two themes, one with the default bbPress theme (with or without customizations, and the other theme with your customized “hierarchal tree-style” templates.
There are some docs on getting started with custom templates https://codex.bbpress.org/theme-compatibility/