Yes indeed, it is flexible for any integration. But….but…but…i am so afraid of some plugins and functions in them that other forums scripts (must) have on default.
– Quotes
– Attachments
– Views count
– Unread forums/topics
– Ignore User
– Etc…some more.
I mean, WP support forums for this plugins are like, developer was active like 6 months ago. It they help it is few sentences each month.
I dont complain for this, they do it for free. Just saying it is a danger game.
But, as long you dont update/upgrade bbPress/BuddyPress everything works i guess. There is small risk WP upgrade would ruin something.
If you have done the following:
– disable ALL plugins one by one (not just ones you think could be causing it)
– activated a default theme
– used the repair tools
– re-saved permalinks
And it’s still broken, then the only next thing you can do is create a local installation of bbPress and test the reverse way, test it’s working, add your theme, test it’s working, add one plugin and keep going till it breaks.
Good luck with your site.
ok, you’re stating stuff that I’m finding hard to visualise/understand, and adding further info which again is not clear.
It’s not that you are not trying to explain, it’s just that as I can’t see your site, and issues with themes, plugins, and servers can be many and varied, there’s not a quick ‘do this’ answer.
de-installing and re-installing rarely fixes 🙂
So as I can’t see your site to start with lets eliminate theme and plugins
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 twentytwelve, and see if this fixes.
Come back with the results – If that finds a fault it doesn’t mean you can’t use that theme or that plugin, just that we know where the issue is.
If that doesn’t fix try
Dashboard>settings>permalinks and just click save – you don’t need to change anything – that just re-sets the links and sometimes fixes issues.
If not then also let us know your forums slug dashboard>settings>forums and look for the forums root slug.
Also let us know your permalink setting Dashboard>settings>permalinks
if you get the remove filter working in the other post you could have it ‘removed’ as default and then add a conditional filter
e.g. if users has posted xx topics then {
add_filter( ‘bbp_get_reply_content’, ‘bbp_make_clickable’, 10 );
add_filter( ‘bbp_get_topic_content’, ‘bbp_make_clickable’, 10 );
}
but you’d need to code that yourself as I’m time strapped at the moment
Not quite sure how this would be achieved.
In essence you either create a post or you create a topic.
A post is displayed using your theme’s layout, a forum topic using bbpress’s templates, so essentially they are incompatible unless you add extensive coding to your theme to recognise and display.
If it is not possible can you tell me how to use default taxonomy (categories) with forum? I want to store some topics in these default WordPress category.
Sorry I don’t understand this question – please explain further
Wordpress Version: 4.1
Latest bbpress version
website: http://www.gizmoids.com
I want to show my forum topics as post on my website. Not all, jest some of them which I will choose.
Can I do this with bbpress? how?
If it is not possible can you tell me how to use default taxonomy (categories) with forum? I want to store some topics in these default WordPress category.
Thank You
create a directory on your theme called ‘bbpress’
ie wp-content/%your-theme-name%/bbpress
find
wp-content/plugins/bbpress/templates/default/bbpress/loop-single-forum.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-single-forum.php
bbPress will now use this template instead of the original
Then change line 50 of this file from
<?php bbp_list_forums(); ?>
to
<?php //bbp_list_forums(); ?>
This will, stop it listing sub forums.
Come back if that’s not what you wanted
Having a frustrating time moving from SP. This is what I did and what happened:
Deactivated SP v5.4
Installed bbPress
Ran Tools > Forums > Import Forums
Fill in all DB info
Checked Convert Users
Start
Before, there were about 300 users
3 hours later bbPress was still converting. Something.
I clicked back to the WP Dashboard, waited a moment, went back to Tools > Forums > Import Forums and it appeared done – there was no indication of activity.
Went to Dashboard > Forums > All Forums
All I see are 2 forums, look like bbPress default topics.
Went to Dashboard > Users
Holy! Went from 300 users to 15,871!
So basically, all the import did was an epic bloat of users and absolutely nothing else.
Any idea what I did wrong?
bbpress 2.5.4 with WordPress 4.1
For a non-member of my web site and thus not logged in, they are able to see search results from bbPress from topics that are in forums marked as Private.
To be clear, I have all but one of my forums set as Private. The other one is set to Hidden. When I go to the forum front page I see a message “Oh bother! No forums were found here!”. Using the search bar above the forum (presumably default search) I am able to return results from content that is in the Private groups. The Hidden content is not returned. To make matters worse, not only are the topics from the Private forums returned in the search results, but the actual topic content is returned as well, so it is completely public.
64Bit Windows 7 Enterprise w/SP1
Wordpress 4.1
bbPress 2.54
I have tried as many of the proposed solutions as I could find in this forum, but still no solution. I have deactivated all plugins except bbpress and tried four different Themes, Twenty Twelve, Twenty Thirteen, Twenty Fourteen, and Twenty Fifteen. I also tried changing the default time for the “Disallow after editing” from 5 minutes to 99999 with no success. Even admin with keymaster privileges cannot edit own posts. Are there any other things I can try before giving up on bbPress? Or, is there another Forum plugin I can try that may have better success?
Thanks,
mux
does switching your theme to a default theme like twentytwelve have the same issue.
if it doesnt contact your theme author.
function my_bbp_change_avatar_size($author_avatar, $topic_id, $size) {
$author_avatar = '';
if ($size == 14) {
$size = 50;
}
if ($size == 80) {
$size = 190;
}
$topic_id = bbp_get_topic_id( $topic_id );
if ( !empty( $topic_id ) ) {
if ( !bbp_is_topic_anonymous( $topic_id ) ) {
$author_avatar = get_avatar( bbp_get_topic_author_id( $topic_id ), $size );
} else {
$author_avatar = get_avatar( get_post_meta( $topic_id, '_bbp_anonymous_email', true ), $size );
}
}
return $author_avatar;
}
/* Add priority (default=10) and number of arguments */
add_filter('bbp_get_topic_author_avatar', 'my_bbp_change_avatar_size', 20, 3);
add_filter('bbp_get_reply_author_avatar', 'my_bbp_change_avatar_size', 20, 3);
add_filter('bbp_get_current_user_avatar', 'my_bbp_change_avatar_size', 20, 3);
/* We increased the tiny avatar size, so adjust the position */
#bbpress-forums p.bbp-topic-meta img.avatar, #bbpress-forums ul.bbp-reply-revision-log img.avatar, #bbpress-forums ul.bbp-topic-revision-log img.avatar, #bbpress-forums div.bbp-template-notice img.avatar, #bbpress-forums .widget_display_topics img.avatar, #bbpress-forums .widget_display_replies img.avatar {
margin-bottom: -2px;
}
/* Increase max-width for the big avatars */
#bbpress-forums div.bbp-forum-author img.avatar, #bbpress-forums div.bbp-topic-author img.avatar, #bbpress-forums div.bbp-reply-author img.avatar {
/*margin: 12px auto 0;*/
max-width: 110px;
}
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 think it had something to do with my Woo commerce permalinks- once I changed product permalinks back to default, it seems to be working. However, the forums page is still full-width and I think it has something to do with Woo commerce too.
I think the FRESHNESS field should display the date of the last reply or topic, but instead it only shows the date of the last topic.
This is what it should do (and does on my test site)
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 twentytwelve, and see if this fixes.
I had to create several new users but I could not just copied and paste the code again so I modified the code a bit
//code to add expert role
function add_expert_role( $bbp_roles )
{
/* Add a role called expert */
$bbp_roles['bbp_expert'] = array(
'name' => 'expert',
'capabilities' => custom_capabilities_expert( 'bbp_expert' )
);
return $bbp_roles;
}
add_filter( 'bbp_get_dynamic_roles', 'add_expert_role', 1 );
function expert_role_caps_filter( $caps, $role )
{
/* Only filter for roles we are interested in! */
if( $role == 'bbp_expert' )
$caps = custom_capabilities_expert( $role );
return $caps;
}
add_filter( 'bbp_get_caps_for_role', 'expert_role_caps_filter', 10, 2 );
function custom_capabilities_expert( $role )
{
switch ( $role )
{
/* Capabilities for 'expert' role */
case 'bbp_expert':
return array(
// Primary caps
'spectate' => true,
'participate' => true,
'moderate' => false,
'throttle' => false,
'view_trash' => false,
// Forum caps
'publish_forums' => false,
'edit_forums' => false,
'edit_others_forums' => false,
'delete_forums' => false,
'delete_others_forums' => false,
'read_private_forums' => true,
'read_hidden_forums' => false,
// Topic caps
'publish_topics' => true,
'edit_topics' => true,
'edit_others_topics' => false,
'delete_topics' => false,
'delete_others_topics' => false,
'read_private_topics' => true,
// Reply caps
'publish_replies' => true,
'edit_replies' => true,
'edit_others_replies' => false,
'delete_replies' => false,
'delete_others_replies' => false,
'read_private_replies' => true,
// Topic tag caps
'manage_topic_tags' => false,
'edit_topic_tags' => false,
'delete_topic_tags' => false,
'assign_topic_tags' => true,
);
break;
default :
return $role;
}
}
This creates the role Expert. I put this in my functions.php of my child-theme
ok, thanks for the clarification.
You say that everything is working on the backend – this would suggest that the import is fine, and maybe that something else is affecting.
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 twentytwelve, and see if this fixes.
Then come back !
bbpress works with 4.1 so it not/not only a 4.1 issue
It could be a theme or plugin issue with 4.1
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 twentytwelve, and see if this fixes.
then come back
if you haven’t already copy all of your bbPress templates to a folder called bbpress in your child theme
follow this codex guide.
https://codex.bbpress.org/theme-compatibility/
and also check if its a theme issue , switch to a default theme like twentytwelve and see if the issue is still there or not.
On default theme, all displayed, but if I return to forums page, i se
Fatal error: ob_end_flush() [ref.outcontrol]: Cannot use output buffering in output buffering display handlers in /home/user1178811/www/procentovka.by/wp-includes/functions.php on line 3269
Any luck on this? This is something our forum users are requesting as well, and kind of seems like a no brainer default feature of a forum plugin.
Currently, when user is a “participant” and try to upload an image via the media uploader, this is the error they get “You don’t have permission to attach files to this post.”
Viewing the “participant” permissions via Roles plugin, upload image is checked off, while unfiltered is not. But I can’t alter these settings.
What gives?
Hello, leveltgp
We are translating at Greek bbPress
You are welcome to post here and at WordPress Greece for any problem
Τα λÎμε
WPML Support they neglect the issues.
I think, having WordPress installed “by default” the WPML plugin, bbPress should take this into account and find a solution. Do not you believe it appropriate?
see if its a plugin or theme 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 twentytwelve, and see if this fixes.
see if its a plugin or theme 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 twentytwelve, and see if this fixes.
also clear cache, and lastly you could reinstall bbPress