WP 4.1.1
bbPress 2.5.6
My forums are marked as Private. My members have the forum role of Participant. They can see the private forums, but are unable to see the underlying topics. The counts are there, but when the forum is opened, they receive the message “Oh bother! No topics were found here!”.
Using the plugin “bbPress Advanced Capabilities”, I see the following.
View private forums : Allow
View private topics : Denied
View private replies : Denied
So I use the above plugin to change the Denied to Allow for a particular user. It has no effect. I have also done the repair to remap everyone to the default, which is Participant. The private topics are also not appearing in the Twenty Fourteen theme.
Why is this happening if private forums are supposed to be available to logged in members? How can I correct this for my 3,000 members? We just migrated all the users into the database, so is there some other flag we need to set for everyone?
@gptxffa
this might be a bug in bbPress then , i will create a trac ticket after im done verfiying that their is an issue.
you can add the bbpress post type to the default wordpress search.
copy this into your child theme functions.php or a functionality plugin
/**
* Include bbPress 'topic' custom post type in WordPress' search results
*/
function ntwb_bbp_topic_cpt_search( $topic_search ) {
$topic_search['exclude_from_search'] = false;
return $topic_search;
}
add_filter( 'bbp_register_topic_post_type', 'ntwb_bbp_topic_cpt_search' );
/**
* Include bbPress 'reply' custom post type in WordPress' search results
*/
function ntwb_bbp_reply_cpt_search( $reply_search ) {
$reply_search['exclude_from_search'] = false;
return $reply_search;
}
add_filter( 'bbp_register_reply_post_type', 'ntwb_bbp_reply_cpt_search' );
function ntwb_bbp_forum_cpt_search( $forum_search ) {
$forum_search['exclude_from_search'] = false;
return $forum_search;
}
add_filter( 'bbp_register_forum_post_type', 'ntwb_bbp_forum_cpt_search' );
are you trying to hook a function/apply a filter to the content area of a bbPress post types??
troubleshoot the problem using what is explained in this link in general issues.
Before Posting
@andrew55
bbPress should do this now by default like this site has it.
Just installed bbPress for the first time and set up a few test forums. On the forums list page the page title (which is named Forums) links to the last created forum. How can I make it so the page title is not a link?
well i dont see your site using bbPress anymore, but i dont know why it would cause such a problem.
Usually when you see blocked it would be from some kind of security feature added to your site.
there is this.
https://wordpress.org/plugins/bbpress-like-button/
there is also a bunch of other like/voting plugins that you could use for bbPress.
@wuichy
did you manually place the loop-forums.php into a folder called bbpress in your child theme??
you would have to do it manually.
Hi all,
I have slowly developed my own theme for bbPress + WordPress, and it has been a sharp learning curve trying to get my head around the code for WordPress. Anyway, I am having an issue where I can drill down into a topic, however, no posts are ever displayed. The only thing that is displayed on screen is the “Add new Reply” GUI.
I am essentially wondering, why is this happening, and how can I fix it? I have tried to replicate the same problem on the default wordpress themes and they work fine, so – what have I managed to do with my theme that has broken everything?
Any help would be appreciated,
2) – Pay Per Thread
You can use plugin below –
Premium Topics in bbPress with Bitcoin Payments (with membership expiry time in 1 hour) –
https://wordpress.org/plugins/gourl-bbpress-premium-membership-bitcoin-payments/
Hi all,
since bbpress version 2.5.6 “notification & subscription email sending” was improved.
Since then I always get an email error on noreply@domain.com.
The notifications to other users are still sent, but how can I stop the error.
The only idea I have is to define the email noreply@domain.com on my server…
Any other solutions…?
Thanks
Matthias
Hello! First time poster here!
I’m new to everything site/coding/wordpress related, and I had an issue with the display of my forum. There seems to be a wide margin between the forum and the side menu.

