You could do this.
Presuming you only want tutors to see the forum (not the general public), basically you would set the forum as private, this restricts visibility to logged on users with higher than spectator privaledge to see them.
You would then create a new bbpress role, which has visibility but no access. I think that would be fairly easy – I know how to go about it but have never tested
If you want to go down this route and test, come back and I’ll make a quick function to set this up for you.
You would have full rights – keymaster
Then your clients would have keymaster or moderator role – lets them create forums and new topics (and indeed replies for supplementaries to topics)
You clients’ tutors would have say “tutor” role, which is the spectator role with visibility to private forums added in.
Public would see no forums, topics or replies
Hello!
I was wondering if bbPress offers integration with TwitchTV and if so, how I would go about doing that?
Basically when a user tries to sign in/register there is an option to sign in with TwitchTV and it syncs their account to the forums, with permission.
Sort of think that’s how it is designed to work, the idea being that you eye is drawn to the latest unstuck post, and then immediately above it is the latest stuck post, so it works
sticky – early to late.
unsticky – late to early.
Suspect there’s a bit of code you can do to change the order.
The function bbp_get_stickies
sits in
\bbpress\includes\topics\functions.php
I don’t directly have any experience of maintenance plugins.
However creating a test/backup site, whilst requiring some further learning, is of great benefit, and discussed in the documentation here
https://codex.bbpress.org/creating-a-test-site/
ok, so drop the following into your functions file
// Display just latest topic
function display_latest_topic() {
$topics_query = array(
'post_type' => bbp_get_topic_post_type(),
'post_parent' => $settings['parent_forum'],
'posts_per_page' => '1',
'post_status' => array( bbp_get_public_status_id(), bbp_get_closed_status_id() ),
'ignore_sticky_posts' => true,
'no_found_rows' => true,
'order' => 'DESC'
);
$lt_query = new WP_Query( $topics_query );
while ( $lt_query->have_posts() ) {
$lt_query->the_post();
$topic_id = bbp_get_topic_id( $lt_query->post->ID );
?>
<h2> Latest topic </h2>
<h3> <a href="<?php bbp_reply_url(); ?>" class="bbp-reply-permalink"><?php bbp_topic_title($topic_id); ?></a></h3>
<div id="bbpress-forums">
<div id="post-<?php bbp_reply_id(); ?>" class="bbp-reply-header">
<div class="bbp-meta">
<span class="bbp-reply-post-date"><?php bbp_reply_post_date(); ?></span>
<a href="<?php bbp_reply_url(); ?>" class="bbp-reply-permalink">#<?php bbp_reply_id($topic_id); ?></a>
</div><!-- .bbp-meta -->
</div><!-- #post-<?php bbp_reply_id(); ?> -->
<div <?php bbp_reply_class(); ?>>
<div class="bbp-reply-author">
<?php bbp_reply_author_link( array( 'post_id' => $topic_id, 'sep' => '<br />', 'show_role' => true ) ); ?>
</div><!-- .bbp-reply-author -->
<div class="bbp-reply-content">
<?php bbp_reply_content(); ?>
</div><!-- .bbp-reply-content -->
</div><!-- .reply -->
</div><!--div bbpress-forums--->
<?php
} }
and then on your page template add this function where you want it. I’ve wrapped it in an if is_front_page statement so it only shows on the frontpage. You night need to use is_home instead depending on how your blog is set up.
If you want it in the body, you should put it within the content div, either before or after the loop depending if you want it at the of or bottom of the page. You may need to play a bit !
Hello everyone
Sorry for asking a simple question, but i have just spent an hour figuring out how to increase the font-size in the html text editor. That is, the one we use to make replies or post topics. I don’t think it is related, but the font size is also very small when I submit a quick message on the Activity page in BuddyPress, ut just saying if somebody knows something about it.
I am using WordPress 3.8.1, Fruitful theme and WP USer frontend. The font size is small only on the Activity page in BuddyPRess and in bbpress. The comment section and WP user frontend seem to work fine picking up the 14px font size from my theme. To remind you, I am talking about the html editor, not the visual editor (which doesn’t even show up in topic/reply fields, I believe)
Thank you in advance!
I really want my Buddypress community to be built with only the bbPress forums within the groups page. I really don’t want people to have a secondary forum outside of the group page because, from past use of bbPress, it was too confusing for members to know exactly where to post to.
So can this be done? Is there a way to disable the main site bbPress forums and just keep the group bbPress ones?
Hope you can help!
Hi all.
What can be done to get bbpress page load faster ? What are best practices ? Is there a tutorial I have missed ?
It appears as if I have a redirection-problem, where my browser is stalling ?
Is there still a gravatar-issue where I have to remove some code for speed optimization ?
What ressources can be cached with htaccess or otherwise ?
And so on …. ?
BBpress is really looking better and better and the bbpress-for-wordpress-comments in 2.6 feature would be quite a fix for wordpress which doesnt even have an edit feature for commenteers. I like how things have gone so far. But seriously – SPEED, SPEED, SPEED.
I am definately no coder just an annoying end-user. But it is simply not decent for such a relatively simple set of functionalities to be so slow as it appears to me. I simply cannot annoy forum members with such page loads and also making wordpress load slower with bbpress installed.
What is a boy to do if he really would like to use bbpress ?
Thanks for anything.
I have a client who wants a forum where tutors can discuss things amongst themselves. They want to create a topic where they can add information for their tutors. They don’t want anyone to be able to add topics to this.
Can bbpress do this? If so, how?
What do you recommend in this scenario?
Thanks!
‘I have probably checked 100 times if this is ticked’
Thanks, but always worth asking.
‘This is the default bbPress theme. ‘
No I meant the wordpress theme you are using. switch to one such as twenty eleven to see if that makes a difference
This is the default bbPress theme. I just used CSS to change the style of the forum. I commented the CSS part for the bbPress forum out but nothing happened.
Dashboard>settings>forums> forum features have you ticked “Post formatting” to enable this toolbar?
I have probably checked 100 times if this is ticked. 😀
Hello Robin,
I’m missing this toolbar:

