Hey Everyone,
We migrated from Simple:Press today to bbPress and so far all is well after a little cleanup, but now I am noticing that we are experiencing issues with permissions within the roles and capabilities. We have 2 tiers of registered users which are our members and our officers. With this we have 2 seperate categories and forums within them with members only being able to see/edit the members forum and officers being able to see/edit the members forum and the officers forum.
According to here on bbPress, this should be possible as our “members” role would have the “read_private_forums” capability assigned to it and our “officers” role would have that capability as well as the “read_hidden_forums” capability assigned to it. Unfortunately…this is not working properly, our “members” role is not able to view there forum, so in the mean time, I’ve enabled the “read_hidden_forums” capability per and that seems to have “solved” the issue, however now there is no way to restrict access to the officers forum (Which I’ve temporarily deleted until this can be resolved).
Any help/input/ideas would be appreciated. This should work from what I am reading, so not sure why.
Thank you!
—–
Running:
WP v3.9.1
bbPress v2.5.3
You got caught by the Akismet spam filter π
Anyways to answer your question, no, at this stage this cannot be done.
We have a few areas in bbPress we would like to be able to add ‘Bulk Edit’ to in the backend but we need some enhancements to WordPress be implemented upstream first.
Run the ‘Reset Forums’ tool which will delete all bbPress content, forums, topics, replies, settings, everything will be deleted.
Tools -> Forums -> Reset bbPress
It is not helpful, there have been vast changes to bbPress codebase since those posts and will only further confuse things.
Ryan, firstly please stop bumping old topics, create a new topics please.
I would first try running the bbPress repair tools to see if that fixes it (Tools -> Forums)
Here is Robin’s code updated to only show the website if it is not blank:
function user_profile_bbp_website_information() {
//this function adds the website to the profile display menu
$url=bbp_get_displayed_user_field( 'user_url' ) ;
if ( ! empty($url) ) {
$label1 = $rpi_options['item1_label'] ;
echo "<p>" ;
printf ( __( 'Website : ', 'bbpress' ));
$url='<a href="'.$url.'">'.$url.'</a>';
echo $url;
echo"</p>" ;
}
}
add_action ('bbp_template_after_user_profile', 'user_profile_bbp_website_information') ;
To add the location you want to add this, this will add the field to their profile so they can edit and update it, you then just duplicate the code from either Robin’s or mine and replace $url with $location and user_url with location:
function ntwb_user_contact_methods_location( $user_contact ){
/* Add user contact methods */
$user_contact['location'] = __('Location');
return $user_contact;
}
add_filter('user_contactmethods', 'ntwb_user_contact_methods_location');
Add some debug logging to bbp_set_current_user_default_role() to narrow down the cause,(likely with dumping out the call stack.)
You should be able to cowboy code something if you’re able to reproduce the issue with a test user account. If you’re able to come up with explicit instructions on how to duplicate this on an installation that only has bbPress running, I’d love to fix anything that isn’t behaving correctly.
Ran all the repair tools one by one
Tried default theme, deactivating plugins … no result
Do you know how can I delete bbpress with all its settings? So i can install again and try
Now when I uninstall and install again, settings are preserved
It is a new multisite. We do not have any role editing software installed at this time. Here is the list of all plugins/theme we are using:
Theme
InspireBook by rtCamp
Plugins
bbPress
BuddyPress
rtMedia Pro
rtMedia for WordPress, BuddyPress and bbPress
WooDojo
I see two possible ways this *might* fail:
* Multisite & calls to switch_to_blog
* bbp_get_user_role() is returning multiple bbPress roles (either because some third party role editor plugin was used to manipulate things, or there’s some crusty old role data somewhere in there.)
I was able to accomplish this by writing a custom query. I was unable to find a solution ANYWHERE else on this forum despite numerous people asking the same question so I’m hoping this will help everyone out until the bbpress team fixes the bbp_get_template_part functions.
<?php
$args = array(
'post_type' => 'reply',
'post_status' => 'publish',
'orderby' => 'title',
'order' => 'ASC',
'author' => $curauth->ID,
);
$bbpressquery = new WP_Query($args);
while ($bbpressquery->have_posts()) : $bbpressquery->the_post();
?>
<?php the_content(); ?>
<?php endwhile; ?>
Obviously you can modify the code above to show topics created, I was just trying to return all the forum posts created by a user.
Bump. I just copied that function into my functions.php file and it’s still linking to the default bbPress forum user page.
suspect this is 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, switch to a default theme such as twentytwelve, and see if this fixes.
I should have said the ‘bbPress templates’ in your Twenty Eleven theme
<link rel="stylesheet" id="bbp-child-bbpress-css" href="http://www.assorpas.it/wp-content/themes/twentyeleven/css/bbpress.css?ver=2.3.2" type="text/css" media="screen">
I added the bbPress attachments plugin, but does this store images on my domain?
I’d rather users were able to paste their photobucket ‘img’ links – how do I get that to work though?
OK, I am with you now and by the way there is no such thing as a stupid question π
You should see a ‘reply’ link but when I look at your forum you are using WordPress 3.5.1, Twenty Eleven theme, a Twenty Eleven bbPress child theme and bbPress v 2.3.2. You also have other plugins modifying/extending the Twenty Eleven theme.
Why are you using old versions? Many of these modifications will be the primary cause of your issues and upgrading all of these and even a newer theme would fix most of your issues.
That is the first thing I would do, update to WordPress 3.9.1 and bbPress 2.5.3
HI,
I have added the bbPress Login widget to the side column of a /forums page, and set up a register page linked to from this widget at /register with [bbp-register]
Both the login and register functions work okay, but both jump to /wp-admin.php if a user enters the wrong details, e.g. a wrong password or a username already in use.
The question is how to make the forms post to the same page so that the error messages appear neatly on the login form on the /forums page and on the /register page.
Is this possible?
wp version 3.9.1
bbpress version 2.5.3
many thanks
Ian.
Hi Stephen I appreciate a lot your kindness and I’m sorry for my (a little) stupid request.
In this topic you have a the top the pagination of replies, and for every message the possibility to reply (I have highlighted these in the below image).
To have pagination replies with reply button, do I must use bbp_show_lead_topic?
Thank you

