Hi @netweb, @gmmedia,
I have just installed bbPress 2.5.12 and Yoast SEO 4.4 on a completely new WP 4.7.3. I have found the noindex the very first time on the standard /forums page, but after the following steps it seems I do get SEO info and I can fill keywords at forum level in /wp-admin.
- Install bbPress and activate
- Install Yoast SEO and activate
- In /wp-admin/options-reading.php make sure NOT to have the ‘Search Engine Visibility’ ticked
- Run the Yoast SEO configuration wizard from /wp-admin/admin.php?page=wpseo_dashboard#top#general and make sure to mark forums as ‘Visible’.
So at least Yoast SEO works.
If somebody else can do further testing, that would be great.
my permalinks are set to month & name. my .htaccess has only the default WP rewrite rules. I have bbPress 2.5.12, jetpack 4.7, and woocommerce 2.6.14.
When i visit mysite/forums/topic/* I get my topic.
When i visit mysite/forums/user/admin I get the admin profile.
When i visit mysite/forums/user/anyone-else I get the site homepage.
This works wether I am logged in or out. I have no security plugins or cache plugins.
Please: Why is this happening and how do I fix it?
This is a clean install
Wordpress 4.7.3 – BBPress 2.5.12 – Buddypress 2.8.1
I have installed with Twentyseventeen theme and with BeTheme. Everything works fine except I have an problem and was hoping someone could help point me in the right direction to resolve an issue with the breadcrumbs.
When I am viewing the forums here is the breadcrumb string:
Home > Forums > “Forum name” > “Topic name”
That is exactly what I want. However, when I am viewing Buddypress pages, the breadcrumbs are:
Home > Forums > “Username”
I would prefer the breadcrumbs to be as follows:
Home > Members > “Username” when someone is viewing Buddypress pages.
Does anyone know how to achieve this????
Thanks in advance for your help.
Yes. I have a full child theme set up with a functions.php and modified bbpress templates as well.
because bbpress uses the wordpress login, you can’t have two logins on the same domain.
So your best bet would be to say to people
use the ‘world’ login for everyone, but individuals swap to an individual login and only use that once they have been given an individual that is all they use.
I am looking to make my “New Topic” button below follow the pagination, by that I mean if there is only one page and the pagination links don’t exist I want the “New Topic” button to appear all the way to the right. If there is pagination I want it to sit at it’s left most side like my example below. Right now I’m just placing it there in a static position which means on pages with no pagination it’s just floating in space.
Example position:

This is the static code I’m using for the button:
#bbpress-forums .new-topic {
margin-top: -41px;
margin-right: 80px;
float: right;
}
I had to create child theme for Twenty Sixteen. After that, bbPress sidebar went on bottom of the page. What I have to do to get sidebar back to side of the page?
A.Participant
Hello!
When using bbpress and Learndash, it is possible to set a forum to “privat” and link it up to a specific Learndash course. Which is working absolutely fine.
But – as a “participant” who is not enrolled to that specific learndash course, it is possible for me to see all the topics, themes and replies of this forum. I can’t reply to it or create a new topic but still I’m able to read everything.
Although it is set to “private” and linked up to a specific LD course.
Is it possible, that a “participant”, who is not enrolled into a LD course, can’t see any replies, themes or topics of this specific forum?
Best,
Anke
I have an WordPress site where we have one login for many visitors, because not everyone should see the content.
Inside this WordPress installation is also bbpress installation. There we want to have each user separetly logged in with his own username. Because many users will login in the WordPress site, but only a few will use the forum we choosed this way.
Is it possible to get a separate login for bbpress when already logged in WordPress?
Thanks all for your help
that’s not a bbpress page, looks like it might be a version 1 site
Hi,
I have a problem here that I don’t know how to resolve. My page patlas.org/college seems to be under the influence of BBpress. However, it should be no different than patlas.org/career or patlas.org/company. I tried deleting the patlas.org/college page once and recreating it, but it continues to direct me to a BBPress page. I uninstalled BBpress, but that didn’t resolve it either. Any advice?
Best,
Patlas
Unfortunately that is not possible in bbPress and to be honest I have not seen any plugin doing that so far. There are some discussions ongoing concerning bumping and sinking where replies could go higher or lower in the list, but that discussion is still ongoing and not so easy to implement.
If you want to program yourself, I would think about adding the ID of the replies you are hiding to the meta of a user, or adding the ID of the user as a meta of the reply and then based on that display the reply or not.
Pascal.
I think also the “forum info” is a good widget to have in default instalation of bbpress.
I want this also. Maybe a lot of people love this.
Is not possible made a default widget with these information for the next versions of bbpress?
Hi, in the bbpress forum works.
Some way to add this option in bbpress next release?
Hi Dominic,
I think you misunderstood my post. I simply want to reduce the required password length to 8, rather than 10. I have changed this setting in Profile Builder Pro to eight, and that iis actually working ie 8 character passwords are accepted, but this dialogue box is still saying 10, which is confusing for visitors (and me!)
I think this is a BBPress issue, but I can’t find where to change this anywhere! Iv’e searched every CSS file i can find!
Any help would be much appreciated
I have now this code into functions
##Name ändern Participant in User Standard User
function my_custom_roles( $role, $user_id ) {
if( $role == ‘Teilnehmer’ )
return ‘Standard User’;
return $role;
}
add_filter( ‘bbp_get_user_display_role’, ‘my_custom_roles’, 10, 2 );
function my_custom_roles2( $role, $user_id ) {
if( $role == ‘Keymaster’ )
return ‘Michael’;
return $role;
}
add_filter( ‘bbp_get_user_display_role’, ‘my_custom_roles2’, 10, 2 );
function my_custom_roles3( $role, $user_id ) {
if( $role == ‘Zuschauer’ )
return ‘Premium User’;
return $role;
}
add_filter( ‘bbp_get_user_display_role’, ‘my_custom_roles3’, 10, 2 );
So I change only the names. Now I must to have that the spectator has the same capability as the participants. So I have no code for this found, I have change the capability.php in bbpress core. I know it´s not the best way and after a Update I must change it again but it works. I have no other idea. 🙁
follow this link with a description on how to do this
Custom Capabilities
I want to convert my bbpress forum to wordpress type posts. There are older posts about plugins for this but seems like they are not working now.
So… I tried exporting the topics and (separately the) replies using the xml exporter. I did a search and replace on the whole file for types [topics] _topics_ and replaced with [post] and _post_
(well I think they were the replacements as afterwards I tried several others for the replies).
Anyway, this worked when importing the topics as posts into wordpress – I was very happy with that. Then I though it would be great if I could also get the topic replies converted to post comments. I tried several replacement tags (changing reply to comment, comments …) but the only one to get imported was changing [reply] to [post].
It imported but did not add as a thread of comments but each one as a new post “RE: Topic title”.
Is there any way I can use the export/import function to get my topics and replies over to a blog style post with comments?
Or a way of editing the xml file to import correctly and add the replies as comments to the original post?
I was almost there but fell at the last fence.
Andy
Hello,
I need 2 User Names which have the same capabilitys. I have try it with this:
add_filter( ‘bbp_get_dynamic_roles’, ‘ntwb_bbpress_custom_role_names’ );
function ntwb_bbpress_custom_role_names() {
return array(
// Participant
bbp_get_participant_role() => array(
‘name’ => ‘Standard User’,
‘capabilities’ => bbp_get_caps_for_role( bbp_get_participant_role() )
),
// Spectator
bbp_get_spectator_role() => array(
‘name’ => ‘–>Premium User<–‘,
‘capabilities’ => bbp_get_caps_for_role( bbp_get_participant_role() )
)
);
}
Now I can swith between “Standard User” and “Premium User” which is perfect, but he Premium User can not write any reply or other things. So they have not the same capaboility.
Have anybody an idea where the mistake is?
Which Member Plugin works good with WordPress and bbPress? All I try were not good 🙁
OK, I have tried it with this…
add_filter( ‘bbp_get_dynamic_roles’, ‘ntwb_bbpress_custom_role_names’ );
function ntwb_bbpress_custom_role_names() {
return array(
// Participant
bbp_get_participant_role() => array(
‘name’ => ‘Standard User’,
‘capabilities’ => bbp_get_caps_for_role( bbp_get_participant_role() )
),
// Spectator
bbp_get_spectator_role() => array(
‘name’ => ‘–>Premium User<–‘,
‘capabilities’ => bbp_get_caps_for_role( bbp_get_participant_role() )
)
);
}
I can now change every User to a “Standard User” or “Premium User”. That is what I want, BUT with the Premium User I can not write any replies or others. With the Standard User is everything ok.
Where is the mistake???
it may be a conflict ot it could be a theme or plugin issue
Plugins
Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Themes
If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.
Then come back
ok, this code allows participabts to
trash their own replies and
trash their own topics where there have been no replies, once a reply has been posted then they can no longer delete.
it does display slightly weirdly when you delete a topic, but it is the best you are going to get from me.
give it a try and see if you still have the admin problems
/*Customize the BBPress roles to allow Participants to trash topics*/
add_filter( 'bbp_get_caps_for_role', 'ST_add_role_caps_filter', 10, 2 );
function ST_add_role_caps_filter( $caps, $role ){
// Only filter for roles we are interested in!
if( $role == bbp_get_participant_role() ) {
$newcaps = array(
// Primary caps
'spectate' => true,
'participate' => true,
// Forum caps
'read_private_forums' => true,
// Topic caps
'publish_topics' => true,
'edit_topics' => true,
'delete_topics' => true,
'view_trash' => true,
// Reply caps
'publish_replies' => true,
'edit_replies' => true,
'delete_replies' => true,
// Topic tag caps
'assign_topic_tags' => true,
);
return $newcaps;
}
return $caps;
}
add_filter( 'bbp_map_reply_meta_caps', 'ST_tweak_trash_meta_caps', 11, 4 );
add_filter( 'bbp_map_topic_meta_caps', 'ST_tweak_trash_meta_caps', 11, 4 );
function ST_tweak_trash_meta_caps( $caps, $cap, $user_id, $args ){
// apply only to delete_reply and delete_topic
if ( $cap == "delete_reply" || $cap == "delete_topic" ){
// Get the post
$_post = get_post( $args[0] );
if ( !empty( $_post ) ) {
// Get caps for post type object
$post_type = $_post->post_type ;
// Add 'do_not_allow' cap if user is spam or deleted
if ( bbp_is_user_inactive( $user_id ) ) {
$caps[] = 'do_not_allow';
// Moderators can always edit forum content
} elseif ( user_can( $user_id, 'moderate' ) ) {
$caps[] = 'moderate';
// User is particiapte so allow delete
} elseif ( user_can( $user_id, 'participate' ) && ( (int) $user_id === (int) $_post->post_author ) ) {
//allow any reply to be deleted
if ($post_type == bbp_get_reply_post_type()) $caps = array('delete_replies') ;
//only allow topic delete if there are no replies
if ($post_type == bbp_get_topic_post_type()) {
$reply_count = bbp_get_topic_reply_count();
if ( $reply_count == 0) $caps = array('delete_topics') ;
}
// Unknown so do not allow
} else {
$caps[] = 'do_not_allow';
}
}
}
// return the capabilities
return $caps;
}
I have added it for now into my ‘bbP Toolkit’ plugin (v1.0.8) while waiting for https://bbpress.trac.wordpress.org/ticket/3046 to be implemented.
Pascal.