I’ve attempted to set my width to 100%, but either I’ve done it incorrectly, or that’s not the issue. Also attempting to change any margin-left or margin-right settings don’t solve the problem. Is this a theme issue, or am I incorrectly writing my width settings?
I’m using Twenty-Fourteen, wordpress 4.1.1, and bbpress 2.5.6. My website is novicechess.com
All help and feedback appreciated!
Does anyone else have BBPress installed on a subdomain of a multisite I can view, please? I need to see that this issue isn’t only affecting me.
Hi Robin,
“having it exist as /mysite.com/forum”
would be the perfect solution for me, since my standalone bbpress is already at /mysite.com/forum/, and my wordpress blog is at /mysite.com/blog/ (they are both in production).
Would your solution work in my case?
Where exactly should I add the shortcode [bbp-forum-index]?
Thank you very much!
great, putting it in the template is equally fine, BUT make sure you put that template into a child theme, else plugin and theme updates will destroy it.
Functions files and child themes – explained !
ok, the function that is being called is ‘suffusion_bbpress_content_class’ which tells us that this is a function created by the theme suffusion. bbpress functions start ‘bbp_’.
You have put (intentionally or not) a file into your child them called
‘wp-content/themes/suffusionchild/single-forum.php’
which is an amendment of bbpress’s single-forum.php.
After googling I found this post which seems to describe your issue and the resolution, which is to remove the bbpress files from your child theme.
http://aquoid.com/forum/viewtopic.php?f=4&t=31657
Evening all.
I get the following error trying to open any of our seven forums:
Fatal error: Call to undefined function suffusion_bbpress_content_class() in /nfs/c06/h06/mnt/154861/domains/athensown.biz/html/wp-content/themes/suffusionchild/single-forum.php on line 18
http://athensown.biz/community-forum/
wp version 4.1.1
bbPress version 2.5.6
Current Theme is SuffusionChild
So far, I deactivated all plugins except bbPress. No change
I deactivated and reactivated bbPress. No change
I reactivated all remaining plugins. No change
Bundled themes or not is still greek to me. I think the SuffusionChild is the only theme on the site.
Issue unchanged with twentythirteen, twentyfourteen, twentyfifteen, or suffusion. Well, now, I take that back, in previewing suffusion, I am able to open all the forums as long as I do it on the same tab. I get the error if I open a link in a new tab
Thanks,
Constantine
Hey Guys,
i have just completed this functionlaity for my site. i wanted to use a jquery chosen as opposed to a text input so in my themes functions.php file i added the following:
function restrict_topic_tags( $terms, $topic_id, $reply_id ) {
$terms = bbp_get_topic_tag_names( $topic_id );
foreach ($_POST['bbp_topic_tags'] as $topicTags){
$terms .= ', '.esc_attr( strip_tags( $topicTags ) );
}
return $terms;
}
add_filter( 'bbp_new_reply_pre_set_terms', 'restrict_topic_tags' );
function displayTagElements($selectedTags){
$html = array();
$tags = get_categories( array('hide_empty'=> 0,'taxonomy' => 'topic-tag'));
$selectedTags = explode(', ', $selectedTags);
//die(var_dump($selectedTags));
$html[] = '<select class="chzn-select" multiple="multiple" name="bbp_topic_tags[]" id="bbp_topic_tags">';
foreach($tags as $tag){
$selected = '';
if (in_array($tag->name, $selectedTags)) {
$selected = 'selected="selected"';
}
$html[] = '<option '.$selected.' value="'.$tag->slug.'">'.$tag->name.'</option>';
}
$html[] = '</select>';
return implode('',$html);
}
then in my bbpress custom theme files (form-reply.php, any others that had the reply form. I’m sure there is more than one i haven’t fully checked yet) i added the following code at line 75
<p>
<label for="bbp_topic_tags"><?php _e( 'Tags:', 'bbpress' ); ?></label><br />
<?php echo displayTagElements(bbp_get_form_topic_tags()); ?>
</p>
Wow – thanks for taking the time to create this. Much appreciated. I’m a realist, not so much of a purist!
Unfortunately, I am getting this error in the profile area of all topics and replies:
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'andrew55_insert_field ' not found or invalid function name in /home/mysite/wp-includes/plugin.php on line 496
I tried function with both “bbp buddypress profile information” and “bbp profile information” installed.
Another idea – instead of pestering for help with advanced php functions, what about just throwing the snippet I have in a template file in my child theme?
I’ve been looking, but I can’t find the correct template file that controls the “user profile area” for the topics and replies when viewing a single topic. Any suggestions on where I might find this file so I can give it a try? It seems like it would be loop-single-topic.php, but that is for the view for all the topics together.
I’m still new to bbPress and am finding it tricky to learn my way around the files – but I’m getting there!
Thanks for any suggestions.
ok assuming it works it just needs wrapping into a function, and then adding to the action so :
<?php
Function andrew55_insert_field () {
require_once '/home/site/public_html/amember/library/Am/Lite.php';
if (Am_Lite::getInstance()->haveSubscriptions(2))
{
?>
<p>custom text 1</p>
<?php
}
else {
if (Am_Lite::getInstance()->isLoggedIn())
{
?>
<p>custom text 2</p>
<?php
}
else {
?>
<p>custom text 3</p>
<?php
}
}
}
which could be shortened to
Function andrew55_insert_field () {
require_once '/home/site/public_html/amember/library/Am/Lite.php';
if (Am_Lite::getInstance()->haveSubscriptions(2)) echo '<p>custom text 1</p>' ;
elseif (Am_Lite::getInstance()->isLoggedIn() ) echo '<p>custom text 2</p>' ;
else echo '<p>custom text 3</p>' ;
}
add_action (‘bbp_theme_after_reply_author_details’, ‘andrew55_insert_field ’) ;
that might upset the purists who seem to love have php statements all over their code, but makes it more readable – apologies if you’re in the purist camp 🙂
You need to put this code into your functions file, so that it is automatically called when the action is executed
Functions files and child themes – explained !
Hey
Soooo i install BBPress in my WordPress but the Problems Comes now : I created a Pag with the Register shorcut the Site Is Normally and Accesable here xtreme-developing.com/register But the Problems Is after someone register his self a page will appear with BLOCKED thats the Problem I disbaled allllll PLugins and I enabled the Default theme but nothing :/
Thanks For you Help
Im German Soooo Sorry for mistakes
Hi, i just installed the plugin, but it doesn’t show any changes! its like i haven’t install anything! Any idea why is this! The bbpress plugin looks the same.