No, we use the same version, I think we may have our terminology crossed.
If you want the topic displayed at the top of every page like we do here so that you can still see the original topic when you are page 3 for example you want to use bbp_show_lead_topic
See the following article and add that code to your themes functions.php file.
(I think this is what you are after π )
bbp_show_lead_topic
Then here you use customized version of bbpress.
Am I right?
Thank you again
Hi Stephen Edgar,
sorry again, I’m not lucky with URLs π
Thank you very much, if I disable βThreaded Repliesβ I have pagination.
But I would like to have something similar to this topic https://bbpress.org/forums/topic/user-profile-pages-not-displaying-correctly/
Pagination and reply enableb per post. How is it possibile to enable it?
Best regards

Ha! Lets not hijack this topic any further, I updated my stance (or lack of) here π
‘a big pet peeve of my mine’
and also of mine for exactly the opposite reason !!
Where I want the user to go down a route and not have to backtrack through 10 pages they have subsequently looked at, then your logic is fine, they will go that way.
Where clearly you want them to be able to take a look, but not lose where they are, then a new window is logical.
Finally I dislike the ‘thought police’ making up a standard and then trying to tell us what we should do. I thought the internet was about freedom of expression !
So taking the last sentence I wrote, then I have absolutely no issue with bbpress not coding for new window, but I would π
yes the links are set as white in the display
try adding this to your style.css
#bbpress-forums .reply a {
color : blue !important ;
}
#bbpress-forums .reply a:hover {
color : green !important ;
}
I haven’t tested, but should work, come back if you need more help !
There is actually a patch to add this permanently to bbPress 2.6
https://bbpress.trac.wordpress.org/ticket/2570
Do you think this is a good idea?
Should it be an active hyperlink or plain text? (I just realised my patch is only plain text)
Anyway, for now here is the patch as a plugin https://gist.github.com/ntwb/a19b187f2170235f16bf
(The extra HTML markup should match it to the existing profile fields for most themes)
Note: If this is shipped with bbPress 2.6 you will then see two profile fields π