There are (at least) a couple of tickets on this in the bbPress trac, no. 2722 and no. 2865.
No. 2865 has a patch marked “under consideration”. In case it helps anybody, I’ve wrapped this patch as a plugin for bbPress 2.5.8:
https://wordpress.org/plugins/fix-forum-emails/
This should help to fix problems with HTML entities in notification emails on vanilla bbPress installs. It’s intended as a workaround until the issue gets fixed in bbPress core.
The plugin won’t remove stray HTML / CSS in forum posts. Rogue markup like this can be caused by cut-and-paste operations in TinyMCE, aka the Visual Editor, if you have it enabled in bbPress. If you’re having these problems, we have another free plugin called “Forum Beginner Posts” in the repository. It enables TinyMCE for bbPress in paste-as-text mode by default.
In a word – no !
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 twentyfifteen, and see if this fixes.
Then come back
Hi there
I am using WordPress Version 4.4.2 and BBPress v2.5.8. I am using a magazine theme called Soledad which allows a number of custom sidebars.
After setting the forum root to community (and I removed the shortcode from a page) and seeing that I did not have a sidebar, I created a new bbpress.php in a child theme to enable it.
At first the sidebar was showing as the default one on the main forum index and the individual forums and topics were showing a custom side bar that I had assigned to posts (it shows the author bio)
After I installed BB WP Tweaks, the main forum index page is showing the correct side bar after adding in the widgets into the BBPress sidebar. However, individual forums and topics are still showing the sidebar assigned to post.
Any help much appreciated. I have read the how to page on setting up specific sidebars, but not luck.
Thanks
Laura
OK, started my own topic as I was, obviously, not clear enough for my question. I thought it would have been a simple tweak (for someone who know what they’re doing) of this code but, apparently not.
How to set single default thumbnail for all “topic” content types?
Ciao,
L
I automatically post links to new topics on my social media (Twitter, Facebook, etc.) and the associated image with those topics is either someone’s profile picture or, randomly, some giant picture from the website.
I would like to set a single image as the default thumbnails for all topics. Any idea on how I can do this?
THANKS!
Ciao,
L
Hi there,
I wonder how to replace “Topics” and “Replies” with Post Count.
Here is an example of what I want to do:
http://tamrielfoundry.com/topic/general-tips-for-new-or-returning-players/
As you can see on that forum, it shows “Total Posts”, not “Topics” and “Replies”, which is default in buddypress.
Any help would be greatly appreciated!
Hi,
Is it possible to get the permalink of the forums root without referencing the slug? If the forum root slug is changed in the settings, any reference in the theme to the default ‘forums’ would break.
Thanks,
Marc
I have done some more poking, it does not seem to be a plugin per say.
It seems to be my theme (highend from http://hb-themes.com) When I switch to default theme it works fine.
Anyone out there running highend with this issue/solution?
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 twentyfifteen, and see if this fixes.
Then come back
Hello,
URL: http://yourtechadvisors.com/forums/topic/testing-safe-to-ignore/
For some reason on mobile devices, part of the reply and post text will overlap the bar where the date is. I have tried deactivating all plugins and checking to see that there are no syntax errors in my CSS. Could someone please check my forum to see what is happening?
Here is an image link, as you can see the mobile view looks pretty bad.
https://drive.google.com/file/d/0B_h6oU4LzDtleElpclF5QV9BajA/view?usp=sharing
I cannot switch to the default theme, I do not want to lose any changes, so a CSS fix would be nice if at all possible.
Thanks for your help.
Hi,
1.8 million should not be the issue, as others run without those issues.
Could you import your old topics into your test too so you could play with it ? Did you ever try to switch to a default theme ?
If you are really convinced to delete in production, we can discuss further on that on how to clean.
Pascal.
hello all
I looked for a long time to find a ready template for bbpress but unfortunately I can not find can any one help me because I like to use bbpress as my forum but the default setting it is very poor and I don’t have experience to modify it by my self so please if you know any ready theme or template which can help me I will appreciate your help
and to understand what I mean please check this link (http://www.spyka.net/bbpress-themes/businesslike/) I tried also to use it but unfortunately not success maybe some missing files or because it is very old version I don’t know please help
thank you
@vadim77
I fixed my issue by using the default wordpress search (not bb search widget) and by adding this snippet into my functions.php. This snippet adds the bbpress hook into the default search and works like a charm (adds topics & replies) to search results. This will also make it much easier styling the search results page consistently (forum results vs blog / page results).
Thanks to: @undergroundnetwork for your snippet!
https://bbpress.org/forums/topic/plugin-snippet-hack-to-include-bbpress-topics-in-wordpress-search/
@vadim77
You are correct! When you change the + symbol in between the words to %20, everything works as it’s supposed to.
@Robkk
Considering the change from the + symbol to %20 works, what would our next steps be in order to get this working properly? If we can get the search to return the %20 as the separator, everything should be fine.
I have tried this within the 2015 / 2016 default wordpress themes with the same issue. Plugins running are Ultimate Member, bbpress & WP SMTP
Thank you very much.
Yes, the default theme fixed it. I am using the Make (child) theme.
How can I fix this now?
Thank you!
Thank you. I’m having a little bit of trouble.
I found the original function I need to edit in bbpress/includes/topics/template.php:
function bbp_get_topic_reply_link( $args = array() ) {
// Parse arguments against default values
$r = bbp_parse_args( $args, array(
'id' => 0,
'link_before' => '',
'link_after' => '',
'reply_text' => esc_html__( 'Reply', 'bbpress' ),
), 'get_topic_reply_link' );
// Get the reply to use it's ID and post_parent
$topic = bbp_get_topic( bbp_get_topic_id( (int) $r['id'] ) );
// Bail if no reply or user cannot reply
if ( empty( $topic ) || ! bbp_current_user_can_access_create_reply_form() )
return;
$uri = '#new-post';
// Add $uri to the array, to be passed through the filter
$r['uri'] = $uri;
$retval = $r['link_before'] . '<a href="' . esc_url( $r['uri'] ) . '" class="bbp-topic-reply-link">' . $r['reply_text'] . '</a>' . $r['link_after'];
return apply_filters( 'bbp_get_topic_reply_link', $retval, $r, $args );
}
The only line I need to modify is:
$retval = $r['link_before'] . '<a href="' . esc_url( $r['uri'] ) . '" class="bbp-topic-reply-link">' . $r['reply_text'] . '</a>' . $r['link_after'];
Is there an easier way to phrase my new function to modify just this variable?
@casiepa – yeah I’ve ran the plugin and completely reset all user roles to default install settings.
The bbPress role doesn’t show up as a selectable role to assign the user, it just appears at the very bottom of their profile in the backend. Just like in the pic the original poster published.
I have no idea where it is being pulled in from. I’ll do a search in my DB and report back.
ok, so
AS A TEST ONLY –
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
Hi people,
I basically can’t get to show any topics on a custom theme that I’ve been making.
I think it has nothing to do plugins, in my custom theme when I call ‘bbp_has_topics()’ it returns the boolean false. But when I switch to the wordpress theme twenty fifteen, I get returned the boolean true and it basically shows the topic correctly, with all plugins turned on.
However my forums list get displayed correctly, and the topic detail page will only display the topic when I turn off the ‘bbp_show_lead_topic()’ as it by default only shows when that function return true which in my custom theme it doesn’t.
the function ‘bbp_has_topics()’ basically get influenced or something as soon as I switch to my custom theme. To be honest honest I have no clue what causes this action to influence that those bbp function, I was hoping someone here did.
Does anyone have any suggestions or have encountered this problem and knows what could possibly cause this problem?
@netweb
@brovashift
Ok I’ve done some testing.
bbpress uses the display_name as stored in wp_user table.
If you allow registration
ie – Dashboard>settings>membership – anyone can register
then yes, the user_nicename and the display_name in wp_user table are the same and the same as the username entered by the person registering.
If you don’t allow registration, and you add users manually
ie Dashboard>users>add new user
and you don’t enter the first and last name, then the user_nicename and display_name are the same
BUT if you enter the firstname and lastname, then the nice_name is the username, but the display_name is saved as firstname followed by lastname !
So a bit of inconsistency by WordPress.
Now display_name is all that we can play with in bbpress, and users can change their display_name under bbpress in the profile area.
So I plan to put a function in my style pack that will let the user choose what the default display_name is, and optionally disable users from creating a nickname and/or changing the default.
I would say maybe just place the default bbPress login widget instead of your themes custom one, or customize the widgets settings if it has an option to remove the modal login, or remove the deregister widget code that has possibly removed the default bbPress login widget.
Copy the default bbPress templates to a folder called bbpress in a child theme then you can edit the templates how you would like.
The files you are looking for is form-anonymous.php and form-reply.php.
Here is a guide that will explain this a little more.
https://codex.bbpress.org/themes/theme-compatibility/
Hi,
That’s probably coming from a plugin or your theme. Something is interfering.
Try to switch to a default theme and switch off all plugins except bbPress. Then switch them on one after the after to find the one causing this.
Pascal.
Hi,
From what you describe, I would think there is something with your theme.
Can you try switching to a default theme and then come back to us ?
Pascal.
bbPress uses the users username by default, a user can change their own profile to use first/last name if they wish via the “Display name” on the users edit profile screen.