@casiepa
Hi Pascal, thanks to your advice, I managed to do exactly what I was trying to: an integration between a new application based on Custom Post Type (for games registration for a RPG club in Brussels) and integration with our bbPress Forum (I can show you if interested). One thing I could not achieve is changing the post date/time in order to “Up” the messages that are updated through the integration. I’ve tried updating Post_date, Post_Modified but without any luck. It also need to update the right column with Last Message Date displayed. any recommendation where to look into?
Thanks !
Hi Pascal,
a freelancer has builded a plug-in for me which works fine. I will send it to you by email. Perhaps you can use it for your bbPress Toolkit.
Regards
Jörg
Thanks for the detailed explanation @tweichart 🙂
This has been fixed for the upcoming bbPress 2.6
It was fixed via https://bbpress.trac.wordpress.org/changeset/6113
Hey guys,
just stumbled over a small 500 error in the functions file:
AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: [] operator not supported for strings in /var/www/vhosts/mydomain/wp-content/plugins/bbpress/includes/forums/functions.php:1854
Stack trace:
#0 /var/www/vhosts/mydomain/wp-includes/class-wp-hook.php(298): bbp_pre_get_posts_normalize_forum_visibility(Object(WP_Query))
#1 /var/www/vhosts/mydomain/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters('', Array)
#2 /var/www/vhosts/mydomain/wp-includes/plugin.php(515): WP_Hook->do_action(Array)
#3 /var/www/vhosts/mydomain/wp-includes/class-wp-query.php(1681): do_action_ref_array('pre_get_posts', Array)
#4 /var/www/vhosts/mydomain/wp-includes/class-wp-query.php(3238): WP_Query->get_posts()
#5 /var/www/vhosts/mydomain/wp-includes/class-wp-query.php(3347): WP_Query->query(Array)
#6 /var/www/vhosts/mydomain/wp-conten...
Should be fixeable, ln 1850-1854 is in the bbp_pre_get_posts_normalize_forum_visibility function and looks like this:
// Get any existing meta queries
$meta_query = $posts_query->get( 'meta_query' );
// Add our meta query to existing
$meta_query[] = $forum_ids;
adding an array check to ln 1850 should suffice (i do actually not know what one’s trying to achieve here, so this is just a quickfix):
$meta_query = is_array( $posts_query->get( 'meta_query' ) ) ? $posts_query->get( 'meta_query' ) : array( $posts_query->get( 'meta_query' ) );
side-note: wp version 4.7.3, bbpress version 2.5.12, php version 7.1.3
Cheers,
Toby
As soon as I renamed the post_name for the hardware image from “hardware” to “hardware-attachment” in wp_posts, I was able to use “hardware” as the forum slug in bbpress.
I found a filter that automatically adds “-attachment” to file slugs, so that file pages don’t automatically reserve slugs.
Really silly that it can happen though.
ok, two things
1. what does not working mean ?
2. html is included because that’s what you put in your thread as what you wanted !
Now I trying to change args of bbp_get_reply_admin_links (stored in bbpress/includes/replies/template.php)
Thats my hook
function hw_get_reply_admin_links ($args) {
$args = array (
‘before’ => ‘<div class=”list”>’,
‘after’ => ‘</div>’,
);
return $args;
}
add_filter (‘bbp_get_reply_admin_links’, ‘hw_get_reply_admin_links’ );
What’s wrong here?
Hi, i installed bbpress and i don’t know where can i change directing.
I want just to change the redirection after clicking on the username who created a topic / post .
Actually it direct me to : mystie.com/members/myusername/
I just need to change it : mystie.com/users/myusername/
How and where i can do that?
thank you very muich for help!
Hello,
I want to share my experience and some troubleshooting steps that I have to learn from bbPress so can you suggest me that can I upload the post on your forum or not.
Hello,
I am looking to change color of “text” and I tried to it by using CSS but it can’t work, but when I use the instruction that you provide in your thread then my problem get resolved.
Was due to an image upload with hardware as the file name. Doesn’t seem right that bbpress doesn’t have its own “namespace” or taxonomy (sorry not wp pro here). Or am I just missing something?
Hello,
I was creating a forum in the admin, and after publishing, the slug “hardware” had a -2 on it, so became hardware-2
There’s no other forum with the same slug, so I don’t understand why its adding the -2 on it.
So my question is: How do I avoid slug conflicts?
I have a woocommerce category called “hardware” as well, but even trying to change that to “hardwares” I still cannot use “hardware” without the “-2” for the forum.
Are bbpress’ slugs and terms not “segmented” under “/forums”?? Can I not have a “hardware” shop category and a “hardware” forum?
Please advise!
WordPress 4.7.3
bbPress 2.5.12
Everything was working fine with WooCommerce 2.6.14. I had forum root set to ‘community’ and I created a page with the slug ‘community’. When navigating to /community WP was displaying my page.
After updating to WooCommerce 3.0.1 WP now displays the forum root (archive-forum.php) instead of the my custom page (page-community.php).
If I switch to storefront or any of the recent Twenty * themes the problem goes away. If I use my theme and disable all other plugins, the problem persists. So this seems to be a conflict between my theme and WooCommerce that is causing this issue.
I can resolve the issue by changing either the forum root or my page slug but I would prefer not to do that. Any ideas on how I might be able to resolve this and keep my URLs intact?
Do you happen to have the answer to this as well…?
It is WooCommerce related, not bbPress though.
I would like to change the color of the text when filling out username.
Through WooCommerce I have a page ‘My account’ and in it two text boxes. One for username, one for password.
The text on my site is white, the background of these fields also.
So when you type name or passwords, it’s invisable.
I would like to add code to custom CSS to solve this.
What would be the code for this?
I think the element is called something like this…
input#username.woocommerce-Input.woocommerce-Input–text.input-text.
(I am slowly learning how CSS works, tried to do it myself but it didn’t work…)
Yes its work i have only change the bbPres version on bbPress version 2.6-beta-6251
thank you !!!
That worked. Tesseract does have an area for “customizing additional CSS” and that is where I put the code you entered.
Incidentally, is there a good plugin to customize my bbPress look and feel?
Thank you very much.
I have the exact same issue. However, I am beginner, and I do not understand where to locate or modify the style.css. Is this a theme or a bbpress thing?
I seem to be missing a menu item appearance>>css editor, I suspect that this is a theme-specific issue. I am using the Tesseract theme.
What could I do?
Hi @myrax
Should be something like this:
#bbpress-forums fieldset.bbp-form legend {
background-color: #121212;
color: #DDDDDD;
}
Hi @nesiditsa
Nice one ! I didn’t find it 🙂
@dayan89
The above mentioned fix has been added to bbPress 2.6. We are at the beta 2 (that you could download from https://bbpress.org/download/ ) so we are close to releasing the real 2.6 . If you have a test environment please switch to 2.6 beta already and see that it works !
One extra info : If you are running PHP 7.x and you have 2.6 alpha, please install 2.6 beta 2 from https://bbpress.org/download/ and let me know if it’s fixed.
@cvince99 and @bjoernschiffer
Please provide your WP version, bbPress version and other info e.g. :
WP version 4.7.3
bbPress version 2.6-beta-6251
Theme Twenty Seventeen 1.1
And if you can get to this :
PHP version 5.6.28
DB info DB charset: utf8 / DB collation: utf8_general_ci
Thanks.
Hi, dayan89! You should do corrections in core code of bbpress – https://bbpress.trac.wordpress.org/changeset/5338. After that it needs to run “Recalculate the position of each reply” repair tool (Пересчитать положение каждого ответа – in Russian).
ihave the same problem what can i do ?
Fatal error: Uncaught Error: [] operator not supported for strings in C:\xampp\htdocs\wp-content\plugins\bbpress\includes\forums\functions.php:1800 Stack trace: #0 C:\xampp\htdocs\wp-includes\class-wp-hook.php(298): bbp_pre_get_posts_normalize_forum_visibility(Object(WP_Query)) #1 C:\xampp\htdocs\wp-includes\class-wp-hook.php(323): WP_Hook->apply_filters(”, Array) #2 C:\xampp\htdocs\wp-includes\plugin.php(515): WP_Hook->do_action(Array) #3 C:\xampp\htdocs\wp-includes\class-wp-query.php(1681): do_action_ref_array(‘pre_get_posts’, Array) #4 C:\xampp\htdocs\wp-includes\class-wp-query.php(3238): WP_Query->get_posts() #5 C:\xampp\htdocs\wp-includes\class-wp.php(617): WP_Query->query(Array) #6 C:\xampp\htdocs\wp-includes\class-wp.php(735): WP->query_posts() #7 C:\xampp\htdocs\wp-includes\functions.php(955): WP->main(Array) #8 C:\xampp\htdocs\wp-admin\includes\post.php(1072): wp(Array) #9 C:\xampp\htdocs\wp-admin\includes\class-wp-posts-list-table.php(142): wp_edit_posts_query() #10 C:\xampp\htdocs\wp-admin\edit.php(180): WP_Po in C:\xampp\htdocs\wp-content\plugins\bbpress\includes\forums\functions.php on line 1800
First pass at diagramming bbPress Theme Compat. Have not included info at https://codex.bbpress.org/themes/theme-compatibility/template-hierarchy-in-detail/ – haven’t read the source code for it nor played with those yet.
SVG embedded in HTML – use Ctrl/Cmd + to zoom in and Ctrl/Cmd - to zoom out. Right click + drag right/left as needed after zooming in.
The arrows showing template partials pointing to the other partials pointing to the main template file/s could be confusing for many. Possibly, itemizing each main template file in association to the partials would be clearer e.g.
/theme-folder
|__ archive-forum.php
|__ /bbPress folder
|__ content-archive-forum.php
|__ form-search.php
|__ loop-forums.php
|__ feedback-no-forums.php
Thanks to this thread: https://bbpress.org/forums/topic/how-do-i-change-the-color-of-the-text-and-box/ I was able to change a lot of colors, since the theme of my site is dark background with white letters.
There is one code I’m still looking for.
When you reply to a topic, above the large reply field it says ‘Reply to [name of topic].
This text is still in white and it needs to be black.
Can anyone provide me with the right code so I can add this to the custom CSS?
Much appreciated!
I’m trying a plugin called Gator Cache to speed up the site since I can’t find another caching plugin that works with bbpress.
FYI