I finally fixed my forum with another workaround.
I change template.php in topics folder, from
// Pretty permalinks, previously used
bbp_use_pretty_urls()`
// https://bbpress.trac.wordpress.org/ticket/3054
if ( false === strpos( $topic_link, ‘?’ ) ) {
$url = trailingslashit( $topic_link ) . bbp_get_edit_slug();
$url = user_trailingslashit( $url );
// Unpretty permalinks
} else {
$url = add_query_arg( array(
bbp_get_topic_post_type() => $topic->post_name,
bbp_get_edit_rewrite_id() => ‘1’
), $topic_link );
}`
I disable permalinks for edit of the topic when It’s Italian
// Pretty permalinks, previously used
bbp_use_pretty_urls()`
// https://bbpress.trac.wordpress.org/ticket/3054
if ( false === strpos( $topic_link, ‘?’ ) && strpos($topic_link, ‘/it/’) == false ) {
$url = trailingslashit( $topic_link ) . bbp_get_edit_slug();
$url = user_trailingslashit( $url );
// Unpretty permalinks
} else {
$url = add_query_arg( array(
bbp_get_topic_post_type() => $topic->post_name,
bbp_get_edit_rewrite_id() => ‘1’
), $topic_link );
}`
I hope this helps.
You can check the behavior on http://www.mischianti.org
Bye Renzo
Problem
I want to use bbpress in wordpress to create an anonymous forum.
In the current state, when you try to create a thread, your name and email address (private) are required. Also, there is a website input screen, though it is not required.
It also says, “The following HTML tags and attributes can be used. and
a href, blockquote cite=””, etc. are in blocks, and the HTML in those blocks can be used.
What I want to solve
I would like to remove the name, email address, and website fields, and disable the use of HTML tags.
Please let me know how to solve this.
Please help me.
What I have tried
I searched and searched, but couldn’t find anything.
ok reinstall wordpress and database didnt work :/
Maybe wordpress 5.9 updated something,
Can anyone suggest me a theme that allowed html formatting tool bar of bbpress work. (Only theme I know that have html tool bar is twenty-twenty one)
Or is there anyway I can enable html formatting tool bar for other theme? (Just make sure I have enable it in the setting but most themes do not seems to have it)
Thanks!
ok, so if my solution above does not work, your issue is site specific, so without visiting your site and an example I cannot give you code – in essence I can look at what the browser is receiving and see the correct code needed. You can contact me via my website
Contact me
and give me some access details, and I will try and help further.
However alternately if you know how to use FTP, you could try this
find
wp-content/plugins/bbpress/templates/default/bbpress/user-profile.php
transfer this to your pc and edit
you will see that line 16 says
<h2 class="entry-title">@<?php bbp_displayed_user_field( 'user_nicename' ); ?></h2>
delete this line and save
then 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
Then transfer the file you saved above and put in in the directory called bbpress that you created above, so you end up with
wp-content/themes/%your-theme-name%/bbpress/loop-single-reply.php
bbPress will now use this template instead of the original
this is a known bug.
either
if( !function_exists( 'bbpress_browser_supports_js' ) ){
function bbpress_browser_supports_js() {
echo '<script>document.body.classList.remove("no-js");</script>';
}
add_action( 'wp_footer', 'bbpress_browser_supports_js' );
}
Put this in your child theme’s function file –
ie wp-content/themes/%your-theme-name%/functions.php
where %your-theme-name% is the name of your theme
or use
Code Snippets
or
install
bbp style pack
which has the fix built in
Hello,
After recent update to bbPress 2.6.8 and then to 2.6.9, toolbar disappeared. Despite “Add toolbar & buttons to textareas to help with HTML formatting” is set. It’s too hard for forum users to edit HTML manually. The problem reproduces in Chrome, Edge and Firefox.
Screenshot is here https://imgur.com/a/McIo6p0
Is it possible to fix?
Thank you!
I think I get what you’re saying, but I’m not quite following what to do. I’m sure it’s easy. π
Would I just use– for example– an existing WP installation, and install the latest bbPress as a plugin? Then, once installed in WP as a plugin, I go to bbPress, dashboard > tools > … ?
I presume there will be an “update database” process. Cool. This will be interesting. Backup, of course. π
Thanks!
bbpress now requires wordpress, but you can set these two up with bbpress version 2.x, and then import the bbpress1 forum
so once installed go to
dashboard>tools>forums>import forums and select bbpress1
Hi there. I discovered bbPress circa 2007. I might have updated the version since, and most likely did. I probably stopped using it by 2010. I don’t know how to even determine what version it is (filename ?).
At that time, I was not using WordPress on that domain. I used bbPress as a standalone forum software.
Bottom line: is it possible to upgrade that installation? What would be my steps to at least salvage the db, perhaps install a WordPress and re-use the old bbPress. Quite honestly, just curious.
OK so this is what I got back this time from Elegant Themes (Divi), more promising:-
Hi Ollie π
I’m very sorry for the inconvenience, it is a known bug at the moment that the template does not work on the bbpress profile pages. Our dev team is aware of the issue and will fix it in future theme updates. π
So, please be advised at the current time bbPress does not work fully with Divi theme. I have asked when the fix will be and will advise as soon as I hear something firm.
Best,
Ollie
it may be a load order issue, try
#bbpress-forums #bbp-user-wrapper h2.entry-title {
display: none !important;
}
Hi,
I’ve tried adding this to the theme css and to the bbpress css and neither worked?
Thanks,
Tess
think this needs raising with Divi who say their theme works with bbpress.
If you get an answer, do post back here, it will help me help others
I would like to add a title banner to all my forum pages so that it is consistent with the rest of the website.
This page is an example of what I would like it to look like – wbc1.otiscreative.co.uk/forum-home/ – this is created with Divi though with shortcodes which doesn’t work so this is just for visual representation.
So, I think I am after a way to inject this title banner into the forum pages, perhaps using the functions.php file, I am not entirely sure but would really appreciate some guidance on how to crack this.
This is my current forum layout – wbc1.otiscreative.co.uk/forums/
Thanks so much,
Ollie
PS. I am using latest version of WP and bbPress.
Hi there,
I hope someone can help. I have an issue with these two bbPress pages.
See here example: wbc1.otiscreative.co.uk/forums/users/ollie-tubb/
It picks up the divi default formatting rather than the structure of the other pages, see example here: wbc1.otiscreative.co.uk/advice/finance/
It needs to sit in the same style template but I don’t know how to do this. I am using Divi theme but i am using the bbPress default set-up (not shortcodes).
Help would be very much appreciated.
Many thanks,
Ollie
PS. I am using latest version of WP and bbPress.
The changelog page https://codex.bbpress.org/releases/ is not mentioning version 2.6.8 nor 2.6.9. and links to blog are not working.
Would be handy if that would be accurate.
The blog is ok though.
Thanks.
bbpress (here and on your site) uses the gravatar system, so upload you pic to there
https://en.gravatar.com/
or for your site you can also use a wordpress upload plugin such as
WP User Avatars
it could be a theme or plugin issue
Themes
As a test switch to a default theme such as twentytwenty, and see if this fixes.
Plugins
If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users
Health Check & Troubleshooting
Then come back
Thank you Robin, it is a he said she said thing now. I didn’t think it was native to BBPress and just wanted to verify. I will dig deeper and see if there is a plugin that allowed it and go from there. Thanks for the response.
not in native bbpress, hence why I was asking how they were doing this – might be a buddypreess thing, or code added.
it could be a theme or plugin issue
Themes
As a test switch to a default theme such as twentytwenty, and see if this fixes.
Plugins
If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users
Health Check & Troubleshooting
Then come back
‘the recent update’ – which update ? bbpress 2.6.9 was released over 2 months ago.
I haven’t seen any capability changes in the last few releases
and where exactly are they changing this to blocked?