ok,
firstly if you just create a page for your forum and use the shortcode
[bbp-single-forum id=$forum_id] – Display a single forums topics. eg. [bbp-single-forum id=32]
then just that forum will be displayed.
to change the breadcrumb display – see
Layout and functionality – Examples you can use
ok thanks for that
I’m just a humble bbpress user who’s written some plugins.
I’m working on one now that adds some styling changes (the common ones asked for)
I read somwehere (or was it for BuddyPress, but it is the same logic), that you avoid new options and functions in core to reduce support. It is OK and understandable.
I this sentence i said you can do much with only CSS and styling. To “sell” bbPress to WP beginners.
It is very behind other forum software right now.
WordPress has its own “demo” websites, all those nice and fancy themes around web. BbPress has it not.
Hey guys. On bbpress when someone posts a topic, I want to change the Author, Post, Favorite, and Subscribe colors that are above the post they make, to black. I don’t want to change the yellow background, but the text color itself. The Author, Post, Favorite, and Subscribe text color is yellow right now so you can’t see the text.
Also, if you can. On the topics page where it shows all the posted topics on the forum, the freshness color of the topics in yellow. The Topic, Voices, Posts, and Freshness text color is black, but the freshness text below (for example, 1 day, 20 hours ago) is yellow. I’d like to change that to black also.
If anybody can help that’d be awesome. Thank you friends!
try
https://wordpress.org/plugins/bbp-private-groups/
This should stop bbpress forum entries displaying when they shouldn’t.
Hi,
I have latest version of BBpress, Buddypress and Tapatalk running.
All seems to be working fine. But…
I use the Buddypress groups to limit users access to certain forums. This works OK with the Web Ui.
If you are not a member, buddypress shows that you can ask access….
Only problem I am facing is: tapatalk does not respect all these settings, It is able to post and retrieve forum posts, even if the users are not members of the groups.
Doesn’t matter if I make the forum hidden or private.
I hope I am on the rigjt place. Perhaps I should post this in the Buddypress support part …
Thx
First, for a whole week now I am collecting, testing, verifiyng snippets around the web, most from this forum, and make my own collection. To have it all on one place on localhost. Stop making it, it never ends. 🙂 bbPress is so, so, so manageable and easy to add all functions other forum software have.
Second, you won hearts of coders and developers. What about WP/bbPress beginners ?
As you already lose your time coding make some new theme for this support forum. To make it as demo for bbPress, to make it shine and stick out.
There is a reason why WP holds so much of web, and bbPress is not in this league.
Dont get me wrong, I read your topic about complicating things and rised support with new functions/options. I am talking about plain old CSS2/CSS3. No database queries, and you “sell” your product/code.
So, thanks and apologies if I offended someone.

