I thought I followed the codex instructions pretty clearly, but this add_filter in my functions.php file is resulting in a 502 error and… I have no clue why!
Sorry, bbpress newbie here… any help that anyone can offer would be awesome.
Thanks in advance,
-Dave
PS Here’s the code I popped in my functions.php file:
function cxr_subforum_filter() {
bbp_list_forums(array (
‘before’ => ‘<tr>’,
‘after’ => ‘</tr>’,
‘link_before’ => ‘<td>’,
‘link_after’ => ‘</td>’,
‘separator’ => ‘<br>’,
));
}
add_filter( ‘bbp_before_list_forums_parse_args’, ‘cxr_subforum_filter’ );
or is this not a support forum for BBpress users
yes this is, but you misunderstand how open source software works
People write open source software in their own time and offer it for free. Under the open software foundation the software is offered without any warranty or support. You use it if you like and not if you don’t. It is perhaps a bit much to expect software authors to answer every question someone might have about that software, or indeed having offered that software to the world for free, that they should invest any time to this unless they wish to.
If someone gave you a car for free, would you complain because they don’t come and service it for you?
I am not a bbpress author, I’m just a guy who uses this software, and in turn spends some of my time in trying to help others.
I have seen your questions, and there are many reasons why it might not work.
The most obvious are in https://bbpress.org/forums/topic/before-posting/ and in particular the troubleshooting section on plugins and themes will probably get you to a root cause.
Once you have worked through those, do come back.
@robin-w,
The theme developers say they don’t support the theme’s use with bbPress.
If you can help, I would sincerely appreciate it. Thank you.
Is it a reason why my two previous topics have been overlooked and unanswered? Are you not familiar with the question or is this not a support forum for BBpress users?
I am having issues with BBpress search bar. It is showing results for my entire site, as opposed, to just forum material. Please advise if you are able. Thank you
I am using BBpress 2.5.14, WordPress 4.9.1 and here is a link to my site. throughunity.org
@robin-w,
I have created a support ticket and will keep you in touch. Would a zip of the main template files on the root of the theme help? If so, I can post a link here for you to have a look at them.
@veppa,
I tried the bbPress WP tweak plugin but as per the customisation in the first post, the admin widget appeared, I added a text widget with some dummy text, but the sidebar on the user side did not.
Your feedback would be appreciated.
Hello,
My search box is searching the entire website and not just the forums, topics, etc. I also was looking for a geo-specific search for bbpress. The one I found is outdated and nonworking. Could you help? I am in strong belief that it was my theme, but when tested on another theme, but search box wouldn’t even allow me to click into it. Please advise. I have the service provider theme.
You can try “bbPress WP tweaks” https://wordpress.org/plugins/bbpress-wp-tweaks/ plugin for adding forum sidebar. There you can select which wrapper to use for bbPress and which sidebar of your theme replace with bbpress sidebar. Try different wrappers to find one with sidebar because some themes do not have sidebar on page.php, which is in most cases default wrapper for bbpress.
Hello, you can use bbPress wp Tweaks plugin for adding forum sidebar to your wordpress. Try different wrappers and add some widgets to bbpress sidebar to make it work. Plugin can be found on wordpress https://wordpress.org/plugins/bbpress-wp-tweaks/
Hello! On the forum i am trying to build it appears that Participants can only reply to a message and not edit their own messages, unless its a fresh reply and during the first minutes and in that case the edit link appears. But when the participant comes back on the forum after a longer period, only the “Reply” link appears, even on its own message.
On my previous question on your forum (https://bbpress.org/forums/topic/404-error-with-edit-on-a-wpml-multilingual-forum/) I experienced the same thing, but is it the normal function or should I see the “Edit” link ?
Is there a way for a participant to edit its own messages regardless of time ?
I just installed wordpress and bbpress. I’ve been able to setup the forums, add users, and everything looks like it’s working fine except for two things. When I click on a user profile I get sent to a not found page. This same thing also happens when I try to edit a post. Can anyone provide guidance on what could be causing this problem? I’ve tried multiple different themes to see if it was an issue with the one I had chosen.
I installed this on a raspberry pi. It used a mariaDB on the backend and I believe php7
sidebars are a nightmare since theme developers went away from the wordpress tradition of having standard files for each page type.
Many now just have a page.php file, which frequently calls functions and stops any easy solution to the problem of getting a bbpress sidebar.
So let’s start with what theme are you using?
I am trying to copy my bbPress forum with all content to my test site using WP export import.
The forum content is not visible on the new site!
I have tried the repair tools included i bbPress, with no success.
Looking at the admin/topic page i can see all the posts and under subject “Forum” it says “(no forum)”
When I edit a post by selecting a forum, that post shows up.
Now how do I make a mass edit of the field forum ???
In admin/answers it shows the number of answers but no answers are listed.
regards
John Eistrøm
@elhardoum
Hi thanks your code works well..
Only the second part of code you added for returning exerpt isnt working for me.
I was using the bbpress topics for posts plugin only it is quuite old now and causes conflicts.
I would like to return in the new topics the post exerpt + a link back to the original post like this [See the full post at: post-title]
Would appreciate your help.
(:
ok, you’ll need to amend wp-content/plugins/bbpress/templates/default/bbpress/form-user-register.php
so
create a directory on your theme called ‘bbpress’
ie wp-content/themes/%your-theme-name%/bbpress
where %your-theme-name% is the name of your theme
find
wp-content/plugins/bbpress/templates/default/bbpress/form-user-register.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/themes/%your-theme-name%/bbpress/form-user-register.php
bbPress will now use this template instead of the original
and you can amend this
Could be usesful for some…
Creating Content
Hi John, thanks for the hint. I switched the WPML system to use subdomains system with http://fr.mysite/forum/ for the french version, and it seems to work better with bbPress.
Hi there,
WP: 4.8.2
BBP: 2.5.14
After digging into lots of pages, I finally found an old topic here that describes the same problem I have. As it’s an ancient topic, I started a new one.
For topics with more than 1000 replies, when posting new replies, bbpress does not add the page number to the reply permalink. I did as the user Matrixd said here(of course for new versions of bbpress with different paths):
Hello again, finally after John’s helpful tip, I was able to fix the issue. I found where BBpress does the number formatting and disabled it. In wp-content/plugins/bbpress/bbp-includes/bbp-common-functions.php I changed this line:
function bbp_number_format( $number = 0, $decimals = false, $dec_point = '.', $thousands_sep = ',' ) {
to:
function bbp_number_format( $number = 0, $decimals = false, $dec_point = '.', $thousands_sep = '' ) {
This removes the comma from the thousands separator. Now all topics pages appear correctly. Thanks!
And the problem solved!
But this is a core hack, I want it as an additional function without touching core files.
Did a new install of bbPress and when using the built in Forum Wide Search, when a user clicks “Search” it just brings our WordPress site’s homepage.
I read on a forum that having spaces in the Single Forum Slug for Search under settings can cause this issue, but the slug used is just the word “search” so that’s not the issue.
Anyone else having this problem?
I’m fairly new to WordPress so I’m not sure how to troubleshoot the search. Can anyone help?
Wordpress 4.9.1
bbPress 2.5.14-6684
Bunch – Forums
It looks like a conflict is causing the WPML language parameter to be added before bbPress adds its /edit/ endpoint.
I suppose it’s possible inside bbPress to try and handle that differently, but I’m reluctant to make it too fancy since it might break something else.
Without really looking, my guess is that WPML should filter the permalink at a later priority (as late as possible) so that all other filters have a chance to hook in normally first.
Hi there,
I tried to create a WPML multilingual which is going great so far with the bbPress Multilingual plugin. It is in English & French, the English works well (default language) but on the French side of the forum a user can not edit its own post.
The English link to edit the post is: http://mysite/forum/reply/2478/edit/
the French: http://mysite/forum/reply/2479/?lang=fr/edit/
The french one forwards to a 404 error page, but what is weird is that replying to a post contains also the “?lang=fr” parameter and it works fine.
Do you have any idea how to make the “Edit | Close | Stick | Merge | Trash | Spam | Reply” toolbar to work with different languages ?
Wordpress 4.9.1
BBPress 2.5.14
wildlifephotographyafrica.com
I have a BBPress login/register widget on my site. People can sign up to receive my blog.
I would like to change the text that appears on the sign-up page so that it is a bit more personal.
How can I do this?
I’d do two checks
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
Thanks, @robin-w.
I’ve upgraded to WP 4.9.1.
Tried disabling all plugins outside of BBPress AND switching to the Twenty Seventeen theme, still no effect.
And just to be clear, here’s what I’m looking at:
