Any update to this? I, too, have a large bbPress forum and I see the following in my error log:
SlowTimer [6357ms] at runtime/ext_mysql: slow query: SELECT SQL_CALC_FOUND_ROWS wp_13_posts.ID FROM wp_13_posts INNER JOIN wp_13_postmeta ON (wp_13_posts.ID = wp_13_postmeta.post_id)\nINNER JOIN wp_13_postmeta AS mt1 ON (wp_13_posts.ID = mt1.post_id) WHERE 1=1 AND wp_13_posts.post_type = 'topic' AND (wp_13_posts.post_status = 'publish' OR wp_13_posts.post_status = 'closed') AND (wp_13_postmeta.meta_key = '_bbp_last_active_time'\nAND (mt1.meta_key = '_bbp_forum_id' AND CAST(mt1.meta_value AS SIGNED) != '133643') ) GROUP BY wp_13_posts.ID ORDER BY wp_13_postmeta.meta_value DESC LIMIT 0, 25
The issue is related to how wp4.0 looks at search and in particular at the ‘s’ parameter submitted to wp-query. wp4.0 does it differently and what didn’t look like a search to previous wp versions now does when sent from bbpress functions.
Hence why your $query->is_search was affected
I had the same problem. After upgrading to WP 4.0 only sticky topics were visible. I tried the patch/plugin “bbpress wp4 fix”. I could now see all topics, but when I clicked on any one of them only the first forum topic would open. The URL was correct, but the wrong topic appeared in the page. I deactivated the plugin and after some more research, found that I had a piece of code in my functions file that interfered with the topics showing. Here is the code that caused the problem:
//exclude from search results
function fb_search_filter($query) {
if ( !$query->is_admin && $query->is_search) {
$query->set('post_type', array('course_unit') ); // id of page or post
}
return $query;
}
add_filter( 'pre_get_posts', 'fb_search_filter' );
I don’t know why this code is a problem, but I no longer needed it. I deleted it and now my forums are working just fine.
@codingmachine
Great that you want to help, and it’s a great way to learn as well.
The easiest way to help is to just monitor the forums page
https://bbpress.org/forums/
and just dive in if you think you can contribute to someone’s issues (or more accurately contribute to solving someone’s issues!).
I’m just a humble helper myself, I have no official connection with bbpress, I am only a moderator because I’m here regularly and this lets me get rid of spam.
This is a community and the more helping others the better š
@ricsca2
bbpress does have a css of its own as yiou found earlier, but tries to use much of the one from the host theme
I am trying to write a bbpress css plugin where you can set areas simply
eg
Header : Colour? size? etc.
but progress I slow whilst I work out what bits of the bbpress.css code do and when
Tell me which parts you are still having trouble with eg breadcrumb and I’ll try and help further
@robin-w With the code you’ve written now the various parts of the forum is bigger.
The problem is that I can not change manualente all parts of the theme.
The theme for bbPress does not have a css because it goes to get the css of wordpress theme right?
As ever with the theme HUEman this does not happen?
Very thanks
It’s the bbPress Add On for Paid Memberships Pro plugin. grrrrr
bbPress is tested with wordpress default themes. It maybe a conflict – you need to check plugins and themes
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.
This is an issue with some themes after wp4.0
Try
bbpress wp4 fix
or
bbpress wp4 fix2
These usually fix it
Today I updated my wordpress from 3.9 to 4.0. Now all the forum’s topics vanished. The forum shows “sorry brother no topics…..”. In my WP Dashboard, the topics are there but when i open its ‘view’ link, the topics are not there except the title of the topic.
Previously, i.e. before wordpress update, everything was fine and I haven’t installed any new plugins
I am using bbpress version 2.5.4
Someone do suggest. the forum is important part of my site.
Figured out all my issues with bbpress :).
The culprit was that I had hidden a default language in WPML, which broke in bbpress quite some things.
1. Dashboard>settings>forums and look for topics/replies per page
2 & 3 Not sure what you are referring to maybe these are buddypress rather than bbpress – otherwise give us url’s to both so we can see which you mean
If I have understood, you would probably need to alter
wp-content/plugins/bbpress/templates/default/bbpress/form-topic.php
copy it to a bbpress directory within the root of your theme and edit it there, and bbpress will use it
probably change line 42/43 to take out the if single forum bit ?
Hi,
Iām having couple of questions. Could you please help me?
1. How do I limit number of posts per one page on BBpress forum before pagination?
2. How do I limit number of members per one page in BB members page?
3. And how do I limit number of groups per one page in BB groups page?
Please advice me.
Without a url or screenshot I can’t really help further – there are several places where bbpress has font sizes eg
#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: 12px;
}
#bbpress-forums .bbp-forums-list li {
font-size: 11px;
}
#bbpress-forums div.bbp-forum-title h3,
#bbpress-forums div.bbp-topic-title h3,
#bbpress-forums div.bbp-reply-title h3 {
font-size: 16px;
}
#bbpress-forums .bbp-forum-info .bbp-forum-content,
#bbpress-forums p.bbp-topic-meta {
font-size: 11px;
}
and lots more
I can only suggest you try some of the above in your custom css BUT put ‘!important’ after the px part to ensure that it is not overwritten eg
#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: 12px !important;
}
Hi
I just finished an import of a former VBulletin install, including 10 forums and over 183000 replies. It took a long while but finally succeeded.
The problem is that the users imported but not associated with the correct topics and replies. In other words they are all out of sync…the wrong user with the wrong replies.
Is there a way to fix this? I have run all the repair features. But still it is not correct.
Thanks for any help.
Wordpress 4.0
BBpress Version 2.5.4
imported from VBulletin 4
Chris
Hi,
I’ve installed bbPress for WordPress in faisa.eii.us.es and it is not showing any forum/category.
It is only showing the main/root forum page, but any forum/category link showed there goes to “no page found”, so anyone can’t navigate to the subforums/subcategories inside, and no one can reach the final forum where the topics are…
Could you help me? Thanks!!
They both have lots of functions that are different for each.
Two directories that deal with their functions
wp-content/plugins/bbpress/includes/replies
wp-content/plugins/bbpress/includes/topics
not as such
There is a POT file
bbpress/languages/bbpress.pot
see
https://codex.wordpress.org/Translating_WordPress
so you could in theory translate bbpress into your words
Hi,
Yes, I have done as well, but my question here now is to find out what is done differently by bbpress that distinguishes a topic from a reply.
Perhaps if I can understand this, I may be able to figure out what I can change in the functions.php etc to solve it for now.
Thanks, A
Is there a file where ALL of the text on bbpress (text that appears to the user) is, where I could just hunt and replace?
OK, my theme is seeing the edit reply page as a ‘reply’ type page, but it sees the edit original post as a ‘topic’ page…
How to tell the theme that when editing a topic/rely/edit page that it is a ‘topic’ type page?
Or is this something that can be done in the bbpress settings?
Cheers, Andrew
Hi all,
i’m totally not an IT guy, so i don’t know anything about coding. I learn to build website with WP by learning from internet.
this is my first time i use BBpress to build a forum website.
this is my web: http://www.buangstres.gratis/
i use WP version 4.0
i use theme Skeleton: http://themes.simplethemes.com/skeleton/
i use these plugins:
– akismet
– easy WP smtp
– simple local avatars
– simple shortcodes (reccomendation fro the theme)
– WP-members
– WP-pagenavi (reccomendation from theme)
i found that all my Child forums having problem: page not found
this is what i’ve already done:
– reset the permalinks
– deactivate all plugin (include bbpress), activate only bbpress
all isn’t working
need the solution desperately… anyone can help me? it will be a huge appreciation from me
these anti-spammer and security plugins look interesting too, but i have not tested them myself, they should work fine with bbpress but always test carefully for possible confilicts with other plugins you are using, especially plugins that have similar functionality
https://wordpress.org/plugins/avh-first-defense-against-spam/
and wordpress security is a bigger topic than just dealing with spammers, but sorting out the specifics is up to you š
https://codex.wordpress.org/Hardening_WordPress
http://premium.wpmudev.org/blog/keeping-wordpress-secure-the-ultimate-guide/
https://wordpress.org/plugins/bulletproof-security/
https://wordpress.org/plugins/tags/security
https://wordpress.org/plugins/tags/wordpress-security
sam