I make a forum and then i make another forum parented to the first forum, on the webpage the sub forum is shown under the forum with smaller font(shown on the image), but i don’t want that because i will have tons of subforums under that parent, tho it should only be shown when i click on the parent forum. Any idea?
I know nothing about visual composer, but a quick google produces
http://codecanyon.net/item/bbpress-shortcodes-for-visual-composer/9073637
which suggests that standard shortcodes don’t work?
my plugin
bbp additional shortcodes
has a code
[display-forum-index forum= ‘2932, 2921′ breadcrumb=’no’ search=’no’] Displays the selected forum indexes
which lets you organise the order of forums
Hi Robin,
The full error is this:
Parse error: syntax error, unexpected ‘only’ (T_STRING), expecting ‘,’ or ‘;’ in …./blog/wp-content/themes/virtue_premium/bbpress/loop-replies.php on line 54
<?php // if user is not logged in and is the first reply
if( !is_user_logged_in() && $rep_position =2 ) {
echo “Replies only viewable for logged in users”;
}
// if user is not logged in and is after the forst reply, then don’t do naything
elseif( !is_user_logged_in() && $rep_position >2 ) {
}
//otherwise carry on as usual
else bbp_get_template_part( ‘loop’, ‘single-reply’ ); ?>
I am creating a page using visual composer and making it have tabs. One of those tabs is forum, and when I embed a bbpress shortcode in that tab and publish the page. bbpress breaks our of visual composer and takes over the whole page. Any idea for why this is happening?
Very interesting and I’m looking forward to the continual development of bbPress. I’m refreshing a sports website and will be implementing a forum plugin. Probably bbPress.
How do I change the posts to replies like the bbPress forum?
When you already use so much time and energy dont try to imitate Facebook. It is not worth it, and all this time can be used for something very unique for bbPress.
This seem to works. Or seems to work, I never know difference.
add_filter('bbp_before_get_reply_author_role_parse_args', 'ntwb_bbpress_reply_css_role' );
function ntwb_bbpress_reply_css_role() {
$role = strtolower( bbp_get_user_display_role( bbp_get_reply_author_id( $reply_id ) ) );
$args['class'] = 'bbp-author-role bbp-author-role-' . $role;
$args['before'] = '';
$args['after'] = '';
return $args;
}
add_filter('bbp_before_get_topic_author_role_parse_args', 'ntwb_bbpress_topic_css_role' );
function ntwb_bbpress_topic_css_role() {
$role = strtolower( bbp_get_user_display_role( bbp_get_topic_author_id( $topic_id ) ) );
$args['class'] = 'bbp-author-role bbp-author-role-' . $role;
$args['before'] = '';
$args['after'] = '';
return $args;
}
I thought I can do it with a filter in functions.php.
unfortunately not that easy if you don’t want to show the replies, as the loop-replies file has no easy filter to hook to !
yes you can put this in your main theme, just be aware itr will get overwritten by any theme update, so keep a good note of what you did, so you can do it again if needed.
create a directory on your theme called ‘bbpress’
ie wp-content/%your-theme-name%/bbpress
find
wp-content/plugins/bbpress/templates/default/bbpress/loop-replies.php
Make a copy of this file, and put in in the directory called bbpress that you created above, so you end up with
wp-content/%your-theme-name%/bbpress/loop-replies.php
bbPress will now use this template instead of the original
so that gets the right file
I wish I had time to write a solution for you for free, but I’m tied up in other work.
but basically you want to look at lines
<?php while ( bbp_replies() ) : bbp_the_reply(); ?>
<?php bbp_get_template_part( 'loop', 'single-reply' ); ?>
You want to stop it getting the template loop-single-reply if it is after pos 1, so something like
<?php while ( bbp_replies() ) : bbp_the_reply(); ?>
<?php // if user is not logged in and is the first reply
if( !is_user_logged_in() && $rep_position =2 ) {
echo "Replies only viewable for logged in users";
}
// if user is not logged in and is after the forst reply, then don't do naything
elseif( !is_user_logged_in() && $rep_position >2 ) {
}
//otherwise carry on as usual
else bbp_get_template_part( 'loop', 'single-reply' ); ?>
I thought I can do it with a filter in functions.php.
Don’t want to setup a child theme for this.
Is it possible to do it with just adding a additonal bbpress file to my theme?
My php-code knowledge is just search, copy and paste 😉
Thanks
Matthias
The you’ll need to add it into a function and add it to two actions
‘bbp_theme_before_reply_content’
and
‘bbp_theme_after_reply_content’
so for example
Function agbams_share () {
your code in here
}
add_action ('bbp_theme_after_reply_content' , 'agbams_share' ) ;
add_action ('bbp_theme_after_reply_content' , 'agbams_share' ) ;
see
Step by step guide to setting up a bbPress forum – part 4
ok, not sure that bbpress takes multiple paths in the slug – you might have to play a bit to see
it will all depend on the order that the different css files bare loaded, so bbpress may be overwriting your theme ones
try
{
font-size: 13px !important;
}
That says ‘don’t overwrite’
hey guys, im a complete noob to this whole CSS and webdesign stuff and need some help
I am trying to increase the size of the font in the forum titles, (the info, topic, replies and freshness)
i used this piece of css code but it isn’t working
#bbpress-forums ul.bbp-lead-topic,
#bbpress-forums ul.bbp-topics,
#bbpress-forums ul.bbp-forums,
#bbpress-forums ul.bbp-replies,
#bbpress-forums ul.bbp-search-results
{
font-size: 13px;
}
(the theme i am using gives me a built in css sheet to pop any snippets that i may require in there and updates it live without going into the back end)
here is the link to my forum.
http://kamikazenoodle.co.uk/forums/
ok, that isn’t really that helpful.
Presume the error only occurs with the moderation plugin?
If so try their support site
https://wordpress.org/support/plugin/bbpressmoderation
although it looks as though someone has already posted that problem
Hello to all the bbPress Scientists out there.
I am almost mad about to show bbPress User Role on BuddyPress Profile Page. And I am currently using this code, but it is not perfect and correct.
function show_user_role ()
{
global $bp;
$reply_id = bbp_get_reply_id( $reply_id );
$abc_role = bbp_get_user_display_role( bbp_get_reply_author_id( $reply_id ) );
echo '<span class="profile-role ' . $abc_role . '"><i class="fa fa-star"></i> <em>';
echo $abc_role;
echo '</em></span>';
}
add_action( 'bp_before_member_header_meta', 'show_user_role' );
The demo output can be seen on http://www.punjabi.cc/ website by visiting any members profile.
First problem with this code is, it does not show correct name for dynamic roles when user is not logged in.
Second problem, the users who are blocked also tagged ‘Member’ not ‘Blocked’.
Please either correct it or provide me a another perfect piece of code, I will be highly thankful.
Regards,
Laddi