it’s not available on my site:

I have the newest versions of WordPress and bbPress and have done this steps to fix this problem but nothing happened:
I have deleted every JavaScript and tested it. Nothing!
I deleted the code of the function.php. Nothing!
I deactivated every plug-in. Nothing!
…and the CSS can’t be the fault because the toolbar is not disabled. It’s not there.
I opened my forum for guests and created a test forum. Now you can take a look on it: http://plusthemes.de/forum/test
Thank you so much for your answer. I try to give as much information as possible. 🙂
That function calls wp_get_current_user() so it might be related to the $current_user global. WordPress’s get_currentuserinfo() function calls wp_set_current_user() which overrides the global with fresh data.
It’s plausible some other plugin is loading the current user too early, or that it’s trying to initialize WordPress more than once via a subsequent call to $wp->init().
It’s unlikely that bbPress is directly causing this, as bbPress doesn’t do any of the above things on its own. It does however reference currently logged in user data quite liberally using WordPress’s built in API functions, so it’s not entirely impossible.
Keep us posted, and we’ll try to help out where we can.
Yes, my site is on Godaddy. I called them and apparently one of the other pluggins I had installed wasn’t getting along with bbPress. Unfortunately I don’t know which one… Now the forum is working… except… when I search for something if turns a completely blank page. The same happens when I click on the author. Any ideas what might cause this?
You are right. Having the same requirement, I was facing the same issue (and you will discover very soon that it is not the only one !).
As far as I understand, the integration between bbPress and BuddyPress is not fully completed. In bbPress, the user capabilities based on their role in the forums are only mapped to WP capabilities. (see for example the function bbp_current_user_can_publish_replies() or bbp_current_user_can_access_create_reply_form() (invoqued in the form-reply.php part of the bbPress theme) in bbpress/includes/users/template.php .
My way to overcome this issue is to add my own filter on the ‘bbp_current_user_can_publish_replies’ filter and to check in this function if the current_user is a member of the group associated with the root_forum (the one associated with the group) of the topic currently displayed.
below my function:
function my_bbp_current_user_can_publish_replies($input)
{
$topic_id = bbp_topic_id();
$root_forum = alsb_get_post_root_forum($topic_id);
$groups_id = bbp_get_forum_group_ids($root_forum);
$user_id = get_current_user_id();
if (groups_is_user_admin( $user_id, $groups_id[0])
|| groups_is_user_mod ($user_id, $groups_id[0])
|| groups_is_user_member ($user_id, $groups_id[0]) )
return true;
else return false;
}
whith the help function
function alsb_get_post_root_forum($post_id)
{
$post = get_post($post_id);
do
{
$post = get_post($post->post_parent);
}while ($post->post_parent != 0);
return $post->ID;
}
another way is perhaps to setup a filter on the ‘user_has_cap’ WP filter, but I did not test it.
good luck for your integration !
Ok, so this theme has an upmarket homepage.
Since this is a paid theme, with paid support, I’d suggest you go to their website for help, they should be familiar with bbPress and know how to get it to work with your theme.
http://themeforest.net/item/sahifa-responsive-wordpress-newsmagazineblog/2819356/support
Hi,
I’m using WP 3.8.1, BbPress 2.5.3 and BuddyPress 1.9.1.
In this integration between bbPress and BuddyPress, in the function bbp_format_buddypress_notifications() located in the file bbpress/includes/extend/buddypress/notifications.php, it seems that this function break the filter chain for the filter ‘bp_notifications_get_notifications_for_user’, by returning no value if the action is not catched (not being ‘bbp_new_reply’).
It would be great to add at the end of the function : else return $action;
This will prevent the apply_filters_ref_array function in wp-includes/plugin.php to unset the first variable (the $action parameter).
Hey Folks,
we got a forum on our site http://www.jims-bergwerk.de
For admins the forum is accessable but when a normal user ( subscriber ) wants to access the forum, they are redirected with the following error:
That page can’t be found.
It looks like nothing was found at this location. Maybe try one of the links below or a search?
Is this a setup-problem or a problem with bbpress and the installed plugins?
Ok, I think you’ve done everything right, so suspect it is the theme and bbpress not working together correctly. The solution will probably be very easy, but as I don’t have access to that theme I cannot really help further.
Given that you have a paid theme and are on wp-engine I’d use both these routes to get detailed support.
Firstly I’d go to the theme support site
http://themeforest.net/item/brooklyn-creative-one-page-multipurpose-theme/6221179/support
and if that fails then if needed to wp-engine, who have both experts and access to your site
Hi guys,
I’ve added a page ‘/forum’ with the bbpress shortcode. When i visit this page with ‘Forum’, I get this:

This is what i’ve created (with the login widget)
However, when I visit the page by clicking the ‘forum’ text in the breadcrumb, shit I got this page without the login widget:

This is my forum setup:

How do I make sure that the breadcrumb ‘forum’ goes to the page with the login widget?
Thank you!
Jason
This is the way this feature is currently designed. Hierarchical pagination is quite challenging to tackle; WordPress provides some help with this, but it wasn’t built into our first pass, and no work has gone into improving it since.
I have never seen any response from the devs/leaders of the bbpress team themselves, seems only volunteers
I have a few thousand replies that hopefully help prove otherwise, and sorry that your experience so far hasn’t lived up to that. Know that there’s a staff of about 12 of us that volunteer our time to both develop the software, write the documentation, and moderate the forums, and though we don’t hit every topic, we try to help out where we can.
The bbp_kses_allowed_tags() function ensures that cite attribute of the blockquote tag is allowed, but not the actual cite tag itself.
Users with the Keymaster role are allowed to bypass these rules, and can post literally anything they want, completely unrestricted.
Two solutions:
- The “quote” plugin you’re using needs an update to not use
cite tags
- bbPress needs to allow
cite tags
Here’s a minor issue I am hoping someone can help me with:
When my forum “Participants” reply to someone in a discussion, you can see the <cite> tags in the quote box. This does not happen when I create a post as the “Keymaster.”
tag issue” />
Is this a bbPress issue or a problem with my theme?
Yes I understand, I would prefer to use threaded replies with pagination too but just now we can’t… 500 replies on a single page is not possible…
but I continue to think it was done in purpose looking at the bbpress codex:
https://codex.bbpress.org/forum-settings/
Reply Threading
This will allow your users to reply to specific replies, providing context to the discussion in a ‘threaded’ view. This will also remove topic pagination so the topic and all replies will only be a single page.
Let’s just hope someone will see our post and help us… :/
Wondering what others do about printing threads. I’m fine just reading the screen, but others might want hardcopy. Is there a way to print the thread easily? I’ve looked at the Print Friendly Plugin, but it’s not integrated with forum software like bbPress so I’ve been told. I could recommend a Print Preview of the forum thread, but thought there would be something akin to the plugin I mentioned which works great on pages.
Thanks in advance for your help.